Thread: date.timezone

Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    4
    Plugin Contributions
    0

    Default date.timezone

    Zen 1.3.9e
    Fresh Install
    Server 2008
    PHP 5.3

    When going through the install, and I click here from the first page, I get "ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing." I have done what I thought was the editing of the php.ini in the PHP directory to set the date.timezone to:

    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    ;date.timezone = "America/Chicago"

    I have tried different combinations, and restarted the server a few times after changes. I still get the same result. I am sure it is something that is very simple, but I am a newbie to PHP.

    Any help is apprieciated.

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

    Default Re: date.timezone

    Try taking out the ";" from the beginning of the line, since it's making the line get treated as a comment instead of actually using what you've put there.
    .

    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
    Jul 2005
    Posts
    4
    Plugin Contributions
    0

    Default Re: date.timezone

    I thought I had done that. But that fixed it. Thanks so much.

  4. #4
    Join Date
    Sep 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: date.timezone

    I am having the same issue. My problem is not fixed even though I modified php.ini. In fact it seems like timezone is set properly because I can see default time zone is set, if I do phpinfo();


    I have been working on this for a bit of time, but I haven't been able to install zen-cart yet. Does anyone have any idea?
    Last edited by yuto; 23 Sep 2010 at 01:12 AM.

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

    Default Re: date.timezone

    If you're having problems with the PHP configuration on your server, you should be talking to your hosting company for help.
    .

    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.

  6. #6
    Join Date
    Jan 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: date.timezone

    hi yuto,

    you can fix it by going to zc_install/includes/application_top.php and add following line on the top:

    ini_set('date.timezone', 'America/Vancouver');

  7. #7
    Join Date
    Oct 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: date.timezone

    Quote Originally Posted by yuto View Post
    I am having the same issue. My problem is not fixed even though I modified php.ini. In fact it seems like timezone is set properly because I can see default time zone is set, if I do phpinfo();


    I have been working on this for a bit of time, but I haven't been able to install zen-cart yet. Does anyone have any idea?
    Hi

    I can't find php.ini to modify. . . .

    Can you let me know where to find it????

    My hosting company 1and1 say thre is no php.ini file in my catalog folder!!!

  8. #8
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default ERROR: date.timezone not set in php.ini

    can you help me with this error, I am trying to install Zencart and I´m getting this error message. Thank you very much. I´ve been searching for an answer in forum but no success. THX in advance

    ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.

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

    Default Re: ERROR: date.timezone not set in php.ini

    It means exactly what it says.
    Your server's PHP configuration doesn't have date.timezone set properly.
    You, or your hosting company, need to correct that. Contact them for help with fixing their configuration problem.
    .

    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.

  10. #10
    Join Date
    Aug 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: ERROR: date.timezone not set in php.ini

    Thank you, I thought if any other idea could not be here. I have solved it. I know the best way is to correct server. Thank you for quick reply.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. date.timezone
    By ettienne in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 29 Aug 2012, 12:29 PM
  2. v150 Date.Timezone php.ini problems...
    By b14speedfreak in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 16 Aug 2012, 10:41 PM
  3. v150 problems with date.timezone
    By spid3r1987 in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 10 May 2012, 10:41 AM
  4. PHP.ini date timezone issue
    By meteoros in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 25 Feb 2012, 07:03 PM
  5. date.timezone no value
    By prescott86 in forum General Questions
    Replies: 3
    Last Post: 17 Mar 2008, 03:58 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