Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dev/Live


Guest

Recommended Posts

Posted

**Also posted under Installation/Configuration***

 

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

Posted

Wouldn't the link be within the database?

-------------------------------------------------------

 

I used to be insane, but now I'm just nuts ;)

Posted

Thanks

 

Found the problem, just had to disable Use Cache in Admin-Cache

Archived

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

×
×
  • Create New...