Zen Cart Logo
Forums / All Other Contributions/Addons / Order Status=4 Is not working On 1.39 with Ty Package Tracker

Order Status=4 Is not working On 1.39 with Ty Package Tracker

Locked

Views: 1,172

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Oct 2010, 8:42 AM
#1
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Order Status=4 Is not working On 1.39 with Ty Package Tracker

I have an issue with order status on 1.39. I am using TY tracker which works fine except when updating the status to status=4. I am facing this issue on more than one store on fresh 1.39.

I have 15 diffenrent order status, When selecting status=4 (which is order canceled) I get server error 500. I noticed this in the URL.

While testing i noticed that if i update the order to any status except status=4 the URL would look something like this

http://......./admin/tracker.php?securityToken=a9be66503d92be25367f2e304aeccd59&status=4&page=1&oID=2779&action=edit

When I update to status=4 it looked like this:

http://......./admin/tracker.php?securityToken=a9be66503d92be25367f2e304aeccd59&status=4&page=1&oID=2779&action=update_order

Which cause the 500 error. If I change the update_order to edit. the page would load fine and the status would get updated.

I looked everywhere in the orders.php to see if status=4 is hardcoded but no luck.

This might be compatibility issue with 1.39 but I am not sure.

Is there anyone else facing this problem?

Is there a solution???

16 Oct 2010, 1:18 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order Status=4 Is not working On 1.39 with Ty Package Tracker

Do you use Downloads?

By default, Zen Cart uses Order Status 4 as the Update on Downloads in the settings for the Configuration ... Attributes ...

Downloads Controller Update Status Value
What orders_status resets the Download days and Max Downloads - Default is 4

If you are not using Downloads, as a test, change the 4 to something that you are not using right now such as 777 ... just to see if there is code in there that is moofed up based on this setting ...

In orders.php this value is used from the configuration_key for:
DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE

I don't use this Ty tracking and I am not sure if it is doing anything based on:
DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE

or the orders_status of 4 ...

For giggles, you might search your tracker.php for:
4
DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE

and see if anything specific is being done regarding those ...

16 Oct 2010, 4:41 PM
#3
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Order Status=4 Is not working On 1.39 with Ty Package Tracker

The TY tracker is pretty much a modification of orders.php. The developer have duplicated the orders.php and added their code to email tracking numbers to the customer.

I did do a search for 4 but couldn't find anything specific that I can change.

Is there a way to change the orders.php file to treat the status 4 as any other status.

I don't sell downloads. Currently I have been using it for order that I want to cancel.

I already have more than 300 orders under that status with no problem, I just start having problems when moved to 1.39.

I guess I can fix the issue by creating a new order status and name it cancel and start using it from now on instead of status=4.

16 Oct 2010, 4:45 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order Status=4 Is not working On 1.39 with Ty Package Tracker

I already posted where you can set the code from 4 to 777 for the Update feature of Downloads to test this ... perhaps you could re-read my last post ... :smile: