Thread: date.time error

Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Oregon, USA
    Posts
    17
    Plugin Contributions
    1

    Default date.time error

    version 1.5
    I am seeking to install on the linux box lamp server. When I attempt to run the install I get a date.time error. I have looked in my php.ini files and my apache files and they contain the appropriate configuration terms for date time (America/Los Angeles) along with the lat long info. I am at a loss to go any further after having searched extensively.
    Any help is appreciated.
    The ~ox-{ is grateful.
    www.singingfalls.com

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

    Default Re: date.time error

    What version of PHP?
    Who is your hosting company?
    What control do you have over the php.ini configuration? Are you able to edit the server's master file, or just a "local" file for your particular user account?
    What is the date.timezone setting exposed by phpinfo?
    .

    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 2006
    Location
    Oregon, USA
    Posts
    17
    Plugin Contributions
    1

    Default Re: date.time error

    Thank you for your attention.

    php5

    I have the linux,apache,mysql,php (LAMP) server set up on my computer with root privileges.

    All php or apache ini files are accessible and are editable.

    date.time no value ( master value or local value)
    The ~ox-{ is grateful.
    www.singingfalls.com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: date.time error

    "php5" is extremely generic. And, as far as I know, the PHP authors have never distributed a "php5" version. They all have at least two digits in them, usually separated by periods. And, yes, the actual version number IS important. I wouldn't have asked otherwise.

    And, if phpinfo is finding the master and local values to be blank, then that means you're either not editing the correct php.ini file, or you've neglected to restart the webserver services since making the changes. And, since Zen Cart is using the same information that phpinfo is revealing, Zen Cart is perfectly correct in telling you that the date.timezone setting is not set.

    You can get specific help on learning how to configure your local webserver services from the various vendors of the webserver apps you've installed. Once you've sorted that out, then you can carry on with installing Zen Cart.
    .

    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
    Jan 2006
    Location
    Oregon, USA
    Posts
    17
    Plugin Contributions
    1

    Default Re: date.time error

    Thank you for your time.

    php 5.3.2

    There are two php.ini files on this computer:
    /etc/php5/cli/php.ini
    /etc/php5/apache2/php.ini

    both contain the following information:
    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    ;date.timezone = America/Los_Angeles

    ; http://php.net/date.default-latitude
    ;date.default_latitude = 31.7667

    ; http://php.net/date.default-longitude
    ;date.default_longitude = 35.2333

    ; http://php.net/date.sunrise-zenith
    ;date.sunrise_zenith = 90.583333

    ; http://php.net/date.sunset-zenith
    ;date.sunset_zenith = 90.583333

    I have restarted the apache server several times using:
    code:
    sudo /etc/init.d/apache2 restart

    I've also shut down and restarted the computer along with doing:
    code:
    sudo updatedb

    to no avail. I will continue to sleuth the net in the hopes of finding some clue to the problem. If you have any further assistance I would be grateful.

    kind regards
    The ~ox-{ is grateful.
    www.singingfalls.com

  6. #6
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: date.time error

    Quote Originally Posted by oxman View Post
    Thank you for your time.

    php 5.3.2

    There are two php.ini files on this computer:
    /etc/php5/cli/php.ini
    /etc/php5/apache2/php.ini

    both contain the following information:
    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    ;date.timezone = America/Los_Angeles

    kind regards
    Ummm...
    Doesn't ; comment it out?
    Try removing the ; at the start of the line

 

 

Similar Threads

  1. 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
  2. v139h Order date on Invoice is server date/time
    By Kenton in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Feb 2012, 06:22 AM
  3. Date/Time Display
    By LissaE in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Nov 2008, 05:03 AM
  4. Time date insert
    By scorpio4646 in forum General Questions
    Replies: 10
    Last Post: 15 Dec 2007, 02:25 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