Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Chanings password


Guest

Recommended Posts

Hi

 

I need some help here..

 

Someone did get to my email and all my passwords, I have a oscommmerce site and need to change the passwords to the server that its on.. But when I change the password on the main admin panel on the webserver the site goes down.

 

I have email the webhotel and they say that I have also have to change the password in the scripts.....but where??

 

I didn?t setup this shop, a friend of mine did, but I can?t get hold of him...

 

HELP..

 

Da bull

Link to comment
Share on other sites

Hi

 

I need some help here..

 

Someone did get to my email and all my passwords, I have a oscommmerce site and need to change the passwords to the server that its on.. But when I change the password on the main admin panel on the webserver the site goes down.

 

I have email the webhotel and they say that I have also have to change the password in the scripts.....but where??

 

I didn?t setup this shop, a friend of mine did, but I can?t get hold of him...

 

HELP..

 

Da bull

 

You did not mention exactly what broke. From your post, I'll assume that it's the mySQL database that was denied access after the password change.

 

To fix this, simply proceed to "catalog\includes\configure.php" and look for the following lines:

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'xxxxx');

define('DB_SERVER_PASSWORD', 'xxxxx');

define('DB_DATABASE', 'xxxxx');

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

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

 

Make sure the DB_SERVER_PASSWORD reflects the new password.

 

After doing this, proceed to "catalog\admin\includes\configure.php" and repeat the process. This will fix the admin part.

 

Hope this helps... :blush:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...