Re: Time Zone Fix Support Thread
Quote:
Originally Posted by
PleXy
I just can't get this mod to work. Tried different timezones just to test if the other timezones works. But nothing, the TZ remains the same. :(
Anyone else who had this problem and solved it?
I spoke with my host and they said it's either something wrong with the script or I did something wrong adding it.
I defenately added the files correctly.
I'm having issues too.
I'm on 1.3.9h and followed the installation instructions exactly.
Out of interest, what host do you use?
Can this issues with certain hosts? I'm with One.com.
Re: Time Zone Fix Support Thread
Quote:
Originally Posted by
johndavison
I'm having issues too.
I'm on 1.3.9h and followed the installation instructions exactly.
Out of interest, what host do you use?
Can this issues with certain hosts? I'm with One.com.
Works with most tested linux hosts
I can't tell from their website if they are linux or MS
By the way
Quote:
I'm having issues too.
really give us NO info to work with.
What type of server are you on?
What have you done?
How have you installed it?
Which version of zen-cart?
Which version of this mod did you install?
What happens?
In the "readme" there are 3 steps and checks that you should do before proceeding to the next step.
What step does it beak on and how does it break?
Re: Time Zone Fix Support Thread
Hi,
I have ZC 1.3.9h installed and working.
I downloaded the zip file, extracted and edited the 2 files time_zone_fix.php, even thought the doc refers to time_offset.php, uploaded each respective files (3 of them) to the correct folders on the server.
I see no change in the date/time on my admin home page (section just under the top header.
What am I doing wrong? :(
Thanks.
Re: Time Zone Fix Support Thread
Quote:
Originally Posted by
Vatche
Hi,
I have ZC 1.3.9h installed and working.
I downloaded the zip file, extracted and edited the 2 files time_zone_fix.php, even thought the doc refers to time_offset.php, uploaded each respective files (3 of them) to the correct folders on the server.
I see no change in the date/time on my admin home page (section just under the top header.
What am I doing wrong? :(
Thanks.
Before uploading did you rename the YOUR_RENAMED_ADMIN directory so that its the same as whatever your actual admin name is?
Are you running this local or is it live on a linux server?
Post the contents of one of your time_zone_fix.php files?
Re: Time Zone Fix Support Thread
Quote:
Originally Posted by
gilby
Before uploading did you rename the YOUR_RENAMED_ADMIN directory so that its the same as whatever your actual admin name is?
Are you running this local or is it live on a linux server?
Post the contents of one of your time_zone_fix.php files?
I basically edited the files, then ftp each php file to the server at the correct server folders. (linux)
File located locally:
tzf_v1.00\139gh\YOUR_RENAMES_ADMIN\includes\extra_configures\time_zone_fix.php
<?php
// Full list of timezones here: http://php.net/manual/en/timezones.php
//
// You can modify the TZ (Time Zone) by using a named Country/City
// eg:
// TZ=America/Los_Angeles
// TZ=America/Denver;
// TZ=America/Chicago
// TZ=America/Costa_Rica;
putenv ('TZ=Australia/Sydney');
?>
Uploaded to server at:
secret_admin\includes\extra_configures\time_zone_fix.php
Done the same with the other 2 files.
Thanks for the help. :clap:
Re: Time Zone Fix Support Thread
goto admin -> version
Search near the bottom in the "Environment" section
Confirm that there is a TZ variable there
and its value is Australia/Sydney
Re: Time Zone Fix Support Thread
Quote:
Originally Posted by
gilby
goto admin -> version
Search near the bottom in the "Environment" section
Confirm that there is a TZ variable there
and its value is Australia/Sydney
Just checked, but no, there is no Environment variable TZ.
Does this mean the file time_zome_fix.php is not being called?
Thanks.
Re: Time Zone Fix Support Thread
Hi,
Here is a message when I put the code in index.php
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list.
Damn! :(
Re: Time Zone Fix Support Thread
All good now, got the hosting provider to allow it and now it is working.
Thanks for your top support! :clap:
Re: Time Zone Fix Support Thread
Quote:
Originally Posted by
Vatche
Hi,
Here is a message when I put the code in index.php
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list.
Damn! :(
Glad you got it sorted
You may have other problems in the future
Quoting from What are the Server requirements to run Zen Cart?
"safe_mode off recommended, also for security reasons "