We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40288
    • 4 Posts
    Hi All,

    Please can someone assist. The site www.theodintour.co.za was working perfectly yesterday.
    This morning however i get the following error while trying to login to the manager:

    ---------------------------------------------------------------------


    <b>Warning</b>: date() [<a href='function.date'>function.date</a>]: 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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in <b>/home/theodint/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code</b> on line <b>41</b>



    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/theodint/public_html/manager/includes/document.parser.class.inc.php:801) in <b>/home/theodint/public_html/manager/processors/login.processor.php</b> on line <b>264</b>

    Location: http://www.theodintour.co.za/manager/

    ---------------------------------------------------------------------

    Any assistance would be greatly appreciated

    Garth
      • 16278
      • 928 Posts
      Your host has perhaps updated the version of PHP you are using. Since version 5.1.0, you get a warning if you use a date() function without having specified your timezone, so maybe some customization in your manager is using such a function, and is now deemed unacceptable.
      See http://php.net/manual/en/function.date-default-timezone-set.php


      The following old forum thread may help: http://forums.modx.com/thread/33294/solved-warning-strtotime-function-strtotime-in-evo-1-01-on-php-5-3-0


      What version of MODX are you using?

      :) KP