0
Welcome Guest! Login
0 items Join Now

Warning:strtotime(): it is required....etc

  • Warning:strtotime(): it is required....etc

    Posted 13 years 11 months ago
    • Found the front end of my site blank ( white screen) after hours on the Panacea forum determined it was some how related to php errors. Reinstalled Ganrty frame work v3.1.13 . That got the front end back but now either Joomla or Gantry is complaining about the "required" use date.timezone setting.

      Here is a snippet of the warning:
      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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /Library/WebServer/Documents/nortonsignanddesign/libraries/joomla/utilities/date.php on line 245

      Any ideas on how to correct this?

      P.S. If it is worth anything, the Panacea Joomla Template administration shows the now cuurent version as Gantry v3.1.13 ????. What do the question marks indicate?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Warning:strtotime(): it is required....etc

    Posted 13 years 11 months ago
    • I'm assuming your using a local server setup as you didn't provide a link to a live site. Are you using PHP 5.3.x ?
  • Re: Warning:strtotime(): it is required....etc

    Posted 13 years 11 months ago
    • I am using PHP 5.3.4 on a LAN based os x server. I can grant you access if it helps.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Warning:strtotime(): it is required....etc

    Posted 13 years 11 months ago
    • slovictory wrote:
      I am using PHP 5.3.4 on a LAN based os x server. I can grant you access if it helps.
      This is a Joomla issue:
      strtotime
      You will get a warning like this:

      Strict standards: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Paris' for '2.0/DST' instead in filepath on line linenumber

      The solution is to set date.timezone in php.ini:

      [Date]
      ; Defines the default timezone used by the date functions
      date.timezone = "Europe/Brussels"
      Check the full info here -> http://ezpedia.org/en/project/php5_technical_notes
      and contact your hosting provider to help you sort this out.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Warning:strtotime(): it is required....etc

    Posted 12 years 8 months ago

Time to create page: 0.085 seconds