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
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    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
    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. order delivery date addon - date not showing in checkout
    By jagall in forum Addon Shipping Modules
    Replies: 4
    Last Post: 19 Oct 2017, 09:09 PM
  2. Sales or Specials with Time and Date (instead of date only) Expiration
    By townsend2009 in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 29 Jan 2015, 07:56 PM
  3. Expected date products - change date for all.
    By navido in forum General Questions
    Replies: 2
    Last Post: 8 Nov 2010, 06:06 PM
  4. Replies: 5
    Last Post: 17 Mar 2010, 06:36 PM
  5. 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

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR