Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default 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?sec...79&action=edit

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

    http://......./admin/tracker.php?sec...n=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???

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Order Status=4 Is not working On 1.39

    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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Order Status=4 Is not working On 1.39

    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.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Order Status=4 Is not working On 1.39

    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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Integrate ShipRush with TY Package Tracker
    By RoboPhung in forum Addon Shipping Modules
    Replies: 2
    Last Post: 11 Nov 2015, 10:14 PM
  2. Ty Package Tracker tracker page
    By mmwilcox in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Oct 2008, 07:22 PM
  3. Replies: 1
    Last Post: 29 Aug 2008, 07:55 PM
  4. Ty Package Tracker won't edit order
    By cowboyfred in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Jun 2008, 07:33 AM
  5. Order status emails not working (with edit-orders module installed)
    By Rebelwax in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Jul 2007, 01:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg