inkman Posted November 3, 2009 Posted November 3, 2009 When I try to go to my /admin section of my website it redirects me to the login.php page. This is the error I get: http://mywebsite.comdir_ws_http_cataloglogin.php/ Anyone know how to fix this?
web-project Posted November 3, 2009 Posted November 3, 2009 When I try to go to my /admin section of my website it redirects me to the login.php page. Anyone know how to fix this? what you are expected? as it should be as the admin section is protected! the first access after installation the osc ask you to setup the admin username and password. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
inkman Posted November 3, 2009 Author Posted November 3, 2009 what you are expected? as it should be as the admin section is protected! the first access after installation the osc ask you to setup the admin username and password. I've had the site since January of this year. The error started today. Here is the error: mywebsite.comdir_ws_http_cataloglogin.php/ There is no separation between my site and the function of the cataloglogin.php. I just don't know where to find where it redirects.
inkman Posted November 3, 2009 Author Posted November 3, 2009 Whenever I type /admin to log into my admin section I get this error: Firefox cant find the server at: http://mywebsite.comdir_ws_http_cataloglogin.php/ It looks like a config issue, but I have no idea how to correct this and get me back into my admin section. Please help
♥geoffreywalton Posted November 3, 2009 Posted November 3, 2009 Look at the settings in /admin/includes/configure.php Should start something like this <?php define('HTTP_SERVER', 'http://www.mysite.ie'); define('HTTP_CATALOG_SERVER', 'http://www.mysite.ie'); define('HTTPS_CATALOG_SERVER', 'https://www.mysite.ie'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/mysite.ie/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/var/www/mysite.ie/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/var/www/mysite.ie/'); 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_IMAGE_PREFIX','product_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/product_images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
inkman Posted November 3, 2009 Author Posted November 3, 2009 Look at the settings in /admin/includes/configure.php Should start something like this <?php define('HTTP_SERVER', 'http://www.mysite.ie'); define('HTTP_CATALOG_SERVER', 'http://www.mysite.ie'); define('HTTPS_CATALOG_SERVER', 'https://www.mysite.ie'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/mysite.ie/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/var/www/mysite.ie/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/var/www/mysite.ie/'); 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_IMAGE_PREFIX','product_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/product_images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Here's mine. <?php define('HTTP_SERVER', 'http://mysite.com'); define('HTTP_CATALOG_SERVER', 'http://mysite.com'); define('HTTPS_CATALOG_SERVER', 'http://mysite.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home1/ink/public_html/mysite/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home1/ink/public_html/mysite/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home1/ink/public_html/mysite/'); 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('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'XXX_osc'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxx'); define('DB_DATABASE', 'xxx_osc'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.