Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41
  1. #1
    Join Date
    Jan 2014
    Location
    aiken, sc
    Posts
    22
    Plugin Contributions
    0

    Default It is not safe to rely on the system's timezone settings. You are *required* to use t

    USPS shipping module started giving this message during checkout:"We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.
    If you prefer to use USPS as your shipping method, please contact us for assistance.
    (Please check that your Zip Code is entered correctly.)"

    I removed that version (installed March 2013) and installed the 7/28/2013 version and now when I click "checkout," it goes to a blank page.

    This is the error log: [24-Jan-2014 08:29:43 America/Chicago] PHP Warning: 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 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/ladolce/public_html/store/includes/languages/english.php on line 16

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    That error message is telling you that your server's PHP configuration is incomplete.
    http://www.zen-cart.com/showthread.php?208662-date-timezone-patch


    There's also a new USPS module, posted today. Best to use that for correct USPS quotes.
    .

    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
    Jan 2014
    Location
    aiken, sc
    Posts
    22
    Plugin Contributions
    0

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    Quote Originally Posted by DrByte View Post
    That error message is telling you that your server's PHP configuration is incomplete.
    http://www.zen-cart.com/showthread.php?208662-date-timezone-patch


    There's also a new USPS module, posted today. Best to use that for correct USPS quotes.
    Thank you for your response. I tried both security patches (the second one using America/New_York as my time zone), and then I called Host Gator. They reconfigured date.timezone in PHP configuration, but I'm getting this:

    [24-Jan-2014 15:13:33 America/Chicago] PHP Warning: 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 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/ladolce/public_html/store/includes/languages/english.php on line 16

  4. #4
    Join Date
    Jan 2014
    Location
    aiken, sc
    Posts
    22
    Plugin Contributions
    0

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    Update: I updated the USPS module to the one that was released today and Hostgator fixed the timezone settings (thanks for the suggestion!). I am no longer receiving errors in my debug files, but now when I try to check out (using any address), I get the following message:
    Not Available At This Time
    Sorry, we are not shipping to your region at this time.
    Please contact us for alternate arrangements.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    Go to the USPS shipping module and EDIT it ...

    Down at the bottom, set the Debug to Log ...

    Now try to go to your checkout_shipping ...

    Next, could you please Zip the Debug Log that you will find in:
    /logs

    and add it as an attachment to your next post please?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2014
    Location
    aiken, sc
    Posts
    22
    Plugin Contributions
    0

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    I set the USPS to debug/logs and tried to check out. There were no more debug files in the log manager (they stopped once Hostgator changed the timezone settings), but I am attaching the previous ones. Instead of debug files, I am I am getting this message:
    Not Available At This Time

    Sorry, we are not shipping to your region at this time.
    Please contact us for alternate arrangements.
    debug.zip

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    If you view your directory:
    /logs

    you should see a Debug log with a name similar to:
    SHIP_usps_Debug_01242014192729_US_33136_0lb_2oz.log

    Zip that USPS Shipping debug log file and attach it to your next post, thanks ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jan 2014
    Location
    aiken, sc
    Posts
    22
    Plugin Contributions
    0

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    There are only 3 files in the /logs directory (I deleted the previous ones earlier in the day): index.html, index.php, and .htaccess. I double checked and I definitely have debug mode/logs on

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    Check that you edited the USPS shipping module in your Zen Cart Admin and set the Debug to Logs ...

    Then, go to the checkout_shipping page on your store ...

    Next, in your FTP program, make sure to refresh the directory:
    /logs

    to see the newest logs that are created ...

    And see if you now have a USPS shipping log that looks like:
    SHIP_usps_Debug_xxxsomething_here_xxx.log
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: It is not safe to rely on the system's timezone settings. You are *required* to u

    Quote Originally Posted by lauragibbons116 View Post
    There are only 3 files in the /logs directory (I deleted the previous ones earlier in the day): index.html, index.php, and .htaccess
    NOTE: These three files should ALWAYS be in the directory:
    /logs

    and you should put them back in there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 5 123 ... LastLast

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. 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
  5. Replies: 5
    Last Post: 27 Feb 2012, 08:56 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