Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Can't login in the Backend


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\




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/');



Link to comment
Share on other sites





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.

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


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

  • Create New...