Results 1 to 10 of 1920

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Edit Orders v4.0 Support Thread

    I got edit orders upgraded on a site that I upgraded from 1.3.9 to 1.5.4

    Another site upgrading from 1.5.1 to 1.5.4, I'm getting an error when trying to edit an order:

    [21-Mar-2015 10:54:44 America/Los_Angeles] PHP Warning: include_once(includes/modules/shipping/usps.php): failed to open stream: No such file or directory in /home/user/public_html/includes/classes/shipping.php on line 58
    [21-Mar-2015 10:54:44 America/Los_Angeles] PHP Warning: include_once(): Failed opening 'includes/modules/shipping/usps.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/includes/classes/shipping.php on line 58
    [21-Mar-2015 10:54:44 America/Los_Angeles] PHP Fatal error: Class 'usps' not found in /home/user/public_html/includes/classes/shipping.php on line 59

    There are several other shipping methods but they aren't throwing an error. I know I'm getting really tired but I just can't see what I've missed. Would there be something special about USPS?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by delia View Post
    ...I'm getting an error when trying to edit an order:

    [21-Mar-2015 10:54:44 America/Los_Angeles] PHP Warning: include_once(includes/modules/shipping/usps.php): failed to open stream: No such file or directory in /home/user/public_html/includes/classes/shipping.php on line 58
    ...
    Appears during the upgrade of Zen Cart from 1.5.1 to 1.5.4 the file "/includes/classes/shipping.php" was replaced with a copy from Zen Cart 1.5.4. This file (among others) requires modification for Edit Orders to work. Please re-install Edit Orders (and double check all "modified code files").
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Edit Orders v4.0 Support Thread

    This was working yesterday until I installed another mod and overwrote the orders.php file in admin. I had put the changes into the classes / shipping.php.

    Actually after trying to get something that works, I now have another error - not on edit_orders.php but on orders.php. As it's a error I've never seen before and it happens no matter what orders.php version I upload, I don't think it's connected to the edit orders mod. There's now something really screwy going on - That post on that error is here.

    I'm beginning to think I'm cursed......
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #4
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Hi all,

    i've installed a new zen cart 1.5.4 and add the Edit Order module along with Rewar point, again . It works well except for one little thing, here two images to explai it simly:
    Here before i modified the order:
    ot_before.jpg

    Here after the edit.
    ot_after.jpg

    The last line "Punti guadagnati" (Earned Reward Points) got the symbol even if i completely ignore that field (i just modified from 3 to 5 the shipping cost).
    Is there a way to avoid this?

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by izar74 View Post
    Hi all,

    i've installed a new zen cart 1.5.4 and add the Edit Order module along with Rewar point, again . It works well except for one little thing, here two images to explai it simly:
    Here before i modified the order:
    ot_before.jpg

    Here after the edit.
    ot_after.jpg

    The last line "Punti guadagnati" (Earned Reward Points) got the symbol even if i completely ignore that field (i just modified from 3 to 5 the shipping cost).
    Is there a way to avoid this?
    It's a known issue with Rewards Points.. I think there is a fix for this posted on the Rewards Points support thread.. not really an Edit Orders issue..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    155
    Plugin Contributions
    0

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by DivaVocals View Post
    It's a known issue with Rewards Points.. I think there is a fix for this posted on the Rewards Points support thread.. not really an Edit Orders issue..
    Hi Diva ,

    i found the culprit, in \admin\edit_orders.php line 432 is:
    PHP Code:
    $order_total['text'] = $currencies->format($order_total['value'], true$order->info['currency'], $order->info['currency_value']); 
    tell me if i get it right, basically It take the order_total['value'] and put it in the order_total['text'] after formatting it with currencies.

    Would something like
    PHP Code:
    $order_total['text'] =  $order_total['value']; 
    do the same but without formatting?

    Thanks

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by izar74 View Post
    Hi Diva ,

    i found the culprit, in \admin\edit_orders.php line 432 is:
    PHP Code:
    $order_total['text'] = $currencies->format($order_total['value'], true$order->info['currency'], $order->info['currency_value']); 
    tell me if i get it right, basically It take the order_total['value'] and put it in the order_total['text'] after formatting it with currencies.

    Would something like
    PHP Code:
    $order_total['text'] =  $order_total['value']; 
    do the same but without formatting?

    Thanks
    Nope.. The fix would NOT be in the \admin\edit_orders.php file at all.. because like I said.. It's not an Edit Orders issue.. It's a Rewards Points issue..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 818
    Last Post: 9 Jul 2026, 10:12 AM
  2. v150 Orders Status History -- Updated By [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 29 Jul 2019, 07:05 PM
  3. Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 656
    Last Post: 18 Apr 2016, 06:28 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  5. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM

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