Forums / All Other Contributions/Addons / Wishlist Not Working

Wishlist Not Working

Locked

Started by xerxes3333 on 28 Aug 2006, 1:23 PM · Views: 3,585

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
28 Aug 2006, 1:23 PM
#1
xerxes3333 avatar

xerxes3333

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Wishlist Not Working

Hello,

I added a wishlist to https://www.mudpuddlz.com and whenever someone clicks it. It gives the following error:

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

In the readme for the wishlist it says to create tables using un_wishlist.sql. How would you go about doing that? Thank you

28 Aug 2006, 2:09 PM
#2
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Wishlist Not Working

Go to your admin area Tools/Install SQL Patches - browse to the file included with the mod for the SQL and import it.

hope that helps

When the world gets in my face I say Have A Nice Day.

28 Aug 2006, 2:11 PM
#3
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Wishlist Not Working

Before attempting anything under your SQL Patches page, make a backup of your mySQL Database first - for security issues.

28 Aug 2006, 3:05 PM
#4
xerxes3333 avatar

xerxes3333

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Re: Wishlist Not Working

Alright. I did that, so that is fixed. Thank you. Now, I am having a different problem. I am supposed to change the application_top.php file by finding a peice of code and inserting code after it, however when I look at the php file. There is not anything in there about a wishlist yet. The readme says that I am supposed to find this code:

	// remove item from the wishlist
///// CHANGES TO case 'remove_wishlist' BY DREAMSCAPE /////
      case 'remove_wishlist' :
                             $db->Execute("delete from " . TABLE_WISHLIST . " where products_id = '" . $HTTP_GET_VARS['pid'] . "' and customers_id = '" . $_SESSION['customer_id'] . "'");
                            zen_redirect(zen_href_link(FILENAME_WISHLIST));
                             break;

but the code is not there.

31 Aug 2006, 6:18 AM
#6
yoniyum avatar

yoniyum

New Zenner

Join Date:
Aug 2006
Posts:
15
Plugin Contributions:
0

Re: Wishlist Not Working

I am having the same problem. I keep getting the message:

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

I have reinstalled the SQL patch through Admin a few times and this hasn't fixed the problem.

Please help!

18 Sep 2006, 7:14 AM
#7
jacopo3001 avatar

jacopo3001

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: Wishlist Not Working

sorry i am completely new to ZC, even i know OSC quite well.
could you kindly tell me where to downalod the wishlist contribution from?
i cant find it anywhere
thanks

19 Sep 2006, 6:51 PM
#8
yoniyum avatar

yoniyum

New Zenner

Join Date:
Aug 2006
Posts:
15
Plugin Contributions:
0

Re: Wishlist Not Working

Hey, there is a link at the top of this page called "Downloads" and that's where you can find the modules. Good luck getting it to work.

20 Sep 2006, 5:09 AM
#9
jacopo3001 avatar

jacopo3001

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: Wishlist Not Working

well , i saw the download page of course, but i dont know which category is the wishlist module under.
also it seems there is no any search tool for the modules.
i find it quite hard to get oriented.

2 Jan 2007, 5:19 PM
#11
clcrm96 avatar

clcrm96

New Zenner

Join Date:
Jun 2006
Posts:
9
Plugin Contributions:
0

Re: Wishlist Not Working

Hi I had this exact same problem and I kept using the Install SQL patches from my admin section. So Instead I went to the cpanel of my hosting account, then to phpMyAdmin and imported it from there and VOILA! It worked and now I don't get the "1146 Table 'MYDATABASENAME.un_wishlists' doesn't exist" error anymore. And my wishlist works. Hope this helps someone else out. Thanks for all the great tips and advice in these forums. I am a TOTAL newbie and have found so much help here. Thanks again!!!!

God Bless,
Crystal