Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin login fail - Need help with configure.php


bati

Recommended Posts

Hello everyone,

 

I searched before psoting not only here but also on google and I couldnt get the help I needed.

 

When I try to login to my admin page, I get this Error: Invalid administrator login attempt.

 

I believe I am making small mistakes in configure.php.

 

<?php

define('HTTP_SERVER', 'http://www.mysite.com');

define('HTTP_CATALOG_SERVER', 'http://www.mysite.com/');

define('HTTPS_CATALOG_SERVER', 'https://secure.mysite.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/catalog/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/catalog/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

define('DB_SERVER', 'myserver');

define('DB_SERVER_USERNAME', 'myuser');

define('DB_SERVER_PASSWORD', 'mypassword');

define('DB_DATABASE', 'mydatabase');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

I changed my real folder to catalog and a couple others for security obviously.

 

Thanks for any help I can get.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...