Forums / All Other Contributions/Addons / help with Wish List for 1.3.8a

help with Wish List for 1.3.8a

Views: 712

Results 1 to 8 of 8
2 Jul 2011, 7:55 PM
#1
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

help with Wish List for 1.3.8a

Hopefully someone can help me with this. I know, upgrade to 1.3.9.
But short of that if someone can help I would appreciate it.

Here is the issue. I installed all of the software and ran the SQL patch. However, when I try to access the Wish List I get an SQL
error that the table does not exist. I checked the data base
using phpMyAdmin and the tables definitely exist. However, the
tables have a prefix (zen_stamps). So, I am assuming that the
wish list code is looking for the tables without the prefix.

I have been through the code and can not find how to change or
modify the code so that it looks for the tables with the prefix.

Can anybody help with this? Thanks in advance. If you need
more information I will try to supply what you need.

By the way, I installed the software on a local server and
everything worked fine. The difference is that on the
local server I did not use a prefix for the database tables.

John

2 Jul 2011, 8:17 PM
#2
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: help with Wish List for 1.3.8a

Okay! I have looked at the code some more and find two
places where the wish lists table is defined. One is in admin
and the other in includes. The php code is as follows:

define('UN_TABLE_WISHLISTS', 'un_wishlists');

So, my question now is if I were to change those definitions to
be

define('UN_TABLE_WISHLISTS', 'zen_stampsun_wishlists');

where zen_stamps is the prefix I used, will the functions work?

Maybe I should just try and see what happens. After all, I made
a backup of the dbase before installing the patch. I can always
revert back. I HOPE !

John

2 Jul 2011, 8:30 PM
#3
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: help with Wish List for 1.3.8a

Well, that idea did not work. Help will be appreciated.

2 Jul 2011, 8:56 PM
#4
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: help with Wish List for 1.3.8a

The SIMPLE solution was to just change the database table
name. Was easy with phpMyAdmin. Dropped the prefix from the
table name and things seem to work.

As Homer would say "DOH !"

John

2 Jul 2011, 10:09 PM
#5
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: help with Wish List for 1.3.8a

Okay, so I am not home yet with this thing. The database does not
seem to be a problem now but there is some dis-function in the
installation. When I try to add something to the wish list it goes
straight to the shopping cart. Again, things worked fine on my
local server so I suspect an installation issue. I have gone back
through the installation several times and can not figure it out.
Anybody have any ideas? Thanks for any help.

John

3 Jul 2011, 3:48 PM
#6
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: help with Wish List for 1.3.8a

I have a VERY interesting update to the problem.

When I click on the "Add to Wishlist" button (left click) I am
redirected to the shopping cart and the product is shown there.
However, if I right click on the button and copy the link information
and paste that into the URL bar of my browser and then press the
enter key, I am directed to the Wish List page. It would seem that
the code involved is NOT performing the proper action.

I will have to investigate this. As I said, the code works correctly
on my local server so I wonder if there might be a PHP issue
on my live server.

Any suggestions? Help is always appreciated.

John

3 Jul 2011, 8:30 PM
#7
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: help with Wish List for 1.3.8a

PROBLEM SOLVED !

It appears that there is an issue with zen_image_submit with
regard to the Add to Wishlist button. Changed to
zen_image_button and all is fine. The issue was in the template
tpl_product_info_display.php.

Now, if I had read all of the postings regarding this mod I probably
could have solved the problem earlier. I guess I did not want to be
bothered with reading through 30 some odd pages of post. My bad!

Thanks to all that looked at this post and hope we all learned
something.

6 Sep 2011, 4:11 AM
#8
gifts_novelty avatar

gifts_novelty

New Zenner

Join Date:
Jan 2011
Posts:
3
Plugin Contributions:
0

Re: help with Wish List for 1.3.8a

hey John, can you tell me where to download this addon?

tks in advance!