Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Get a "page cannot be found" for categories/prod.


Guest

Recommended Posts

Posted

PLEASE HELP!!

I added categories and products using Admin, and all seemed fine. But when I went to the online store and clicked my categories or products links in the menu, I get a "page cannot be found" page error.

 

When my programmer husband looked at it, he said he thinks that the URL is generating incorrectly. But we're both not sure, as this should be a basic task that shouldn't work incorrectly?

 

This is the URL that appears when you click on a category (22 representing the catalog number?):

http://aktuella.net/catalog/index.php/cPath/22

 

My husband said it should be:

http://aktuella.net/catalog/index.php?cPath=22

as seen in other OSCommerce user sites and when you manually type in the ? and =, the page seems to appear correctly.

 

What is strange is that shouldn't this be automatically done? I mean, if this is to be a relatively basic task, why does it generate a wrong URL for me?

 

p.s. When I started, I deleted all the categories and products in the sample default e-store that was given as a template. Could this have messed me up? Please let me know how I can fix this. Thanks

Posted

Ok first check to see if you have use search engine safe urls set to false in your admin. That can mess up the urls.

 

Otherwise

Deleting the categories shouldn't have caused a problem. Do you have one of the contributions installed that change how the url is shown such as cname/pname, ultimate SEOs or one of the many others? Maybe something isn't configured right there? Or something was edited incorrectly. Not exactly sure.

 

If you cant solve the problem I would just reinstall osCommerce, seems you have a pretty generic site. Wouldn't take but a couple of minutes to overwrite the files. Don't have to actually reinstall, just overwrite all of the files on your server except for the includes/configure.php and admin/includes/configure.php

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

Ok first check to see if you have use search engine safe urls set to false in your admin. That can mess up the urls.

 

YESSSS!!! Thanks a lot Wendy. This did work. For some reason, I turned this on and it messed up all my URLs. Guess I shouldn't try something still "under development".

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...