Just installed 1.5.4 fresh version. How and where do I set the store time zone/location that appears in the admin main screen?
Thanks, Dave
Just installed 1.5.4 fresh version. How and where do I set the store time zone/location that appears in the admin main screen?
Thanks, Dave
/includes/extra_configures/set_time_zone.php
.
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.
Login to your store Admin.
Click on Tools->Server Info
Press CTRL+F to "search the page" and search for "date.timezone"
That'll show you the whole "date" section.
Paste the whole date section here, along with what you've got in set_catalog_time_zone.php
.
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.
date/time support enabled "Olson" Timezone Database Version 2010.9 Timezone Database internal Default timezone America/Phoenix
Directive Local Value Master Value date.default_latitude 31.7667 31.7667 date.default_longitude 35.2333 35.2333 date.sunrise_zenith 90.583333 90.583333 date.sunset_zenith 90.583333 90.583333 date.timezone America/Phoenix America/Phoenix
Set Catolog Time Zone
<?php
/**
* @package initSystem
* @copyright Copyright 2003-2013 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version GIT: $Id: Author: DrByte Sat Nov 2 01:21:28 2013 -0400 New in v1.5.2 $
*/
/*
* Set time zone
*/
if (version_compare(PHP_VERSION, 5.3, '>='))
{
// put your timezone here. Refer to http://www.php.net/manual/en/timezones.php
$TZ = 'Canada/Atlantic'; // eg: 'Europe/Oslo'
/**
* MAKE NO CHANGES BELOW THIS LINE
*
* The following will take the timezone you specified above and apply it in your store.
* If you didn't specify one, it will try to use the setting from your server's PHP configuration
*/
if ($TZ == '') {
$TZ = date_default_timezone_get();
}
if ($TZ != '') {
putenv('TZ=' . $TZ);
@date_default_timezone_set($TZ);
}
}
I just found out that he is on PHP 5.2 & that the Blank Admin page fix had to be used after upgrade to get him into the admin. Maybe I should switch him to 5.5 I can change that
'Canada/Atlantic' is not a valid timezone for PHP according to http://www.php.net/manual/en/timezones.php
Try 'America/Halifax' instead.
.
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.
Nope didn't work
Then something else in your site's PHP files is setting it to Phoenix. (Perhaps you've specified the timezone in another file someplace, and that's overriding this one)
Search for Phoenix using the bottom search in the Developers Toolkit
.
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.