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 »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • TimeZone Issues on Joomla
Pages: [1] 2

Author Topic: TimeZone Issues on Joomla  (Read 2127 times)

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
TimeZone Issues on Joomla
March 20, 2014, 08:00:57 am
Hi There I wounder if some has had this problem and fixed it. Civicrm system time is not correct to the UK time zone i wounder if it is possible to correct this. As all the change logs are in the incorrect time so it is difficult to track record changes.


Many Thanks


Jason Tattersall

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: TimeZone Issues on Joomla
March 20, 2014, 11:57:33 am
This actually isn't a CiviCRM issue, but a server issue. You can use a local php.ini file in your html root directory to override the timezone to the appropriate setting.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 20, 2014, 12:40:32 pm
Thanks for this i Can't locate this file is this in the sub domain or else where i have use search to find it but nothing

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: TimeZone Issues on Joomla
March 20, 2014, 12:50:54 pm
The file doesn't actually exist. You have to create a php.ini file, and it should have the following in it:

date.timezone="your_timezone"

The list of timezone strings can be found here: http://www.php.net/manual/en/timezones.php


If you're using a subdomain, it can go in the folder that points to, otherwise depending on your hosting provider it may be the public_html, or httpdocs, or similar folder.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 20, 2014, 01:05:51 pm
so it a just need to make new php.ini named ? with only this in it date.timezone="Europe/London"

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: TimeZone Issues on Joomla
March 20, 2014, 01:16:38 pm
Correct. If your hosting provider doesn't support the local php.ini, then it may work to add a slightly different version of that command to the Civicrm settings file. The other way is better though.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 20, 2014, 01:24:56 pm
what dose the file have to be named

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 20, 2014, 01:31:09 pm
dose it need a header on it

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: TimeZone Issues on Joomla
March 20, 2014, 01:35:54 pm
Nothing special. The file is just named php.ini, and it'll just have the PHP directives in it. No <?php or other headers necessary.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 20, 2014, 05:24:44 pm
MY hosting Tech support Team have done this but not work is there another way to sort this out

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: TimeZone Issues on Joomla
March 20, 2014, 07:31:46 pm
I would note that both Drupal and Wordpress CiviCRM implementations set the timezone in mysql - so that at least you see timestamp fields rendered in your timezone rather than the server (this can also help with managing civimail sending time - especially where users from more than one timezone use the site).

If you know a bit about how Joomla! determines the timezone it would be good to add to the Joomla! implementation - does Joomla! only use server time zone- or is it configurable at the site or user level?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 21, 2014, 01:45:15 am
I know very little about joomla I use it brace Drupal will not sent new user email within civicrm I think the time is set to uk time for all

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: TimeZone Issues on Joomla
March 21, 2014, 03:50:34 am
Joomla does allow both a default global and user time zone setting. The issue is that those settings do not override the server setting. Unless you are accessing the Joomla method for determining the time, it won't matter what Joomla's settings are.

Do you know what timezone the server is in/thinks it's in?
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 21, 2014, 03:53:05 am
it is a usa company so i think usa


my joomla is set to uk

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: TimeZone Issues on Joomla
March 21, 2014, 03:55:44 am
my hosting company is based in USA so it will be usa time

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • TimeZone Issues on Joomla

This forum was archived on 2017-11-26.