CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • 4.4.5 Wordpress - timezone sync
Pages: [1]

Author Topic: 4.4.5 Wordpress - timezone sync  (Read 1129 times)

pcoutas

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.32
4.4.5 Wordpress - timezone sync
May 05, 2014, 06:27:00 pm
Just upgraded my WordPress CiviCRM install to 4.4.5. I'm now getting an error message about timezones being out of sync between CiviCRM and MySQL. The help documentation points at: http://wiki.civicrm.org/confluence/display/CRMDOC/checkMysqlTime

The first dot point helpfully suggests:
Quote
PHP and MySQL may be running on different servers, and the clocks may be out-of-sync. Configuring automatic clock synchronization is the best solution.

However... I don't know how to configure "automatic clock synchronization". Is this something within the CiviCRM admin console, or outside? I've gone through all the settings info but can't seem to find what I'm looking for :)


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 4.4.5 Wordpress - timezone sync
May 13, 2014, 05:50:57 am
Now that the timezone is properly carried to CiviCRM from WordPress, in order to fix the mismatch error, you need to edit the timezone setting in wp-settings.php. It ships with:

Code: [Select]
    date_default_timezone_set( 'UTC' );
So just change that UTC to your actual time zone.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

pcoutas

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.32
Re: 4.4.5 Wordpress - timezone sync
May 13, 2014, 04:31:49 pm
Huzzah! Too easy! Thanks!! :)

marxistvegan

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: drupal
  • MySQL version: 14.14
  • PHP version: php5
Re: 4.4.5 Wordpress - timezone sync
May 29, 2014, 01:21:18 pm
hey all, I just did the upgrade fro 4.4.3 to 4.4.5 on a wordpress instance aswell and the thing is Wordpress is set in General to UTC +0 and the wp-settings.php is set to UTC is that the same or what do I need to reference in the wp-settings.php for UTC +0 ?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 4.4.5 Wordpress - timezone sync
May 30, 2014, 03:30:33 am
Now that the timezone is properly carried from WordPress to CiviCRM, in order to fix the mismatch error, you need to edit the timezone setting in wp-settings.php. Currently, the following setting is used:

Code: [Select]
    date_default_timezone_set( 'UTC' );
Adjust the UTC to whatever your time zone is.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • 4.4.5 Wordpress - timezone sync

This forum was archived on 2017-11-26.