Hi, PHP is up to date and I've kept the database settings the same. What could possibly be causing the following error when I try to open the site?
Please note that the manager is working.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: date() [function.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 'Europe/London' for 'BST/1.0/DST' instead
Error type/ Nr.: Warning - 2
File: /var/www/vhosts/5gcomms.com/httpdocs/manager/includes/document.parser.class.inc.php(814) : eval()'d code
MySQL: 0.0128 s (9 Requests)
PHP: 0.0607 s
Total: 0.0735 s
Your PHP needs to have a default_date_timezone setting.
You can also set this in the .htaccess file if you can't access the php.ini file or use a custom php.ini file.
SetEnv TZ Europe/Berlin
php_value date.timezone "Europe/Berlin"