Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category box is changing turing browsing


nlaur86

Recommended Posts

Posted

So, I am still :o:O:O about this problem. I couldn't find anything around here so about it so... I'm posting a new topic.

I don;t event know how to describe the problem so I will tell you that to do to see it in action :)).

Go to www.laurentiu-neagu.ro/diploma. You sill see there the category box (in left, called "categorii"). Now press "adauga in cos" button on any product. This will add a product to cart. If you look at the category box you will see a change. There are 3 categories now and if you point your mouse over them you will see that you will be redirected to another domain. So those categories are from the other domain. The other site is made on oscommerce platform as well. Oh, and now if you get into a product description (any product) you will see that the category box will look fine again.

So... I am able to see information from other's database. My code looks just fine and nothing is wrong around there. In my database everything is ok too.

I should say that the other domain is hosted on the same server as me (I called my provider and he confirmed me that).

 

I can only find 2 possible problems:

1. .htaccess file - but everything seems just fine there (I use Ultimate SEO URL and I have that .htaccess file)

2. RegisterGlobals is ON. I don;t know if this cand cause a problem like that.

 

So, any ideea? Or you are :o:O:O as myself??? :))

 

Regards

Posted

I am no expert but so does this help in anyway if not I will delete it?

 

Do you use a template system?

 

If so that could be the problem you if you compare the codes your left navigation is calling a different piece of code on your product_info page than on all the others Categories Index etc..

 

With the template system you usually only use two for your whole site. One template for product descriptions (info) and one template for the layout of every other page.

 

So i would imagine that in one template in the column left layout you will have $categories and in the product description template this will be different.

Posted

Your issue is you have cache to to on with cache dir set to tmp on a shared server.

 

Create a folder in your root directory(public html) called my_cache. Set 755 permission on that folder.

In your cache directory insert this /home/my_site/public_html/my_cache/

 

change my_site to your server name.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Your issue is you have cache to to on with cache dir set to tmp on a shared server.

 

Create a folder in your root directory(public html) called my_cache. Set 755 permission on that folder.

In your cache directory insert this /home/my_site/public_html/my_cache/

 

change my_site to your server name.

 

Thanks very much! That was the problem :)

Archived

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

×
×
  • Create New...