Roundcube Community Forum

Release Support => Release Discussion => Topic started by: philip_rhoades on June 16, 2012, 02:24:59 PM

Title: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 16, 2012, 02:24:59 PM
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.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: SKaero on June 16, 2012, 02:36:21 PM
So your saying that settings is just a white page? Make sure the logs folder is writable.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 17, 2012, 05:49:28 AM
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.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: SKaero on June 17, 2012, 09:09:12 AM
Hmm, anything in server Apache errors? Any plugin enabled? In the RoundCube installer does it say date.timezone is set?
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 17, 2012, 02:23:28 PM
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.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: SKaero on June 17, 2012, 02:47:37 PM
Ah, I did have this problem with one of my test installs. You need to set date.timezone in your php.ini.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 18, 2012, 01:38:12 AM
/etc/php.ini was still set from a previous debugging to:

date.timezone = "Australia.Sydney"

Thanks,

Phil.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: SKaero on June 18, 2012, 09:53:21 AM
If you create a test.php file with the following:
Code: [Select]
<?php phpinfo(); ?>
What does it show the date.timezone as?
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 19, 2012, 11:13:12 AM
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.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 19, 2012, 11:41:58 AM
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.
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: SKaero on June 19, 2012, 12:12:11 PM
I just noticed that its "Australia.Sydney" it should be "Australia/Sydney".
Title: Re: v0.8-rc - fixes problem with display of some HTML mails but "Settings" fails
Post by: philip_rhoades on June 22, 2012, 03:22:56 PM
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.