Dear Gilby,
I have tried to apply your mod to a new zen cart installation on my server that has about 7h diference.
According to your instructions, for the Zen Cart 1.3.9h we only need to:
(on the 139gh folder)
Edit the files
- YOUR_RENAMED_ADMIN\includes\extra_configures\time_zone_fix.php (add the desired time zone - in my case was Africa\Luanda)
- Rename the folders YOUR_RENAMED_ADMIN to the same name as my admin folder on the server.
- Copy the file NEW_ADMIN_LIKE_SERVER\includes\extra_configures\time_zone_fix.php
After that, test the Admin area to see if the date is corrected according to desired timezone.
As you refer, until this step we should be abble to see the change on the server, if not, we should stop. This is my problem. I have not tested the remmaing steps because did not worked for me for admin area. There is no change on the server.
Went to "Environment variables" and looked for the TZ variable and it does not exists.
So I need to ask you:
- Don't we need to REPLACE any file on the server?
- I see that the file "time_zone_fix.php" that we should copy to the server is a new one and nothing is replaced... how will Zencart read from this new file?
- Where is this file called from?
- Do we need to rename the file "time_zone_fix.php" to anything else?
I believe I missed something.
Sorry for my English.
Regards
Paulo
Bookmarks