Page 5 of 32 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 312
  1. #41
    Join Date
    Jun 2007
    Posts
    239
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    I checked my sql database and trendsde_zc2 does exist!

  2. #42
    Join Date
    Feb 2004
    Posts
    61
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by james739 View Post
    ... I am getting the same error:

    1146 Table 'trendsde_zc2.un_wishlists' doesn't exist
    in:
    [SELECT id FROM un_wishlists w WHERE w.customers_id=1 and w.default_status=1 ]

    How can I create a trendsde_zc2 table?
    This error is of format DATABASE.TABLE.

    First, mysql is saying it's looking for a database named "trendsde_zc2". Do you have a database named "trendsde_zc2"?

    Second, mysql is saying it's looking for a table named "un_wishlists". Do you have a table named "un_wishlists"?

    I'm guessing the error stems from step number 1 in the readme entitled "Create tables". It reads:

    Code:
    Create tables 'un_wishlists' and 'un_products_to_wishlists' using 'un_wishlist.sql'. Important: If in your implementation of ZenCart you defined a database table prefix (see file "includes/configure.php", line 52), add that prefix to the table names in the sql file ("un_wishlist.sql", lines 9, 10, 28 and 29).

  3. #43
    Join Date
    Jun 2007
    Posts
    239
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    ok, the DB prefix on line 52 is Zen_. I placed this prefix in front of line 9 (zen_un_wishlists), line 10 (zen_un_wishlists), line 28 (zen_un_products_to_wishlists) and line 29 (zen_un_products_to_wishlists).

    trendsde_zc2 exists in mysql, there is table named un_wishlists in database_tables.php.

    I am still getting the same error when I click on Add to wishlist on the products page.

    error is;
    1146 Table 'trendsde_zc2.un_wishlists' doesn't exist
    in:
    [SELECT id FROM un_wishlists w WHERE w.customers_id=1 and w.default_status=1 ]
    Last edited by james739; 23 Jul 2007 at 05:58 AM.

  4. #44
    Join Date
    Jul 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by untitled View Post
    Sounds like you want a "form button", as is used in the sidebox. That would require a little more effort. I'd recommend simply "styling" the link as desired. For example:

    Code:
    <?php 
    // (un): start wishlist link
    echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='.(int)$_GET['products_id'].'&action=un_add_wishlist') . '" style="background:#ccc; padding: 5px;">' . UN_TEXT_ADD_WISHLIST . '</a>'; 
    // (un): end wishlist link
    ?>
    Notice I added some CSS to the <a> element via the "style" attribute. You can use inline style definitions like this or external style sheets to control the appearance of any link. You might want to check out the following site for more info: http://www.w3schools.com/css/css_intro.asp

    Another option is to create an image. Replace "UN_TEXT_ADD_WISHLIST" with your image tag and you have complete control over the appearance of the "link".
    good,Your very good example ah helpful!

  5. #45
    Join Date
    Feb 2004
    Posts
    61
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Quote Originally Posted by james739 View Post
    ok, the DB prefix on line 52 is Zen_. I placed this prefix in front of line 9 (zen_un_wishlists), line 10 (zen_un_wishlists), line 28 (zen_un_products_to_wishlists) and line 29 (zen_un_products_to_wishlists).

    trendsde_zc2 exists in mysql, there is table named un_wishlists in database_tables.php.

    I am still getting the same error when I click on Add to wishlist on the products page.

    error is;
    1146 Table 'trendsde_zc2.un_wishlists' doesn't exist
    in:
    [SELECT id FROM un_wishlists w WHERE w.customers_id=1 and w.default_status=1 ]
    do you realize that just changing those lines is not enough -- you must actually use the altered sql file to recreate the tables afterwards? what version of the contribution are you using? if it's not the newest, i'd recommend you start from scratch. delete the old tables. download the newest version. then go through all the steps again.

    nb: is your implementation of mysql case-sensitive? your message mixes cases...

  6. #46
    Join Date
    Jun 2007
    Posts
    239
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    Hi untitled, i finally got the mod to work! I forgot to change the db prefix in the includes/data_field sections!

    Thanks again for your help

  7. #47
    Join Date
    Jun 2007
    Posts
    239
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    How can I edit my product info page so that the "wishlist" button is aligned with tell a "friend button?"

    My other question is:
    In my wishlist in extended view, the images are way too large, how can I make the images smaller?

    my site:

    http://trendsdepot.com/index.php?mai...&products_id=1

  8. #48
    Join Date
    Jun 2007
    Posts
    239
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    ok, i fixed it by playing with product_info display. I still need help making the images in wishlist product list smaller.

    Thanks!

  9. #49
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    untitled: I have tried different ways on replacing a link with an image tag and I keep getting an error. Here is what I have:

    <?php
    // (un): start wishlist link
    echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, 'products_id=' . YOUR_PRODUCTS_ID . '&action=un_add_wishlist') . '">' . zen_image_button(BUTTON_IMAGE_WISHLIST, BUTTON_WISHLIST_ALT) . '</a>' : ''); ?></div>
    <?php
    // (un): end wishlist link
    ?>

    Can you please let me know what I did wrong. I am not a programmer and this is driving me nuts.

    Thanks.

  10. #50
    Join Date
    Feb 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: WishList v0.4 -- ZenCart 1.3.7 compatible

    I'm sure I'll be yelled at for this but I followed the installation instructions but like the problem someone else was having , when I click the add to wishlist button I get an error

    1146 Table 'chris10_zc1.un_wishlists' doesn't exist
    in:
    [SELECT id FROM un_wishlists w WHERE w.customers_id=1 and w.default_status=1 ]

    I have no clue where or how to fix this. Can someone please help a pathetic noob?

 

 
Page 5 of 32 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. Wishlist 0.9
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Nov 2011, 03:52 PM
  2. 1.3 Compatible Contributions
    By borzoid in forum All Other Contributions/Addons
    Replies: 83
    Last Post: 26 Apr 2009, 11:50 PM
  3. MZMT compatible?
    By robeartoesart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Oct 2006, 01:29 PM

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