Page 8 of 12 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 118
  1. #71
    Join Date
    May 2012
    Posts
    21
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Ok. This is from the biggest log I have and I've removed a bit of the cache_data = "info".

    [03-May-2012 05:18:27] PHP Fatal error: 1062uplicate entry 'zc_3d63152cab3e001e45db0f8214ae796d' for key 'PRIMARY' :: insert into znc_db_cache set cache_entry_name = 'zc_3d63152cab3e001e45db0f8214ae796d',
    cache_data = ( removed from here )
    cache_entry_created = '1336043907' in /home3/username/public_html/domain_name.com/includes/classes/db/mysql/query_factory.php on line 101

    Now, I've removed the files and have done a restore of the database and here's what I see now.

    [03-May-2012 06:24:56] PHP Fatal error: 1146:Table 'theburg2_znc1.znc_customers_basket_later' doesn't exist :: select products_id, customers_basket_quantity
    from znc_customers_basket_later
    where customers_id = '2' in /home3/username/public_html/domain_name.com/includes/classes/db/mysql/query_factory.php on line 101


    Now, I'm no sql programmer nor do I know much about php but if you hum a few lines I can follow along.

    Thanks for your help.
    Last edited by Ajeh; 2 Aug 2012 at 06:15 PM.

  2. #72
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,510
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    The second one is the relevant log. You forgot to create the tables. See step 3 in the instructions.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  3. #73
    Join Date
    May 2012
    Posts
    21
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    I did create the tables and we have a prefix on the table structure of znc_ so i prepended that to the mysql_slf.sql file here:

    DROP TABLE IF EXISTS znc_customers_basket_later;
    CREATE TABLE znc_customers_basket_later

    and here:

    DROP TABLE IF EXISTS znc_customers_basket_later_attributes;
    CREATE TABLE znc_customers_basket_later_attributes (

    Now, those are the only 2 places I put that in and I copied and pasted the entire statement into the "Install SQL Patch" window and sent it. I was given a ( 4 lines processed ) message and then things didn't work.

    So, I restored the database that I had backed up approximately 10 minutes before and removed all the files I copied in.

    So Doc, what's the prognosis?

  4. #74
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,510
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    If you use the Install SQL Patches facility under Tools, you should *not* manually add your own prefix. Install SQL Patches does this for you.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  5. #75
    Join Date
    May 2012
    Posts
    21
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Then should I try just adding the mysql_sfl.sql ( the unchanged version ) again and retry the files?

  6. #76
    Join Date
    May 2012
    Posts
    21
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    I got it to work properly and thanks for your help.

    But I have one more question. Is there a way for the Save for Later to Total what is in there? For Example, I have 1 item at 2.00 and 1 item at 4.00 and so on. Can it be made to total what is in the saved cart?

    Thanks again for your help.

  7. #77
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,510
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    No. There's no easy mechanism to arrive at a total for items which are not in the cart.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  8. #78
    Join Date
    May 2012
    Posts
    21
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Q: How can I find how many people are using Save For Later?
    A: Run the following query against your database in phpMyAdmin:

    SELECT count(DISTINCT customers_id), count(distinct products_id) from customers_basket_later;
    Is there a way to do this from install SQL Patches?

  9. #79
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,510
    Plugin Contributions
    127

    Default Re: Save For Later Support Thread

    Quote Originally Posted by techextreme View Post
    Is there a way to do this from install SQL Patches?
    No. Install SQL Patches is for running SQL patches, not getting query results.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  10. #80
    Join Date
    May 2012
    Posts
    21
    Plugin Contributions
    0

    Default Re: Save For Later Support Thread

    Ok. I have one more question.

    I'm wondering if it's possible to add a "Save For Later" button next to each product somewhere near the "Add To Cart" Button.

    The only reason I'm asking is this would make it simpler for logged in customers to create their "wish list" or "Save for Later" list instead of having to add them to the cart first.

    Thanks in advance.

 

 
Page 8 of 12 FirstFirst ... 678910 ... LastLast

Similar Threads

  1. Simple SEO URL [support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 5039
    Last Post: 9 May 2013, 04:00 PM
  2. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM
  3. ZJ Silver Support Thread
    By anthonyd in forum Addon Templates
    Replies: 220
    Last Post: 5 Nov 2010, 03:30 PM
  4. SplitTaxLines mod support thread
    By pdprenty in forum All Other Contributions/Addons
    Replies: 80
    Last Post: 19 Dec 2009, 10:01 PM
  5. PO Box Ban [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 23
    Last Post: 28 Oct 2009, 11:58 PM

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
  •