<![CDATA[ Move modx to new server - parse error - My Forums]]> https://forums.modx.com/thread/?thread=86039 <![CDATA[Move modx to new server - parse error]]> https://forums.modx.com/thread/86039/move-modx-to-new-server---parse-error#dis-post-474385
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
Line: 4

Parser timing
MySQL: 0.0128 s (9 Requests)
PHP: 0.0607 s
Total: 0.0735 s]]>
winton Aug 08, 2013, 10:13 AM https://forums.modx.com/thread/86039/move-modx-to-new-server---parse-error#dis-post-474385
<![CDATA[Re: Move modx to new server - parse error]]> https://forums.modx.com/thread/86039/move-modx-to-new-server---parse-error#dis-post-474447
http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
http://php.net/manual/en/function.date-default-timezone-set.php

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
or
php_value date.timezone "Europe/Berlin"
]]>
sottwell Aug 08, 2013, 06:24 PM https://forums.modx.com/thread/86039/move-modx-to-new-server---parse-error#dis-post-474447