Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Had to Reinstall Do I have to reconfigure?


mrserv0n

Recommended Posts

Posted

I got a new domain and had to reinstall OS commerce. I made a backup of my enitire OS commerce catalog directory, I went through the initial installation again and then tried to just copy my catalog folder over with many errors.

 

How to I import my catalog, prices, basically everything, I do not want to have to rebuild my site

Posted
I got a new domain and had to reinstall OS commerce. I made a backup of my enitire OS commerce catalog directory, I went through the initial installation again and then tried to just copy my catalog folder over with many errors.

 

How to I import my catalog, prices, basically everything, I do not want to have to rebuild my site

Have you adjusted your admin/includes/configure.php and (catalog)/includes/configure.php to your new domain ?! Normally that is all there is needed to move your shop to another location besides using phpMyadmin or the stock osC backup/restore for copying your database.

Posted
Have you adjusted your admin/includes/configure.php and (catalog)/includes/configure.php to your new domain ?! Normally that is all there is needed to move your shop to another location besides using phpMyadmin or the stock osC backup/restore for copying your database.

 

 

Awesome, yea this is my first week with the program I will do that now and try it thanks a lot

Posted
Awesome, yea this is my first week with the program I will do that now and try it thanks a lot

 

 

 

Howard I get this error

 

Warning: mysql_pconnect(): Access denied for user: 'mameburn_nick@localhost' (Using password: YES) in /home/mameburn/public_html/catalog/admin/includes/functions/database.php on line 17

Unable to connect to database server!

 

Line 17 says $$link = mysql_pconnect($server, $username, $password);

 

What do I need to change?

 

 

I have to go to work now but if you drop an idea in Id really appreciate it

Posted
Howard I get this error

 

Warning: mysql_pconnect(): Access denied for user: 'mameburn_nick@localhost' (Using password: YES) in /home/mameburn/public_html/catalog/admin/includes/functions/database.php on line 17

Unable to connect to database server!

 

Line 17 says $$link = mysql_pconnect($server, $username, $password);

 

What do I need to change?

I have to go to work now but if you drop an idea in Id really appreciate it

Nick,

 

Most likely you also got a new database name, db userid and db password so you also have to change that part of the configure.php's

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'your db userid');

define('DB_SERVER_PASSWORD', 'your db password');

define('DB_DATABASE', 'your database name');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Posted
Nick,

 

Most likely you also got a new database name, db userid and db password so you also have to change that part of the configure.php's

 

 

Yea I had already changed those as well.. I will try a couple things and see if I have any luck..

Where it says $username $password etc in the fuction file I dont need to put my info there right?

Posted
Yea I had already changed those as well.. I will try a couple things and see if I have any luck..

Where it says $username $password etc in the fuction file I dont need to put my info there right?

No, you must not touch any source files ! If your new host has a whole different server setup you might be in for more surprises (PHP5, MySQL5, php.ini settings etc.)

Just tell/show us the errors you are still getting so we can be more to the point !

Archived

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

×
×
  • Create New...