jman33 Posted October 16, 2005 Share Posted October 16, 2005 decided to make this a new topic. i screwed up my configure file. now when i am at the admin panel i have link problems. for example i click on configuration and get The requested URL /mmc/catalog/admin/configuration.php was not found on this server. and the link is http://www.monstermountaincomputers.com/mm...admin/index.php? if you take out the mmc in the above link it works just fine. i need to figure out what is wrong in my configure.php file. i messed around with some stuff and probably made it worse. help is greatly appreciated on this one. here is the configure.php file // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.monstermountaincomputers.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.monstermountaincomputers.com'); //define('HTTPS_CATALOG_SERVER', 'http://www.monstermountaincomputers.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/mmc/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/var/www/html/mmc/catalog/'); // 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/'); Link to comment Share on other sites More sharing options...
Rotibajan Posted October 16, 2005 Share Posted October 16, 2005 these lines should read like this: UNLESS you have your directories different.. please make sure before your make this change and backup, backup what you already have as a configure.php in case you need to go back to that.... // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.monstermountaincomputers.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.monstermountaincomputers.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.monstermountaincomputers.com'); define('HTTPS_COOKIE_DOMAIN', 'www.monstermountaincomputers.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); decided to make this a new topic. i screwed up my configure file. now when i am at the admin panel i have link problems. for example i click on configuration and get The requested URL /mmc/catalog/admin/configuration.php was not found on this server. and the link is http://www.monstermountaincomputers.com/mm...admin/index.php? if you take out the mmc in the above link it works just fine. i need to figure out what is wrong in my configure.php file. i messed around with some stuff and probably made it worse. help is greatly appreciated on this one. here is the configure.php file // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.monstermountaincomputers.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.monstermountaincomputers.com'); //define('HTTPS_CATALOG_SERVER', 'http://www.monstermountaincomputers.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/mmc/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/var/www/html/mmc/catalog/'); // 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/'); Link to comment Share on other sites More sharing options...
ecgbyme Posted October 16, 2005 Share Posted October 16, 2005 Are you trying to implement SSL? Let me know. You can always install another store and up load the newly generated configure.php file to replace your screwed up one. Hope this is helpful. Link to comment Share on other sites More sharing options...
jman33 Posted October 16, 2005 Author Share Posted October 16, 2005 these lines should read like this: UNLESS you have your directories different.. please make sure before your make this change and backup, backup what you already have as a configure.php in case you need to go back to that.... // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.monstermountaincomputers.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.monstermountaincomputers.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.monstermountaincomputers.com'); define('HTTPS_COOKIE_DOMAIN', 'www.monstermountaincomputers.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); you are talking about the configure.php from catalog/includes and the one posted is for the one from admin. Are you trying to implement SSL? Let me know.You can always install another store and up load the newly generated configure.php file to replace your screwed up one. Hope this is helpful. no i am not trying to implement ssl. i may try your idea of installing another one if no one can help me with a quick fix. thanks. Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2005 Share Posted October 16, 2005 define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required to define('DIR_FS_ADMIN', '/var/www/html/mmc/catalog/admin/'); define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/mmc/catalog/'); to define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.