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.
Okay, so after I uploaded the backup I used the SQL uninstall for COWOA and then I re-installed the SQL patch, turned on COWOA, and it has no problems. I did this all without re-uploading COWOA. In short I have no idea what fixed it but it is fixed. May have been the file placement as suggested before. The only errors I am finding in my error logs are actually related to Authorize.NET mod. That's another can of worms for another day.
Thanks for responses.
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
Last edited by izar74; 8 Nov 2013 at 12:22 PM.
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.
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...
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
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.
Last edited by mc12345678; 8 Nov 2013 at 06:21 PM.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
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.
Bookmarks