Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default strtotime(): It is not safe to rely on the system's timezone settings.

    I can't login to admin I just get this message

    Warning: strtotime(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /homepages/16/d254847599/htdocs/chintex/catalog/uploads/login.php on line 13

    I have looked at login.php but there is nothing about timezones

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Can't login to admin

    The problem is not with login.php

    The problem is that your server's php.ini settings don't properly include timezone settings.
    Contact your hosting company to provide assistance.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: strtotime(): It is not safe to rely on the system's timezone settings.

    It was OK yesterday and the other Zen Carts I have on the same server are OK

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: strtotime(): It is not safe to rely on the system's timezone settings.

    Alright. If it was OK yesterday, then find out what changed on the server between yesterday and today.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: strtotime(): It is not safe to rely on the system's timezone settings.

    Dear Sir, I got similar problem and currently can not login the administrotor site. When I open the login page I got the following message:


    Warning: strtotime() [function.strtotime]: 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/Denver' for 'MST/-7.0/no DST' instead in /home/content/12/8560212/html/myadmin/login.php on line 13

    I had searched the fourm but have not got a clear ideas. Can anyone help?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: strtotime(): It is not safe to rely on the system's timezone settings.

    You need to set the timezone settings in your server's PHP configuration.
    Normally the server administrator is the one who must do this. Contact your host for tech support.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 13
    Last Post: 8 Feb 2016, 05:13 PM
  2. Replies: 1
    Last Post: 18 Dec 2015, 12:46 AM
  3. v151 PHP warning: It is not safe to rely on the system's timezone settings.
    By cseright7 in forum General Questions
    Replies: 12
    Last Post: 24 Oct 2015, 05:46 AM
  4. v151 It is not safe to rely on the system's timezone settings. You are *required* to use t
    By lauragibbons116 in forum Built-in Shipping and Payment Modules
    Replies: 40
    Last Post: 25 Jan 2014, 02:13 AM
  5. v150 Warning: strtotime(): It is not safe to rely on the system's timezone settings.
    By Sanguinarius in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 29 Jul 2013, 11:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg