Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent help needed in Categories and item display php


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

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

 

in your shops admin

 

go to

 

configuration>>my store

 

and set

 

Use Search Engine Safe Urls (in development) to False

Link to comment
Share on other sites

Hi Toyicebear,

Thanks that has done it. In what way does this now affect the googlebot and other searchengine "bots" or crawlers from finding the product pages?

 

Thanks once again. You are ice cool.

 

regards

Dee

 

No it does not impair any of the search engine bots.......but if you want to change the urls..click on sef $ seo urls under for alternatives

Link to comment
Share on other sites

I just switched hosting services. I prefer the search engine safe URLs to be on, but they dont seem to work on the new server. When set to false they work though. Any suggestions? I assume there is a setting on my new server I can change to make it work properly.

 

I dont quite understand this statement:

click on sef $ seo urls under for alternatives
Thanks

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.

Therefore, all progress depends upon the unreasonable man."

-- George Bernard Shaw

Link to comment
Share on other sites

I just switched hosting services. I prefer the search engine safe URLs to be on, but they dont seem to work on the new server. When set to false they work though. Any suggestions? I assume there is a setting on my new server I can change to make it work properly.

 

I dont quite understand this statement:

Thanks

 

 

So as not to confuse you then, >>> CLICK HERE.....

Link to comment
Share on other sites

Ah, I got it now, thanks Nick. That is a helpful link.

 

I assume you are not a native speaker of English. For clarification I would say "Click on the 'Seo & Sef Urls' link below in my signature for alternatives."

 

Thanks again

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.

Therefore, all progress depends upon the unreasonable man."

-- George Bernard Shaw

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...