Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Issues with Duplicating Site


b2995

Recommended Posts

Posted

I am trying to duplicate a current oscommerce site to another domain to use for another business. Everything seems to be working fine on the site itself, but I'm having issues on the Admin side:

 

#1 How do I fix the below:

 

cagetories_issue.gif

 

#2 When I click on Modules, I get the following errors below. These files don't exist on my original site, so I'm not sure where they're coming from

 

Warning: main(/home/........./includes/languages/english/modules/order_total/address_book_details.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/address_book_details.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/address_book_details.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/also_purchased_products.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/also_purchased_products.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/also_purchased_products.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

vti_encoding:SR|utf8-nl vti_timelastmodified:TR|23 Jul 2010 01:21:31 -0000 vti_author:SR|DB_NAME vti_modifiedby:SR|DB_NAME vti_nexttolasttimemodified:TW|19 Jul 2010 00:49:56 -0000 vti_timecreated:TR|19 Jul 2010 00:53:18 -0000 vti_extenderversion:SR|5.0.2.4803 vti_backlinkinfo:VX| vti_syncwith_localhost\\f\:\\1 hse\\websites\\hse/f\:/1 hse/websites/hse:TW|19 Jul 2010 00:49:56 -0000 vti_cacheddtm:TX|19 Jul 2010 00:53:18 -0000 vti_filesize:IR|2181

Warning: main(/home/........./includes/languages/english/modules/order_total/checkout_new_address.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/checkout_new_address.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/checkout_new_address.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/downloads.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/downloads.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/downloads.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

vti_encoding:SR|utf8-nl vti_timelastmodified:TR|23 Jul 2010 01:21:31 -0000 vti_author:SR|DB_NAME vti_modifiedby:SR|DB_NAME vti_nexttolasttimemodified:TW|19 Jul 2010 00:49:56 -0000 vti_timecreated:TR|19 Jul 2010 00:53:12 -0000 vti_extenderversion:SR|5.0.2.4803 vti_backlinkinfo:VX| vti_syncwith_localhost\\f\:\\1 hse\\websites\\hse/f\:/1 hse/websites/hse:TW|19 Jul 2010 00:49:56 -0000 vti_cacheddtm:TX|19 Jul 2010 00:53:12 -0000 vti_filesize:IR|3963

Warning: main(/home/........./includes/languages/english/modules/order_total/new_products.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/new_products.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/new_products.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

vti_encoding:SR|utf8-nl vti_timelastmodified:TR|23 Jul 2010 01:21:31 -0000 vti_author:SR|DB_NAME vti_modifiedby:SR|DB_NAME vti_nexttolasttimemodified:TW|19 Jul 2010 00:49:59 -0000 vti_timecreated:TR|19 Jul 2010 00:53:19 -0000 vti_extenderversion:SR|5.0.2.4803 vti_backlinkinfo:VX| vti_syncwith_localhost\\f\:\\1 hse\\websites\\hse/f\:/1 hse/websites/hse:TW|19 Jul 2010 00:49:59 -0000 vti_cacheddtm:TX|19 Jul 2010 00:53:19 -0000 vti_filesize:IR|2812 Discount Coupon 1 Discount Per Quantity

 

Warning: main(/home/........./includes/languages/english/modules/order_total/product_listing.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/product_listing.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/product_listing.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

vti_encoding:SR|utf8-nl vti_timelastmodified:TR|23 Jul 2010 01:21:31 -0000 vti_author:SR|DB_NAME vti_modifiedby:SR|DB_NAME vti_nexttolasttimemodified:TW|19 Jul 2010 00:49:57 -0000 vti_timecreated:TR|19 Jul 2010 00:53:19 -0000 vti_extenderversion:SR|5.0.2.4803 vti_backlinkinfo:VX| vti_syncwith_localhost\\f\:\\1 hse\\websites\\hse/f\:/1 hse/websites/hse:TW|19 Jul 2010 00:49:57 -0000 vti_cacheddtm:TX|19 Jul 2010 00:53:19 -0000 vti_filesize:IR|7359

Warning: main(/home/........./includes/languages/english/modules/order_total/upcoming_products.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main(/home/........./includes/languages/english/modules/order_total/upcoming_products.php) [function.main]: failed to open stream: No such file or directory in /home/........./admin/modules.php on line 134

 

Warning: main() [function.include]: Failed opening '/home/........./includes/languages/english/modules/order_total/upcoming_products.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/........./admin/modules.php on line 134

vti_encoding:SR|utf8-nl vti_timelastmodified:TR|23 Jul 2010 01:21:31 -0000 vti_author:SR|DB_NAME vti_modifiedby:SR|DB_NAME vti_nexttolasttimemodified:TW|19 Jul 2010 00:49:55 -0000 vti_timecreated:TR|19 Jul 2010 00:53:15 -0000 vti_extenderversion:SR|5.0.2.4803 vti_backlinkinfo:VX| vti_syncwith_localhost\\f\:\\1 hse\\websites\\hse/f\:/1 hse/websites/hse:TW|19 Jul 2010 00:49:55 -0000 vti_cacheddtm:TX|19 Jul 2010 00:53:15 -0000 vti_filesize:IR|2152

Posted

Tammy,

 

Make sure you have copied all of the files to the new server using the proper directory structure. Then, edit the TWO configure.php files to reflect the new path.

 

 

 

 

Chris

Posted

Hey Chris! Thanks for your reply! I copied all the files as-is...but used the following Configure.php file from Admin (the one when I first installed oscommerce onto my server). Here's the config file from the original and the one from the new config file:

 

ORIGINAL:

 

define('HTTP_SERVER', 'https://www.website.com');

define('HTTP_CATALOG_SERVER', 'http://www.website.com');

define('HTTPS_CATALOG_SERVER', 'http://www.website.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/catalog/admin/');

define('DIR_FS_ADMIN', '/home/site/public_html/catalog/admin/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', '/home/site/public_html/catalog/');

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

NEW SITE:

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

define('HTTP_CATALOG_SERVER', 'http://www.NEWSite.com');

define('HTTPS_CATALOG_SERVER', 'http://www.NEWSite.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/home/site/public_html/NEWSite.com/FOLDER/');

define('DIR_WS_ADMIN', '/FOLDER/admin/');

define('DIR_FS_ADMIN', '/home/site/public_html/NEWSite.com/FOLDER/admin/');

define('DIR_WS_CATALOG', '/FOLDER/');

define('DIR_FS_CATALOG', '/home/site/public_html/NEWSite.com/FOLDER/');

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Any suggestions?

Posted

Tammy,

 

The paths with change to the new server paths and the database name and password will also change. If the database is anything other than localhost, then it too will change.

 

 

 

Chris

Posted

both sites are stored on the same server, so DB_SERVER is localhost. the only thing that changed was the name of the database with it's own username and password. The only difference on the server is that the ORIGINAL site is stored on the root directory, and the NEWSITE is stored in a folder in the directory... That's just how the ISP set it up... I have one main domain, and all new domains are stored in their own folders in the main one (ORIGINAL site). Do you think that has anything to do with it?

Posted

Hi...anyone? Just wondering if anyone has a detailed solution to this issue without me starting from scratch :(

Posted

Did you try this in google?

 

site:www.oscommerce.com/forums duplicating site

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...