Roundcube Community Forum

 

v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails

Started by philip_rhoades, June 16, 2012, 02:24:59 PM

Previous topic - Next topic

philip_rhoades

People,
Is anyone else seeing this?  Is it a known problem?  The screen is blank and there are no error messages in any of the logs . .

Thanks,

Phil.

SKaero

So your saying that settings is just a white page? Make sure the logs folder is writable.

philip_rhoades

Correct - I changed  the permissions on the log dir to 777 and the error file to 666 but it did not make any difference . .

Thanks,

Phil.

SKaero

Hmm, anything in server Apache errors? Any plugin enabled? In the RoundCube installer does it say date.timezone is set?

philip_rhoades

There are errors of the form:

[17-Jun-2012 18:17:02 UTC] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Antarctica/Macquarie' for 'EST/10.0/no DST' instead in /home/ssl/webmail.0.8-rc/program/include/rcube_mdb2.php on line 606

So I restored from the currently working config (v0.7.2?):

$rcmail_config['timezone'] = +10;

but I still get the timezone errors and the settings no-show . .

Thanks,

Phil.

SKaero

Ah, I did have this problem with one of my test installs. You need to set date.timezone in your php.ini.

philip_rhoades

/etc/php.ini was still set from a previous debugging to:

date.timezone = "Australia.Sydney"

Thanks,

Phil.

SKaero

If you create a test.php file with the following:

<?php phpinfo(); ?>

What does it show the date.timezone as?

philip_rhoades

Interesting . . :

date/time support   enabled
"Olson" Timezone Database Version   0.system
Timezone Database   internal
Default timezone   Antarctica/Macquarie

- why isn't Australia.Sydney being recognised?

Thanks,

Phil.

philip_rhoades

I restarted apache and now see:

date/time support   enabled
"Olson" Timezone Database Version   0.system
Timezone Database   internal
Default timezone   Antarctica/Macquarie

Directive   Local Value   Master Value
date.default_latitude   31.7667   31.7667
date.default_longitude   35.2333   35.2333
date.sunrise_zenith   90.583333   90.583333
date.sunset_zenith   90.583333   90.583333
date.timezone   Australia.Sydney   Australia.Sydney

Thanks,

Phil.

SKaero

I just noticed that its "Australia.Sydney" it should be "Australia/Sydney".

philip_rhoades

SKaero,

Yes!  That fixed it - thanks!  I wonder why I didn't have the same problem with earlier versions?

BTW, I tried to add "- FIXED" to the Subject line but there must be a character limit . .

Regards,

Phil.