Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't login in the Backend


manish2535

Recommended Posts

Hello, I cant seem to log into the backend of my site in localhost. Can you please help. I have been tweaking the configure code for days now. I cant understand. I can login in the front end just fine. Thank you.

 

 

 

//My installation is in the folder C:\XAMPP\htdocs\catalog\

 

$DOCUMENT_ROOT = getenv("DOCUMENT_ROOT") ;

 

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

define('HTTPS_SERVER', 'http://localhost'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

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

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

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

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

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

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

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

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('HTTP_CATALOG_SERVER', 'http://localhost/catalog');

define('HTTPS_CATALOG_SERVER', 'http://localhost/catalog');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

Link to comment
Share on other sites

@@manish2535

 

Hello,

 

i would do this:

1. install an origin oscommerce same code version in other directory (look at downloads)

2. visit the new installed site configs and change in the wrong to similar (only the database and 1 directory name need change)

 

and i always do it.

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...