Zen Cart Logo
Forums / General Questions / 404 error on product descriptions

404 error on product descriptions

Locked

Views: 1,363

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
6 Feb 2008, 5:57 AM
#1
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

404 error on product descriptions

I have lost my product descriptions, the product listings are ok but when you click on "more information" I get the zencart 404 message and site map.

In administrator mode I can see all of the products but get a server 404 error, what is interesting is it seems that my zen cart isn't creating the urls correctly any more this is the server message.

"The requested URL /store/admin/.php was not found on this server."

note the .php ??? I have checked mysql and the product table and content is still there.

Does anyone have a suggestion?

6 Feb 2008, 6:04 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 404 error on product descriptions

Link to your site is???

Zen-Venom Get Bitten

6 Feb 2008, 6:11 AM
#3
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

Hi Cobra,

Thanks for the quick reply, the site is http://www.worldhearingaids.com/store

Any help will be appreciated.

Joe

6 Feb 2008, 6:48 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 404 error on product descriptions

I selected: http://worldhearingaids.com/store/index.php?main_page=index&cPath=1
Then selected more info for Siemens Centra e2e S Directional BTE+ hearing aid and ended up at: http://worldhearingaids.com/store/index.php?main_page=_info&cPath=1&products_id=9

No blank page - 404 error??

What/ where do you see this?

Opps!!!

I need to look at the page as I do see

Custom 404 Error Page with Site Map Sample Text

What is in your product description?

What ver of Zen Cart is this?

Zen-Venom Get Bitten

6 Feb 2008, 7:18 AM
#5
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

Hi Cobra,

Those products don't have any description as yet, if you go to the second or 3rd page you'll see a couple of Bernafon products with descriptions. I can see the descriptions in the database product table so the information isn't lost.

The Zen Cart is 1.3.7.1 and was installed by fantastico, I've been working on the site around a month with no challenges. I even changed back to the old standard template to see if I'd done something in the template overrides but it's doing the same there.

I've even tried a database repair in cpanel but no difference. Its really weird!

Any suggestions welcomed.

6 Feb 2008, 1:55 PM
#6
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

I have been doing some further investigations and think I may have deleted a variable that helps to form the url. The variable contents should be 'product'

This is whats happening with the product info urls

The correct url

http://worldhearingaids.com/store/index.php?main_page=product_info&cPath=1&products_id=8

what's being generated

http://worldhearingaids.com/store/index.php?main_page=_info&cPath=1&products_id=8

Does anyone have an idea of where this variable could be?

6 Feb 2008, 2:03 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 404 error on product descriptions

think I may have deleted a variable that helps to form the url
I see where you are using includes/templates/wha as your template...are you also adhering to the override system for files you edit?
Start there with the files you have edited and you might use a diff tool like winmerge to find the differences from a stock file.

Why would you be editing things like this out?

Zen-Venom Get Bitten

6 Feb 2008, 3:00 PM
#8
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

I do use the override system, I was trying to remove the word product from the heading of the define pages. I normally pay more attention but I must have deleted the string in in a normal file rather than an override. The problem also occurs in the standard template plus the admin panel.

I'm presently working my way through the directories trying to find the files that I've edited in the last few days.

You don't realise how big Zen Cart is until you have to do something like this.:wacko:

I'm hoping that someone might know what file the contains the variable definitions that are used construct the urls

7 Feb 2008, 12:37 AM
#9
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

I have just restored the site with an early backup to make sure that I've undone the latest changes. The problem is still persisting. Could this be an issue with the database?

I'm wondering if anyone with a good knowledge of how the urls to the product info page are generated on the products listing page. Perhaps I might be pointed in the right direction.

Thanks

7 Feb 2008, 2:05 AM
#10
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

OK I now know that the problem lies within the database. I exported the database and imported the contents into a fresh install. The same problem occurs.

Does anyone know what table I should be looking at ?

Has anyone had problems with the database loosing data like this. It's my first experience in 4 carts but quite disturbing just the same.

7 Feb 2008, 2:21 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: 404 error on product descriptions

Can you look at that products_id 8 in your database table products ... and see what the products_type value is?

Then look and see what you have in the table product_types

You should have at least 5 Product Types ...

What is the matching type_id for this?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Feb 2008, 2:40 AM
#12
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

:clap:Hi Linda:clap:

You've made my day, the type ID was 1 but the handler was null so when I added product into that field everything went back to normal. Thank you soooo much I was dreading the thought of starting again.

Do you have any idea how that value was lost?

No matter, my backup regime will be re-enforced after this one.

You're a legend!

Best wishes,

Joe

7 Feb 2008, 2:42 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: 404 error on product descriptions

That is rather curious that it would be lost as getting lost is not something that value does ... :unsure:

Glad that you have this up and running again ... remember us when you are rich and famous ... or even when poor and struggling ... :smartalec:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Feb 2008, 2:52 AM
#14
adelante avatar

adelante

New Zenner

Join Date:
May 2006
Location:
QLD Australia
Posts:
73
Plugin Contributions:
0

Re: 404 error on product descriptions

Thanks Linda,

There's a couple of cups of coffee and donuts on the way.

I've been enjoying the development of this store but that problem really lost me some sleep.

Thanks again,

Joe