Forums / All Other Contributions/Addons / Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

Views: 31,520

Results 121 to 140 of 140
3 May 2010, 1:06 AM
#121
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
491
Plugin Contributions:
0

Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

G'day Gilby, how's it going?

Thanks for your Time Zone Offset Mod, it's really helpfull :)

I have one question and was wondering if you can help me.

I have installed this mod on 1.3.9, everything works fine, the only problem is I replaced the includes/classes/order.php with your one, the only problem it's meant for 1.3.8.

I try to compare your file with the original to merge them, but winmerge is telling the whole files needs to be mergerd!!
I am getting a headache trying to figure it out :frusty:

Can you please tell me what coding and on which line I need to add to my fresh 1.3.9 order.php file?

Hope you can help me out!

Best Regards,

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

3 May 2010, 11:43 AM
#122
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

The 1.39b update of this mod is now available for down load here
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=145

As usual backup, backup, backup and test, test, test that it works for you before using on a live shop.

19 May 2010, 12:37 AM
#123
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

The 1.39b update of this mod works fine with zen-cart v1.3.9c
No update will be required for this mod.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=145

As usual backup, backup, backup and test, test, test that it works for you before using on a live shop.

25 Jun 2010, 11:53 PM
#124
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

The 1.39d update of this mod is now available for down load here
http://www.zen-cart.com/index.php?ma...roducts_id=145

As usual backup, backup, backup and test, test, test that it works for you before using on a live shop.

29 Jul 2010, 1:10 PM
#125
totalsam avatar

totalsam

Zen Follower

Join Date:
Jan 2009
Posts:
126
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

Hey,

Having problems getting this to work entirely.

All seems fine except when I update an order it puts the server time in instead of my time :(

When purchases are made the time is updated correctly.

I am using super orders but it doesn't work if I update the status on standard orders either.

I presume there is something in the script for super_orders.php which I haven't added can someone confirm where all the super_orders edits need to go and I can check they are there?

(Or any other possible solutions would also make me happy :P)

Thanks
Sam

29 Jul 2010, 1:33 PM
#126
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

totalsam:

Hey,

Having problems getting this to work entirely.

All seems fine except when I update an order it puts the server time in instead of my time :(

When purchases are made the time is updated correctly.

I am using super orders but it doesn't work if I update the status on standard orders either.

I presume there is something in the script for super_orders.php which I haven't added can someone confirm where all the super_orders edits need to go and I can check they are there?

(Or any other possible solutions would also make me happy :P)

Thanks
Sam

See Post# 111

29 Jul 2010, 2:15 PM
#127
totalsam avatar

totalsam

Zen Follower

Join Date:
Jan 2009
Posts:
126
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

Thanks!

The bit of code that needed changing from

now()
``` to ```php
date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR)
``` was in admin/includes/functions/extra_functions/super_orders_functions.phpfor any one else that is looking for it!
3 Aug 2010, 11:36 PM
#128
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

I am having problems getting the right timestamp for the paypal orders
I already edited the file paypalwpp.php

Also,when I edit the ipn_main_handler.php
from following line

'date_added' => 'now()',

TO

date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR)

All I see in my order history in admin is this time - date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR)
Any clue on whats going on wrong? I separately ran the query in the php file and it seems to be returning the correct time

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

4 Aug 2010, 12:07 AM
#129
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

the debug file shows

[orders_id] => 786
[orders_status_id] => 2
[date_added] => date_add(now(), INTERVAL 10 HOUR)
[comments] => PayPal status: Completed  @ 17:03:22 Aug 03, 2010 PDT

Trans ID:2V030092FA8415611
Amount: 0.97 AUD
[customer_notified] => 0

which means everything should be correct??

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

4 Aug 2010, 2:50 AM
#130
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

superprg:

I am having problems getting the right timestamp for the paypal orders
I already edited the file paypalwpp.php

Also,when I edit the ipn_main_handler.php
from following line

'date_added' => 'now()',

> TO
> ```
date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR)

All I see in my order history in admin is this time - date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR)
Any clue on whats going on wrong? I separately ran the query in the php file and it seems to be returning the correct time

Maybe try this instead for that line```php
'date_added' => 'date_add(now(), INTERVAL ' . TIME_ZONE_OFFSET . ' HOUR)','

23 Aug 2010, 12:36 PM
#131
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

php 5.2.11 Zen 1.3.9f
The mod doesn't work correctly for me, when i go to place an order everything goes smoothly until I hit confirm the order and the site goes to a blank white page.

I tracked it back to the following error from the debug log

[23-Aug-2010 12:02:45] PHP Fatal error: Call to a member function Execute() on a non-object in /chroot/home/mysite/mysite.co.nz/html/shop/includes/classes/order.php on line 928

I have uploaded the files twice to no avail, I ended up replacing the order.php file with stock 1.3.9f one which fixed the problem but obviously the timezones thing no longer works.

has this happened to anyone else, any suggestions?

Webzings Design
Semi retired from Web Design

23 Aug 2010, 2:51 PM
#132
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

nigelt74:

php 5.2.11 Zen 1.3.9f
The mod doesn't work correctly for me, when i go to place an order everything goes smoothly until I hit confirm the order and the site goes to a blank white page.

I tracked it back to the following error from the debug log

[23-Aug-2010 12:02:45] PHP Fatal error: Call to a member function Execute() on a non-object in /chroot/home/mysite/mysite.co.nz/html/shop/includes/classes/order.php on line 928

I have uploaded the files twice to no avail, I ended up replacing the order.php file with stock 1.3.9f one which fixed the problem but obviously the timezones thing no longer works.

has this happened to anyone else, any suggestions?

I haven't updated this mod for 1.3.9e or 1.3.9f yet
A quick look shows that that file has not altered between the d, e &f version so that file should work.
Some of the other files have altered and need to be merged.

I am working on a replacement much simpler mod for this purpose.
I will be away for 2 weeks.
When I am back I would like a few people to test this new mod on different versions of php & mysql

20 Sep 2010, 6:15 PM
#133
ks_b avatar

ks_b

New Zenner

Join Date:
Dec 2007
Posts:
52
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

thank you for the mods and waiting for 1.3.9f version :D

21 Sep 2010, 3:43 AM
#134
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

I am looking for beta testers to test a new simplified Time Zone Offset mod

Looking for feedback on different versions of operating systems, php and mysql to see if it works on as wide a variety of systems as possible.

It should work on all versions of 1.3.9a-f
Modifies only one core file.
Fixes all known time zone problems storewide.

pm me for a download link to this beta.

And provide feedback please.

5 Oct 2010, 8:12 PM
#135
clueless_in_berlin avatar

clueless_in_berlin

New Zenner

Join Date:
May 2008
Posts:
48
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

I am running a german / english zen cart 1.3.8a and would like to utilize time zone offset. I have downloaded the time zone offset version 1.3.8a and have merged the 7 files to be overwritten with the files from my shop.

Before I upload the merged files and explode my shop, would someone advise me not to do this? Are there known problems with doing this or with 1.3.8a in general?

Of course everthing will be backed up, but the shop is live and I cannot test all funtions for bugs within a short period of time, therefore I thought I would ask first if this is just a plain old bad idea.:shocking:

Thanks

25 Nov 2010, 12:38 PM
#136
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

gilby:

I am looking for beta testers to test a new simplified Time Zone Offset mod

Looking for feedback on different versions of operating systems, php and mysql to see if it works on as wide a variety of systems as possible.

It should work on all versions of 1.3.9a-f
Modifies only one core file.
Fixes all known time zone problems storewide.

pm me for a download link to this beta.

And provide feedback please.

Hi Gilby

Any progress with this mod?

I am happy to play but not qualified to test.

Cheers

25 Nov 2010, 1:01 PM
#137
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

dw08gm:

Hi Gilby

Any progress with this mod?

I am happy to play but not qualified to test.

Cheers

Early next month I hope to be able to upload a finished version

18 Jan 2011, 10:35 AM
#138
rahmadid avatar

rahmadid

New Zenner

Join Date:
Mar 2010
Posts:
1
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

Hi gilby,
Can't wait for the new, simpler mod.
Will it work on version 1.3.9h too?

Many thanks.

gilby:

Early next month I hope to be able to upload a finished version

14 Feb 2011, 12:09 PM
#139
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

This mod will not be updated further than Zen-Cart v1.3.9d

Please use the new replacement mod instead Time Zone Fix.

The new mod is:
Much simpler and overwrites only 1 core file.
When working it fixes all known Time Zone problems

There is a new Support Thread for this new mod.

There is no need to update the existing Time Zone Offset mod if it is working fine for you.

You should use the new Time Zone Fix mod.
If updating to a new version of Zen-Cart.
And for all new Zen-Cart installs.

14 Feb 2011, 12:24 PM
#140
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Time Zone Offset (for v1.3.0-thru-v1.3.9d ONLY)

Working late on Valentines Day!
You deserve more than a big kiss for your efforts.
Much Appreciated.