Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Beginner help


badbyte

Recommended Posts

Hello,

 

I installed my oscommerce on one of my computers and everything is ok but what i can't find out is how to put pwd on my admin page.

In www/admin/includes/configure.php i have this:

// define our database connection

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

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'shop');

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

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

 

If i put a pwd in define('DB_SERVER_PASSWORD', ''); i can't access the admin page anymore.

Where can i configure my pwd for the admin page?

 

If anyone knows please help.

:D

Link to comment
Share on other sites

Usually your host will have a link on their control panel to password protect directories, that is the easiest way to do it.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...