Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problem with the Admin folder


Recommended Posts

Hi, my problem is that my host has admin folders for all their virtual server accounts.


All of them. So each time I try to use 'YOUR' admin folder, it prompts me to log into my control pannel.


Do you have another shopping cart that is identical to this one, that uses a folder called something like ... admin_1 or something like that. ANYTHING other than 'admin'



Link to comment
Share on other sites



Why cant you just rename your Catalog>admin folder to something else ?

Call it shop_admin or something like that . I dont think it will make a difference as long as your paths are setup correctly in your configure.php file . Am I right here guys ?



Link to comment
Share on other sites

Actually, on refelction, where did you put your shop folders ? In your site root or in another folder within your site root ?


For my shop I did the following.

Created a folder called catalog in my site root.

Uploaded all my catalog files into the catalog folder .

Uploaded my admin folder into the catalog folder (leave the files in admin folder)


so to access the shop type ...




and to access the admin I have




Is this what you did ?

Link to comment
Share on other sites

When you say all the links , you mean the shop links ?


take a look at configure.php

its in the catalog/includes/ folder.

There are some paths there that need to be defined before the shop will work. Are you using V2.2 ? Did you run the install ?

Link to comment
Share on other sites

  • 2 years later...

Seems I have same problem with admin. :'(


I have uploaded my files to the servers, the catalog works fine but the admin page does not show up. It's juz a blank page. I use "myadmin" as the folder name since "admin" is already used to access my webhost control panel. Everything is fine on localhost before. Is it because anything wrong with the path in configure.php or anything else? Here is My Webpage and admin page.


Please anyone help me resolve this. Thx.


myadmin/includes/configure.php file:

osCommerce, Open Source E-Commerce Solutions

Copyright (c) 2003 osCommerce

Released under the GNU General Public License

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://kadoshopping.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://kadoshopping.com');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/myadmin/'); // absolute path required
define('DIR_FS_ADMIN', '/var/www/html/myadmin/'); // absolute pate required
define('DIR_WS_CATALOG', '/'); // absolute path required
define('DIR_FS_CATALOG', '/var/www/html/'); // absolute path required
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 our database connection
define('DB_SERVER', 'kadoshopping.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', '*****');
define('DB_SERVER_PASSWORD', '*****');
define('DB_DATABASE', 'kadoshopping_com_-_main');
define('USE_PCONNECT', 'false'); // use persisstent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Link to comment
Share on other sites

  • 7 months later...
fixed the error, and thanks for the suggestion. catalog/admin seems to work.

problem is, all the links point to exchange.com/ something

ya know?

is there somewhere i'm suppose to configure that?


I'm having a similar problem. When I try access any link from the admin page, I get a Google page saying that mystore.com was not found. How did you fix this?

Link to comment
Share on other sites


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

  • Create New...