How to Moving oSCommerce to new website
Here is the problem. You already have a oscommerce website and you want to “copy paste” the whole code to your new website. These steps should be used as a general guide.
1. Copy paste the who code.
2. Create a new mysql and import the mysql from the old database.
3. Change /includes/configure.php and /includes/admin/configure.php to reflect the new database.
4. Change the persmission of the configure.php file.
5.change the following in configure.php to new values
define(‘HTTP_SERVER’, ‘http://intranet.churchwithoutwalls.org’);
define(‘HTTP_CATALOG_SERVER’, ‘http://intranet.churchwithoutwalls.org’);
define(‘HTTPS_CATALOG_SERVER’, ‘http://intranet.churchwithoutwalls.org’);
6. Change other values of configure.php as required.
7. If you forgot your admin password – do the following.Open mysql and look in the administrators table. You will see a username and an encrypted password. Now you have your username.
To get a working password, create a normal user in oscommerce as a typical shopper and remember that password. Now go find that user in the customers table.
Copy the encrypted password from the customers table into the the password of for the user in the administrators tables.
Now log into your admin panel with a username and password that you know.
Hope this helps.