Results 1 to 10 of 1920

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Edit Orders v4.0 Support Thread

    I could have *sworn* I posted the fix for this but I don't see it right now after a quick search. But here it is:

    For people running Rewards Points *and* Edit Orders, you must copy the file

    includes/functions/extra_functions/reward_points_functions.php

    to

    admin/includes/functions/extra_functions/reward_points_functions.php
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by izar74 View Post
    Hi, Edit order has an issue with Reward Point full 2.1b

    It works great until You try to save an adited order. After hitting update You got a blank page. If You go back and check you will see that the Total of the order had not changed even if the single quantity of a product had been changed.

    here the error code:

    [08-Nov-2013 11:13:02 UTC] PHP Fatal error: Call to undefined function GetRewardPoints() in C:\wamp\www\negozio152\includes\modules\order_total\ot_reward_points_display.php on line 40
    [08-Nov-2013 11:13:02 UTC] PHP Stack trace:
    [08-Nov-2013 11:13:02 UTC] PHP 1. {main}() C:\wamp\www\negozio152\adzenmin\edit_orders.php:0
    [08-Nov-2013 11:13:02 UTC] PHP 2. eo_update_database_order_totals() C:\wamp\www\negozio152\adzenmin\edit_orders.php:317
    [08-Nov-2013 11:13:02 UTC] PHP 3. order_total->process() C:\wamp\www\negozio152\adzenmin\includes\functions\extra_functions\edit_orders_f unctions.php:1090
    [08-Nov-2013 11:13:02 UTC] PHP 4. ot_reward_points_display->process() C:\wamp\www\negozio152\includes\classes\order_total.php:72

    I'm using:
    Edit Orders 4.1.2
    Reward Point full 2.1b
    MySQL 5.5.24
    PHP/5.4.3
    Zencart 1.51

    If someone figure it out please help, meanwhile I'll look for a solution
    Quote Originally Posted by swguy View Post
    I could have *sworn* I posted the fix for this but I don't see it right now after a quick search. But here it is:

    For people running Rewards Points *and* Edit Orders, you must copy the file

    includes/functions/extra_functions/reward_points_functions.php

    to

    admin/includes/functions/extra_functions/reward_points_functions.php
    Also, although this was an example of a local installation, the actual name of the admin directory should be obfuscted. My suggestion would be to always list as admin if displayed in a forum.

    Also to aid in trouble shooting problems similar to this, a search of files for the function names like the one that was identified as "missing" would have shown that the function was in the store's include directory and not in the admin directory's includes directory leading to the fix posted by swguy.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Edit Orders v4.0 Support Thread

    Hi sorry to point It out but in the 2.1b installation of Reward Point there is already a file named reward_points_functions.php in the /admin/includes/functions/extra_function
    It's different from the one in includes/functions/extra_functions/ so i don't think It is possible to overwrite is without causing more problems.

    Before posting I've already checked and searched for a solution so the one posted by swguy was already considered.

    P.s. @mc12345678 yes is just a server test obviously but your point is right

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

    Default Re: Edit Orders v4.0 Support Thread

    UPDATE!!: just to give it a try a do as suggested by swguy (overwriting the file), Edit order get back to work properly but all the admin configuration menu of Reward Point got messed up as expected.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Edit Orders v4.0 Support Thread

    Quote Originally Posted by izar74 View Post
    UPDATE!!: just to give it a try a do as suggested by swguy (overwriting the file), Edit order get back to work properly but all the admin configuration menu of Reward Point got messed up as expected.
    What about just copying the missing function from the includes folder file to the admins version?, was this thing found in an upgrade? Has the upgrade been verified?
    Last edited by mc12345678; 8 Nov 2013 at 06:21 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Edit Orders v4.0 Support Thread

    Not to be a naysayer, but seems that this is more of an issue with Rewards Points, than Edit Orders.. Perhaps you should take a look at the Rewards Points support thread??? Module authors cannot be expected to support how their modules work with other modules..
    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.

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

    Default Re: Edit Orders v4.0 Support Thread

    Got it. Trying to figure out how
    Last edited by izar74; 8 Nov 2013 at 07:14 PM.

  8. #8
    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
    Not to be a naysayer, but seems that this is more of an issue with Rewards Points, than Edit Orders.. Perhaps you should take a look at the Rewards Points support thread??? Module authors cannot be expected to support how their modules work with other modules..
    Sorry Diva, the only purpouse of the post was to point out that the modules have problems together, and if someone already figured it out to say it.

 

 

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