Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Installing osCommerce while my existing website is up, and other questions?


Recommended Posts

Hi guys, sorry for my complete newbie-ness, I'm an engineer, not a web software guru. I have an existing website for my small company, www.stumaxaircraft.com and I'm now wanting to make it into a proper online shop using osCommerce. Not knowing a thing about this stuff I'm a bit lost as to how I can work on making the osCommerce site whilst my original site is still up and running. Is that possible? Also, when my wife did my current website, it was loaded on our PC at home and we could test, fiddle, adjust etc without having to load it up, yet it seems we can't do that with osCommerce - is that correct? I was kind of hoping to have it working on my PC all 100% right and then just load it up like we did before, in place of my existing site. BTW, is there a package around that can take the osCommerce architecture, import it and let you work on it like you would with a web design program such as Dreamweaver? I'm sorry of my questions are too basic, this is all new to me, it seems there's a steep learning curve and time's not on my side, gotta have something going soon.





Link to comment
Share on other sites



Yes, you can work on osCommerce locally if you first install XAMMP. osCommerce does not do very will in graphic editors like Dreamweaver, you are best to use a text editor like Notepad++ or Editplus+. If you end up loading the site to your server while your other site is still operational, install it into a sub-directory like /catalog or /shop and this will prevent the new site from interferring with your current site.






Link to comment
Share on other sites

I am doing a similar activity - I have a live site and have built my osCommerce upgrade in a /shop/catalog directory. So now I am ready to go live; when we moved everything up to root all the pointers still go to the /shop/catalog directory. Root throws an error. Like Stu, I'm not a web guru so please speak slowly in your advice ;) I'm moderately trainable!




Link to comment
Share on other sites

Chris, thank you for such a quick reply. Did you hear the answer zoom several feet over my head? I have looked at the two configure files but don't know what to do with them.


what do I change in the configure.php files? I'm sorry but don't understand.


Thanks again for answering so quickly.



Link to comment
Share on other sites




In the /includes/configure.php file you have something similar to this:


define('HTTP_SERVER', 'http://www.xxxxxxxxxx.com');

define('HTTPS_SERVER', 'http://www.xxxxxxxxx.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.xxxxxxxxxx.com');

define('HTTPS_COOKIE_DOMAIN', 'www.xxxxxxxx.com');

define('HTTP_COOKIE_PATH', '/catalog/shop/');

define('HTTPS_COOKIE_PATH', '/catalog/shop/');

define('DIR_WS_HTTP_CATALOG', '/catalog/shop/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/shop/');


define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');


define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/xxxxxxx/xxxxxx/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxx');

define('DB_DATABASE', 'xxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');



you need to change these lines to this:


define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');


define('DIR_FS_CATALOG', '/xxxxxxx/xxxxxx/public_html/');



The xxxxxxxx represent fields that are unique to your domain name or hosting account.




Link to comment
Share on other sites


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

  • Create New...