Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Top>>Catalog removes Catagories and places Books


Tom in AZ

Recommended Posts

This is a wierd one and I am wondering if there is a new MySQL Injection problem.

 

When we click on Top>>Catalog under the logo it removes Catagories and replaces it with a single Books catagory. If you click on Books it links you to: http://shop.voxpopnet.net/index.php?cPath=21

 

Has anyone seen this before?

Link to comment
Share on other sites

  • 5 months later...
It seems to be that some way or another it affects the cookie that OSCommerce uses. The cookie name is "osCsid". If I clear that cookie everything goes back to normal.

'

Tom,

did you ever find a fix for this one?

 

I have been runnig oscommerce since it first came out, but this is the first time I've seen this issue. I have a custom category box, but upon page refresh, it gets replaced by the default categories box, with links to books, dvd and specials. Everytime I clear my cache and cookies, it works fine, as soon as I go to a different page or even reload page, it reverts back to the boks, dvd and specials list all linking to:

 

<a href="http://shop.voxpopnet.net/index.php?cPath=21">Books</a><br><a href="http://shop.voxpopnet.net/index.php?cPath=23">DVDs</a><br><a href="http://shop.voxpopnet.net/index.php?cPath=24">Specials</a>

 

Any help would be appreciated

Link to comment
Share on other sites

i had the same problem when i copied the store to other location because i wanted to have somewhere to test before adding to real shop. although i changed configure.php it still went to the original location

Link to comment
Share on other sites

  • 1 month later...

I had this issue once and tracked it back to being on a shared server.

 

If memory serves, the issue was a temp file type setting in osC's admin. Open up the admin interface and scroll through it and make sure any directories (like for sessions or what have you) are set to a directory you have full control over.

 

It's not a very scientific explanation but I've been away from osC for more then a year. What the issue was for me was that the default temp directory was set to the root of the shared server along with every other osC install on that shared server. So data was getting cross contaminated with other osC stores on the same server.

 

Hope this helps - use your own noggin' for the setting but I'm sure it was in the osC admin itself.

Best & Thanks;
Marvin
----------------------
osCommerce 2.3.3.4 

Link to comment
Share on other sites

This is a wierd one and I am wondering if there is a new MySQL Injection problem.

 

When we click on Top>>Catalog under the logo it removes Catagories and replaces it with a single Books catagory. If you click on Books it links you to: http://shop.voxpopnet.net/index.php?cPath=21

 

Has anyone seen this before?

 

I HAD the same problem and I have the answer. This one pissed me off bigtime!

 

It's related to the Cache /temp directory and shared servers. From the ADMIN rename the Cache directory from /temp to something unique only to you and your site. Something like /YOURDOMAINNAME_temp or whatever. As long as it's unique and only you would use it.

 

Technical Explanation

We host with godaddy.com on a shared server.

The problem is that when your site is hosted on a shared web server (one machine with multiple websites) and another website hosted on that same machine is running osCommerce (of which you would have no idea) then they both use the same /temp folder and cause problems with the others site. It's related to the virtual path configuration and setup of the web hosting provider.

 

Happy Day!

Joe

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...