Page 1 of 2 12 LastLast
Results 1 to 10 of 2475

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Reward Points Module- Live Release now available.

    Help is needed i just installed the new module and im getting errors in the admin

    1) First error under admin>configurations>reward points: The error that im getting is this:

    Fatal error: Call to undefined function SetRewardPointStateFunction() in /home/dscott19/public_html/dealz-r-us/admin/configuration.php(192) : eval()'d code on line 1

    Warning: call_user_func(UseRewardPointStateFunction) [function.call-user-func]: First argument is expected to be a valid callback in /home/dscott19/public_html/dealz-r-us/admin/includes/functions/general.php on line 1544

    2) The second error under admin>catalog>reward points: The error that im getting is this:

    Fatal error: Call to undefined function getrewardpointrecord() in /home/dscott19/public_html/dealz-r-us/admin/reward_points.php on line 125

    3) The third error under admin>customers>reward points: The error that im getting here is:

    Fatal error: Call to undefined function cleanuprewardpointhistory() in /home/dscott19/public_html/dealz-r-us/admin/customers_reward_points.php on line 25

    4) The fourth error under admin>customers>group reward redeem: The error that im getting here is:

    Fatal error: Call to undefined function getrewardpointrecord() in /home/dscott19/public_html/dealz-r-us/admin/group_reward_points.php on line 132

    and the last thing is it should work with attributes to update if you have attributes with prices it does not do it.

    Please help me to figure this out. thank you

  2. #2

    Default Re: Reward Points Module- Live Release now available.

    I am getting the following error messages when trying to run the SQL update

    1062 Duplicate entry '0-0' for key 2
    in:
    [INSERT INTO zen_reward_master (rewards_products_id ,scope ,scope_id ,point_ratio ,bonus_points, redeem_ratio, redeem_points) VALUES (NULL , '0', '0', '1.0000', NULL, 0.01, NULL);]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Can someone translate this into ZenNewbie please? :) TIA!
    Chelle
    Zen v1.3.8a ~ SQL 5.0.51a ~ PHP 5.2.6
    http://www.mineralicious.com

  3. #3
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Points Module- Live Release now available.

    Quote Originally Posted by Mineralicious View Post
    I am getting the following error messages when trying to run the SQL update

    1062 Duplicate entry '0-0' for key 2
    in:
    [INSERT INTO zen_reward_master (rewards_products_id ,scope ,scope_id ,point_ratio ,bonus_points, redeem_ratio, redeem_points) VALUES (NULL , '0', '0', '1.0000', NULL, 0.01, NULL);]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Can someone translate this into ZenNewbie please? :) TIA!
    This is because ZenCart does not handle the MySQL directive "IGNORE" which tells MySQL to continue processing further commands even if there's an error (in this case trying to INSERT another 'Global' record).

    Try the attached version instead.
    Last edited by hem; 5 May 2009 at 10:32 AM.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  4. #4
    Join Date
    Feb 2008
    Posts
    31
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    I have customers getting the following error when they try to checkout using their reward points.

    Fatal error: Call to undefined function get_order_total() in
    /home2/paw10000/public_html/includes/modules/order_total/ot_reward_points.php
    on line 55

    That function exists in ot_reward_points.php but errors off anyway.

    Thanks
    Ken

    This is using the new version
    Last edited by kenwahl; 6 Jun 2008 at 04:23 PM.

  5. #5
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Reward Points Module- Live Release now available.

    Hem,

    I just went through the install all over again and it is the same thing as in post above i do have the reward_points_functions.php file there. Is there anything else i can try or look at.

    I also noticed in admin>config>reward points that when i click on reward points status track i get this

    Fatal error: Call to undefined function SetRewardPointStateFunction() in /home/dscott19/public_html/dealz-r-us/admin/configuration.php(192) : eval()'d code on line 1

    Could that be causing the problem.
    Last edited by dscott1966; 6 Jun 2008 at 07:10 PM.

  6. #6
    Join Date
    Feb 2008
    Posts
    31
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    Quote Originally Posted by kenwahl View Post
    I have customers getting the following error when they try to checkout using their reward points.

    Fatal error: Call to undefined function get_order_total() in
    /home2/paw10000/public_html/includes/modules/order_total/ot_reward_points.php
    on line 55

    That function exists in ot_reward_points.php but errors off anyway.

    Thanks
    Ken

    This is using the new version
    Hem

    I replaced includes/modules/order_total/ot_reward_points.php with the one in version 11a and it works fine. So it has something to do with your changes to the file in version 12a.

    Thanks
    Ken

  7. #7
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Reward Points Module- Live Release now available.

    As stated in post #242 there is something wrong. I did a clean install of zencart and this was the only mod that i have installed on it and im getting the same errors on it as stated in post #242.

    How do i go about fixing those errors in the admin can someone give me a little insight on this.

  8. #8
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Points Module- Live Release now available.

    Quote Originally Posted by kenwahl View Post
    I have customers getting the following error when they try to checkout using their reward points.

    Fatal error: Call to undefined function get_order_total() in
    /home2/paw10000/public_html/includes/modules/order_total/ot_reward_points.php
    on line 55

    That function exists in ot_reward_points.php but errors off anyway.

    Thanks
    Ken

    This is using the new version
    I think I've got a handle on what's causing it- I'll code up a new version in the morning.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  9. #9
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Points Module- Live Release now available.

    Quote Originally Posted by hem View Post
    I think I've got a handle on what's causing it- I'll code up a new version in the morning.
    Here's a new version of the ot_reward_points.php- copy it to includes\modules\order_total- It will be in the next mod.
    Last edited by hem; 9 Jun 2008 at 03:10 PM.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  10. #10
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Points Module- Live Release now available.

    Here's a new version of the ot_reward_points_display.php- This should sort out the Google Checkout problem. Again copy it to includes\modules\order_total.
    Last edited by hem; 5 May 2009 at 10:32 AM.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Reward Points module display order totals including reward points
    By irsarahbean in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Jun 2013, 01:19 AM
  2. Reward points module : 0 points earned
    By jonnyboy22 in forum Addon Payment Modules
    Replies: 5
    Last Post: 5 Jun 2012, 09:52 AM
  3. Reward Points module- points not calculated correctly
    By cpoet in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Sep 2010, 05:02 PM
  4. Reward Points Module - Hide message when 0 points offered
    By expresso in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Dec 2008, 06:58 PM
  5. Experimental Reward Points Module
    By precursor999 in forum Addon Payment Modules
    Replies: 7
    Last Post: 2 Apr 2007, 09:32 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