Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Question about Installing osCommerce


Recommended Posts



Just a general and hopefully an easy question to answer!! I want to install osCommerce inside the "catelog" folder on my server, and then once its all set-up i want to move everything out of the "catelog" folder into the root index.


Is it simply a case of copying everything out of the "catelog" folder and putting it into the root index, or will connections and pathways, like database, admin connections etc be effected by doing this?


If anyone can help, that would be great. I wan to do this because ia lready have a shop running in the root index at the moment, but want to set-up a new shop, but still want the current shop to be running whilst i set-up and customise the shop in the "catelog" folder until i finish so i can replace the one on the root index!!


Again, any help would be great!


Regards, james

Link to comment
Share on other sites



You would have to edit your configure.php files (found in 'includes/' and 'admin/includes') by removing every instance of "catelog" found inside.


For example, inside includes/configure.php:


  define('DIR_WS_HTTP_CATALOG', '/catelog/');
 define('DIR_WS_HTTPS_CATALOG', '/catelog/');


Would become..


  define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');


There are other instances in both your includes/configure.php and admin/includes/configure.php files, so make sure that you remove all of them. Once you have removed all of them, you can simply move your new osC files into the root index.


Remember, back up your configure.php files before you make any changes in case of any unexpected errors.

Link to comment
Share on other sites


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

  • Create New...