Message list empy after upgrade ( php.ini issue ) - solved

Report bugs and workarounds
Post Reply
mayk
Posts: 3
Joined: 24 Jul 2017 10:29

Message list empy after upgrade ( php.ini issue ) - solved

Post by mayk »

Hi,

I just wanted to drop this info for others when they encounter this problem. After upgrading from version 3.0.2.3 to 3.0.2.6 i encountered the problem that the GUI was only displaying time , message count and nothing more. The box is a from origin a clean centos bootstrapped with EFA.

Debugging the issue led me to this error : PHP Notice: date_default_timezone_set(): Timezone ID 'GST-4' is invalid in /var/www/html/mailscanner/functions.php on line 137
The upgrade log ( located in /var/log/EFA ) and the apache logging ( /var/log/httpd ) was complaining about this.

First i tried the centos way of setting my timezone on the system :
mv /etc/localtime /etc/localtime.bak
and creating a symlink : ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
Please note, my timezone can be different then yours..

This did not solve the issue.

Next ( since it's php complaining ) i checked /etc/php.ini and it contained the setting GST-4 , this is a invalid setting. I commented out this line , rebooted the EFA box and i'm a happy camper again.

Hope this helps others running into this.

Kind regards

Mayk
Post Reply