Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Lost admin trying to change name


Ric

Recommended Posts

Tried to change the admin catalogue name and made a change in the config.php-file but it did not work (probably needed to make more changes...)

 

Tried to install the config.php again from my local computer but it did not help... (probably misses links etc showing where the admin is situated). Now I can not acces the admin at all via the web. I probably need to change some info in the config.php file in order to find my way back...

 

Could someone please help me out... what lines do I have to change in order to find my way back to the admin...

 

I am a rookie so please tell me step by step...

 

/R

Link to comment
Share on other sites

Thanks a lot... it helped me establish the contact with the database and also got me to the admin page... but then the links does not work...

 

I do have a special folder (with a strange name) into which I upload my files. Maybe this information is missing...

 

Where do I add this information in the config.php??

 

I am very grateful for all your help!!

 

/R

Link to comment
Share on other sites

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

define('HTTP_SERVER', 'http://www.mementomateria.se'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

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

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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/');

Link to comment
Share on other sites

you still need to set the catalog server on the second line . .

 

define('HTTP_CATALOG_SERVER', '');

 

to define('HTTP_CATALOG_SERVER', 'www.mementomateria.se');

 

and

 

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

 

to

 

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

Link to comment
Share on other sites

Now it works! Thanks a million!!!!!!!!!!

 

If you have the time (I know I push my luck now)...

 

If I want to change the name of the admin-folder... where are I to do changes before I rename the folder?

 

Now I am happy again!!

 

/R

Link to comment
Share on other sites

only place you need to change is there in the configure.php file, just use htaccess for locking down the folder, and use a very tough username and password. use upper, lower case, numbers, extended characters, etc for both username and password.

 

if you have ssl on your system, set the top line in the admin configure.php to point to your https file.

 

i have all my people do that on their sites

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...