Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing /index.php/cPath/23 to ../index.php?cPath=23


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 :o

 

thanks

Dee

Link to comment
Share on other sites

go into your admin -> configuration -> my store and check if the search engine friendly URLs are set to true

 

if yes, set to false, if no, let us know

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

go into your admin -> configuration -> my store and check if the search engine friendly URLs are set to true

 

if yes, set to false, if no, let us know

 

Hi Monica,

That seems to have done it. What implications does this have on the search engine crawlers or 'bots' like googlebot? Does this mean the crawlers will drop out not being able to find the pages?

 

Once again thanks a million. you saved my day.

regards

Dee

Link to comment
Share on other sites

install search engine friendly URLs by chemo ... SEO htm URL

http://www.oscommerce.com/community/contri...ll/search,chemo

 

I use 2.1 and the & fix

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

  • 4 weeks later...

same problem as which?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

same problem as which?

 

 

My links show as .../index.php/cpath/... and not .../index.php?cpath=...

 

 

I have the SE safe Url's set to false in admin.

 

The links are good for 2 languages (out of 3) but english is with the "/".

 

When I click on categories in english, only index.php is loaded...

 

Any ideas?

 

Thanks in advance :)

Link to comment
Share on other sites

I'm sure you have some other search engine friendly url mod installed. Check you configuration table in admin, or even in phpmyadmin.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

I'm sure you have some other search engine friendly url mod installed. Check you configuration table in admin, or even in phpmyadmin.

 

 

This is a fresh install of MS2 (051113). [it was a 1-click install from FANTASTICO]

 

The only contributions installed is "Fixed prices for different currencies" (#4445).

 

I also deleted spanish and german languages and have added french and canadian english (copy of us english).

 

I checked my configuration (both in Admin and phpmyadmin). Nothing else related to search engine friendly url's. The stock one is also set to false.

 

The mystery is getting thicker :huh:

Link to comment
Share on other sites

hmmm ... hard to tell then if you swear you have nothing in there ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Any other ideas about where to look or what could be the cause?

 

 

It's all fixed.

 

I deleted the US english and reinstalled new fresh language files.

 

All my links are good now.

 

Not sure what was wrong with the files but I am happy it's all sorted out :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...