Page 157 of 248 FirstFirst ... 57107147155156157158159167207 ... LastLast
Results 1,561 to 1,570 of 2475
  1. #1561
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

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

    Quote Originally Posted by retched View Post
    An easy way to answer this would be to check configure.php file for your ZenCart installation.

    Open includes/configure.php in a text editor and look for define('DB_PREFIX', 'zen_');

    Anything with the value listed in the second set of quotes, in my example 'zen_' is the database for ZenCart.

    As for which database, look for define('DB_DATABASE', 'betadata');. That will list your zencart database. In my example, that is 'betadata'.

    I found the file, sorry, looking in the wrong place. I found this text:
    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'UNHere_zc01');
    define('DB_SERVER_PASSWORD', 'Password here');
    define('DB_DATABASE', 'UNHere_zc01');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    The text in red was changed as to not give out sensitive information. But there is nothing next to DB_PREFIX but there is the zc01 that I saw once I was in the CPanel under databases. So I am assuming that is it. Thanks again. I will give this a try in the morning.
    Last edited by lauriesscraps; 9 Aug 2010 at 04:33 AM.

  2. #1562
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

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

    Quote Originally Posted by retched View Post
    While installing, did you make sure to make all of the changes in each folder?
    If you mean change the folder names to my template then yes as can be seen here

    http://nigel.geek.nz/sbo_shop/rpd.php

    and as for the bits that show up in red, those bits all exist in the database, i checked

  3. #1563
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

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

    Quote Originally Posted by lauriesscraps View Post
    I found the file, sorry, looking in the wrong place. I found this text:


    The text in red was changed as to not give out sensitive information. But there is nothing next to DB_PREFIX but there is the zc01 that I saw once I was in the CPanel under databases. So I am assuming that is it. Thanks again. I will give this a try in the morning.
    What you were typing made me believe that you were referring to a prefix, this is a suffix you're talking about now.

    Essentially use the name of the database that is given by the configure.php file. That is the database where zencart is installed.

  4. #1564
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

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

    Quote Originally Posted by nigelt74 View Post
    Still can't get it to work

    I turned on my error log and I have this error

    [09-Aug-2010 14:38:22] StoreRewardPoints called but SESSION['REWARD_POINTS_EARNED'] not found

    This seems to happen when i place the order
    Quote Originally Posted by nigelt74 View Post
    If you mean change the folder names to my template then yes as can be seen here

    http://nigel.geek.nz/sbo_shop/rpd.php

    and as for the bits that show up in red, those bits all exist in the database, i checked
    Ok. So you get those error messages you posted in your last message and then this one about SESSION[] not being stored...

    Are you absolutely sure that you edited the files in the right manner?

    In addition, when you created the tables and the modifications to the table, did you make sure that the datatypes of the table match those that rewards points are looking for?

  5. #1565
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

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

    Quote Originally Posted by retched View Post
    Ok. So you get those error messages you posted in your last message and then this one about SESSION[] not being stored...

    Are you absolutely sure that you edited the files in the right manner?

    In addition, when you created the tables and the modifications to the table, did you make sure that the datatypes of the table match those that rewards points are looking for?
    according to the readme i have, there are no files to be edited.
    There are 3 folders to be renamed which i have done
    There is an sql script to be actioned, in my case it was new.sql
    all of which i have done,

    The sql script created the tables, so the datatypes should be correct, just no information is being put in them and the rpd file is showing those fields as being missing.

    the datatypes appear correct to me looking at them through phpmyadmin

    and yes my database uses a prefix zen_, but as you can see the rpd picks that up

    -------------edit----------------------------

    I'll state this now

    It is working to a point, when i add products to my cart reward points are displayed in the left hand column, however when i check out, the reward points vanish they are not listed as pending nor are they applied, they are goneburger
    Last edited by nigelt74; 9 Aug 2010 at 05:38 AM.

  6. #1566
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

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

    Quote Originally Posted by nigelt74 View Post
    I'll state this now

    It is working to a point, when i add products to my cart reward points are displayed in the left hand column, however when i check out, the reward points vanish they are not listed as pending nor are they applied, they are goneburger
    Is the order total modules installed and set to "True" in admin?

  7. #1567
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

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

    Quote Originally Posted by retched View Post
    Is the order total modules installed and set to "True" in admin?
    you beat me to it

    I just ticked the "reward points earned" and that fixed it, not sure how I missed that


    I am still getting this in red though

    Allow Redeem of Reward Points on Order Total or Subtotal- record missing in zen_configuration!!!

    and I know it is set to zero(against subtotal) in admin

  8. #1568
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

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

    Quote Originally Posted by nigelt74 View Post
    you beat me to it

    I just ticked the "reward points earned" and that fixed it, not sure how I missed that


    I am still getting this in red though

    Allow Redeem of Reward Points on Order Total or Subtotal- record missing in zen_configuration!!!

    and I know it is set to zero(against subtotal) in admin
    0 is generally interpreted as FALSE in php or "not there" in PHP. Try setting it to 1 and rerun it.

  9. #1569
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

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

    Quote Originally Posted by retched View Post
    0 is generally interpreted as FALSE in php or "not there" in PHP. Try setting it to 1 and rerun it.
    makes no difference

  10. #1570
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

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

    Quote Originally Posted by nigelt74 View Post
    makes no difference
    Try to run your checkout again. If it works, this might one of those false positives.

    If it doesn't, then you may want to check on the SQL you used to install.

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR