Trusten Posted September 18, 2002 Share Posted September 18, 2002 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' PLEASE HELP! Link to comment Share on other sites More sharing options...
msaunders Posted September 18, 2002 Share Posted September 18, 2002 Hi 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 ? martin Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 well i'm very new at this. let's just say that babysteps are hard enough as it is. could you just tell me where i need to change it, and I Will. Link to comment Share on other sites More sharing options...
msaunders Posted September 18, 2002 Share Posted September 18, 2002 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 ... www.yoursite.com/catalog and to access the admin I have www.yoursite.com/catalog/admin Is this what you did ? Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 OH NO!! it's not. oh my gosh :oops: um, i'll be right back Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 well they are both in the root. so it's ok, but i thought the instructions said to put them both in the root. Link to comment Share on other sites More sharing options...
msaunders Posted September 18, 2002 Share Posted September 18, 2002 Yes, but are you still having the same problem ? Is your admin folder in the root ? did you put it in the catalog folder ? Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 it's in the root. but mostly, i keep getting an error on line 39 and line 46 no matter what i do. Link to comment Share on other sites More sharing options...
msaunders Posted September 18, 2002 Share Posted September 18, 2002 hmmm. then Im not sure .. did u do a search in the forum ? That wasnt your original problem was it ? Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 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? Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 great, everything seems to be ok now. YOU GUYS MAY WANT TO include that. like in the install file, make it include the footnote or something "if the admin folder is a problem, try...." ya know? much obliged! Link to comment Share on other sites More sharing options...
msaunders Posted September 18, 2002 Share Posted September 18, 2002 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 More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 no, i didn't run any install and yeah, i think it's 2.2 i'm reading the install file though, so i got those links working too. Link to comment Share on other sites More sharing options...
msaunders Posted September 18, 2002 Share Posted September 18, 2002 cool, well done , you just graduated from junior newbie to a senior newbie, like myself 8) Link to comment Share on other sites More sharing options...
Trusten Posted September 18, 2002 Author Share Posted September 18, 2002 lol. thanks Link to comment Share on other sites More sharing options...
zhen Posted October 20, 2004 Share Posted October 20, 2004 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: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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('HTTPS_CATALOG_SERVER', ''); 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 More sharing options...
vilja Posted May 21, 2005 Share Posted May 21, 2005 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? <{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.