Author Topic: date.timezone  (Read 7247 times)

Offline younes-ea

  • Newbie
  • *
  • Posts: 5
date.timezone
« on: May 23, 2013, 11:06:02 AM »
Hello,

I'm trying to install roundcube but I get this error date.timezone:  NOT OK(empty value detected).
How to resolve this issue

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: date.timezone
« Reply #1 on: May 23, 2013, 12:06:51 PM »
Set a date.timezone in the php.ini.

Offline younes-ea

  • Newbie
  • *
  • Posts: 5
Re: date.timezone
« Reply #2 on: May 24, 2013, 08:09:29 AM »
I heave already a time zone look:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = ''Europe/Amsterdam''

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: date.timezone
« Reply #3 on: May 24, 2013, 11:23:42 AM »
Do a phpinfo(); in the same directory as RoundCube and post what it says for date.timezone.

Offline younes-ea

  • Newbie
  • *
  • Posts: 5
Re: date.timezone
« Reply #4 on: May 24, 2013, 11:40:56 AM »
still the same problem

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: date.timezone
« Reply #5 on: May 24, 2013, 01:28:41 PM »
What does it say for date.timezone on the php info?

Offline younes-ea

  • Newbie
  • *
  • Posts: 5
Re: date.timezone
« Reply #6 on: May 25, 2013, 05:57:29 AM »
it says no value

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: date.timezone
« Reply #7 on: May 25, 2013, 12:30:47 PM »
are you sure you editing the correct php.ini file (the path will be listed on the phpinfo() page) and have you restarted/reloaded your webserver since you changed the config?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline CLDistro

  • Newbie
  • *
  • Posts: 3
Re: date.timezone
« Reply #8 on: May 27, 2013, 05:05:18 AM »
Below solution is for people who use standalone (no Apache etc.) PHP 5.2.17, 5.3.25 with IIS 7.5 / 8 ONLY

I used to have this trouble for 3 days straight, looking all over but no help, if you set the date.timezone in the php.ini and still no luck, make sure the PHP version you use is Threat Safe, even though PHP.net recommend the IIS server user use non-Threat Safe version.

I have setup dozens of server using PHP Threat Safe on all the PHP-based application, trust me, non-Threat Safe version on IIS will even cost the extension not to respond to the PHP application, in this case, Roundcube Mail.

Best install solution, PHP 5.3.25 with MySQL 5.6.11 (newest as of May 27th, 2013) guarantee no problem...

Offline younes-ea

  • Newbie
  • *
  • Posts: 5
Re: date.timezone
« Reply #9 on: May 31, 2013, 07:43:50 AM »
It I configured perfectly and I rebooted the system.
And I'm using the newest version for mysql and php.