Zen Cart Logo
Forums / General Questions / Products disappeared in 1.1.4d store

Products disappeared in 1.1.4d store

Locked

Views: 2,156

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Feb 2008, 10:53 PM
#1
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Products disappeared in 1.1.4d store

I have an old ZC store, I think it's 1.1.4d. We only use it seasonally for our event, in the off-season I just rename the directory so it is hidden & unoperational then when I want it back I rename again. I've done this for 3 years already.

This time, none of the products are listed in the user side of the store! I click on the category and it goes to that page, but only the category header text is shown - no products. I can sign into my user account and see my past test transactions.

Also, the admin side seems to be all there... Categories, products and everything else looks OK! I only have 2 disabled products in my store, the rest show status = green.

Any ideas what I can look at to get my products showing?

Thanks!

3 Feb 2008, 11:18 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Products disappeared in 1.1.4d store

Has your web host upgraded their version of PHP? Perhaps to version 5? If so, even Zen Cart's in the 1.2.x series are likely to fall apart, a 1.1.4 cart would, I'm afraid, have reached the end of it's life, unless you can find a web host running out-of-date software or can control (freeze) your server configuration.

6 Feb 2008, 2:06 AM
#3
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Re: Products disappeared in 1.1.4d store

Finally got ahold of the ISP (ugh)... it looks like they did recent upgrade to php 4.4.7 (mySQL Client API version is 4.1.11). Is that still enough to break it?

Dag nab, it seems like most stuff is working, and it'll take weeks to setup from scratch again.

6 Feb 2008, 4:31 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Products disappeared in 1.1.4d store

You can ask for commercial support from the commercial help room. It'd take a day or more to have the store up to date. (depending on the number of modules installed etc...)

13 Feb 2008, 12:42 AM
#5
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Re: Products disappeared in 1.1.4d store

Interesting. Are you saying the upgrades should work OK? I was thinking that due to PHP differences that there wasn't much chance of that. Maybe I should give it a try or is it fairly tricky?

Would I try just going to the latest, or should I try it incrementally (perhaps just certain milestone versions like 1.2.7 then 1.3.8)?

Thanks!

13 Feb 2008, 1:10 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Products disappeared in 1.1.4d store

When you run an upgrade, it will step through all the intervening versions. The store operating code is not being run while upgrading, so it shouldn't matter that the early versions wouldn't function on your server.

13 Feb 2008, 2:43 AM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,615
Plugin Contributions:
0

Re: Products disappeared in 1.1.4d store

Note: You will have to adapt your store look to the current template system. The templates have changed tremendously since that version.

13 Feb 2008, 10:55 PM
#8
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Re: Products disappeared in 1.1.4d store

Yea, after seeing in the directions that I'd have to re-do any (minimal) code changes I made in files outside the override dirs, and then that I'd have to add in the ZC updates to the ones I did override, I have decided to move ahead with an install from scratch.

Thanks.

14 Feb 2008, 9:23 AM
#9
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Products disappeared in 1.1.4d store

Brian1234:

I have decided to move ahead with an install from scratch.Even without seeing your site, I'd say that was the right choice for the template and code generally!. But you should be able to upgrade your database.

20 Feb 2008, 11:45 PM
#10
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Re: Products disappeared in 1.1.4d store

Due to continuing problems getting the new version installed from scratch (mainly a mostly unresponsive ISP) and the need to get something back up and running, I am hoping someone here can help with the errors I am getting in v1.1.4d, likely due to MySQL upgrades or perhaps a corrupted file.(?) Might need to do some SQL query tweaks.

It is almost working but no products show in the store's user interface under categories. The products DO show in the admin interface. Here are the errors:

Go to main store with a categories sidebox:
NO ERRORS

Go to a category in main store's category sidebox (no products display within):
in /xyz/store.old/includes/classes/adodb/adodb-errorhandler.inc.php on line 139
PHP Fatal error: mysql error: [1054: Unknown column 'p.products_id' in 'on clause'] in EXECUTE("select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '56'")

Admin: going to Categories / Products - Top:
in /xyz/store.old/includes/classes/adodb/adodb-errorhandler.inc.php on line 139
where p.products_id = pd.products_id
from products p, products_description pd, products_to_categories p2c
p.products_quantity_order_max
p.product_is_free, p.product_is_call, p.products_quantity_mixed,
p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute,
p.products_status, p.products_model,
p.products_last_modified, p.products_date_available,
p.products_image, p.products_price, p.products_date_added,
PHP Fatal error: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-10, 10' at line 13] in EXECUTE("select p.products_id, pd.products_name, p.products_quantity,

Admin: Going to same category as tried in Store (products display OK here):
NO ERROR

Admin: Going to product edit:
NO ERROR

Interesting how the store itself has an error when going into a category, but the admin interface has one when showing the categories top but not the products.

HELP appreciated, and I do have some SQL buddies that can help if we get on the right path.