Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Beginner help


badbyte

Recommended Posts

Posted

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

Posted

This must be done using .htaccess - osCommerce does not have a built in admin user/password.

 

Matti

Posted

hello Matti,

 

Can u explain that better?

Im really a begginer.

I edited the .htaccess in www\admin but i don't understand what i need to do there.

 

Thanks

Posted

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.

Archived

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

×
×
  • Create New...