Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    115
    Plugin Contributions
    0

    Default PHP 5.3 - Warning: date() [function.date]

    Freshly downloaded installed ZC 1.3.8.
    MacBook Pro - OSX Snow Leopard
    Apache server, PHP 5.3.1, MySql 5.1.44

    Prior to ZC Install, ZC Files were patched for PHP 5.3 per:
    http://www.zen-cart.com/forum/showthread.php?t=140960

    Install and set up completed with no issues. The Storefront and the sample products, etc. all display fine. Appears to work correctly - add products to cart okay, etc.

    However, attempting to load the ZC Admin only displays the following:



    Warning: 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 'America/New_York' for 'EDT/-4.0/DST' instead in /Users/MyAcct/Sites/PHP Sites/zen53/admin/includes/languages/english/email_extras.php on line 40

    Warning: Cannot modify header information - headers already sent by (output started at /Users/StrideR/Sites/PHP Sites/zen-Basic-PHP53/admin/includes/languages/english/email_extras.php:40) in /Users/MyAcct/Sites/PHP Sites/zen53/admin/includes/init_includes/init_templates.php on line 36

    Warning: 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 'America/New_York' for 'EDT/-4.0/DST' instead in /Users/MyAcct/Sites/PHP Sites/zen53/includes/functions/specials.php on line 54

    Warning: 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 'America/New_York' for 'EDT/-4.0/DST' instead in /Users/MyAcct/Sites/PHP Sites/zen53/includes/functions/specials.php on line 29

    Warning: 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 'America/New_York' for 'EDT/-4.0/DST' instead in /Users/StrideR/Sites/PHP Sites/zen53/includes/functions/featured.php on line 53

    Warning: 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 'America/New_York' for 'EDT/-4.0/DST' instead in /Users/MyAcct/Sites/PHP Sites/zen53/includes/functions/featured.php on line 29

    Warning: Cannot modify header information - headers already sent by (output started at /Users/StrideR/Sites/PHP Sites/zen-Basic-PHP53/admin/includes/languages/english/email_extras.php:40) in /Users/MyAcct/Sites/PHP Sites/zen53/admin/includes/functions/general.php on line 21



    Anyone have any suggestions?

  2. #2
    Join Date
    Jan 2004
    Posts
    59,816
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: PHP 5.3 - Warning: date() [function.date]

    Fix your date.timezone setting in your php.ini
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Aug 2008
    Posts
    115
    Plugin Contributions
    0

    Default Simple!

    Dr. Byte, ....what would we do without you and the others on the forum?!? A simple fix but thanks so much for nudging me in the right direction!

 

 

Similar Threads

  1. Replies: 5
    Last Post: 17 Mar 2010, 06:36 PM
  2. Easy Populate and the Date added updated to todays date issue.
    By cyphercys in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 9 Mar 2010, 04:26 AM
  3. Change Gregorian Date To Shamsi(Jalali) Date
    By Persain-Dev in forum General Questions
    Replies: 5
    Last Post: 3 Oct 2009, 01:59 PM
  4. Account Created date showing as todays date
    By PatF in forum Managing Customers and Orders
    Replies: 10
    Last Post: 20 Nov 2008, 03:04 PM
  5. Quick Question: Date Expected vs Date Added
    By ymbd in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 16 Aug 2008, 05:00 PM

Bookmarks

Posting Permissions

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