Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP file path in categories and manufacturers apache changes url


somersetboy

Recommended Posts

Hi

I seem to have a problem since my server people upgraded something in their server. For several days I could not figure out what the difference was. Recently I have learnt that the php has been divorced from apache and runs as a standalone cgi thingy. The file path generated by oscommerce when a category is clicked on for instance is:

 

 

http://2mix.co.uk/shop2mix/index.php/cPath/23?

 

but since last Sunday what the Server is expecting is

 

http://2mix.co.uk/shop2mix/index.php?cPath=23

 

Now what my OSCommerce does is give the path as shown in the former. This formaer path now generates an error. "Error! Unable to determine the page link!" But the list of itmes or sub-categories gets listed as normal if the file path is as the latter example. Which unfortunately is not what is generated automatically.

 

But what I now require is Oscommerce to format the path as shown in the latter example. After a lot of soul-searching I have found out that http://2mix.co.uk/shop2mix/index.php?cPath=23 is the correct url format that the server is able to resolve. But How do I make OSCommerce to resolve urls using this format now?

 

 

Whatever it is it is now imperative that the "/" based address is not getting resolved. and I need to change the part of OScommerce that is responsible for generating this path format. This is very urgent and I am loosing a lot as this things has not been resolved. I have tried to solve it on my own by going through the codes. I cant find it and I desperately need help to solve this issue.

 

Urgent help is requested please else I am very close to overdosing on sleeping pills or something ohmy.gif

 

thanks

Dee

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...