Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moving catalog to oscommerce in a new directory


naeruj

Recommended Posts

Posted

My paypal option does not seem to be working. So I setup oscommerce on a different directory on the server and it works fine in the new directory. How do I transfer my existing catalog to the new directory?

 

thank you,

Candace

Posted

need to update the path in configure.php only.

 

How do I transfer my existing catalog to the new directory?

using ftp client

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

  • 2 weeks later...
Posted

Thank you! which line(s) refer(s) to the catalog? I see several with catalog in them.

 

define('HTTP_COOKIE_DOMAIN', 'waxpaxcardsandcomics.com');

define('HTTPS_COOKIE_DOMAIN', 'waxpaxcardsandcomics.com');

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

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

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

define('DIR_WS_HTTPS_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', '/home/waxpax/public_html/shop/');

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

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

need to update the path in configure.php only.

 

 

using ftp client

Posted

If you have done an installation at the new location, that means that you have 2 new configure.php files (1 in includes/ and 2 in admin/includes/).

Make a copy of them and store them somewhere,

then upload your "old" store's filestructure to the new location,

then import the "old" database in place of the "new" that got created with new installation (use "import" function in phpMyAdmin)

then upload the stored configure.php files to replace the 2 of your old installation (careful not to mix them)

 

Also, if you have an .htaccess file, this may need to be updated too

Archived

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

×
×
  • Create New...