Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dev/Live


Guest

Recommended Posts

Hi

 

I have two sites,one live at www.mysite/catalog/ and a dev one at www.mysite/dev which i am using to update images/layout etc

Both sites are on the same server and both site run from the same database.

In the live site, the two config files are set to /catalog/ and in the dev site both config files are set to /dev/

Now.....the problem I have is everything works great in the dev site except the categories box. For some reason, it is taking the link for http://www.mysite/catalog/index.php?cPath=xx_xx rather than http://www.mysite/dev/index.php?cPath=xx_xx

So clicking on one of these links takes you to the live site.

Manually changing the /catalog/ to /dev/ in the url will display the dev version,

everything else links correctly to the dev version (whats new/new productd for etc)

I've check, double checked and triple checked all the config files and all point to the appropriate directory.

I don''t understand the php code in categories.php, is this where the problem lies?

 

Thnxs

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...