lildagg3r Posted April 23, 2004 Posted April 23, 2004 Finally I have osC 2.2 installed correctly after the 3rd try, like one side 3rd is a charm. Well one task is down and now ready to face more. Okay todays latest bug i got is double slash's // . I recall seeing this fix once before, but i can't seem to find it at the search engine. By the way the search engine is kinda off... So anyone got some bright ideas on this entry? File Manager /public_html/catalog//includes I think the error is sitting in /catalog/admin/file_manager.php Install Docs | docsCat | apiStandards | PageIndex
lildagg3r Posted April 23, 2004 Author Posted April 23, 2004 Sorry i forgot the SNAP SHOT Install Docs | docsCat | apiStandards | PageIndex
JynMeyer Posted April 23, 2004 Posted April 23, 2004 Sorry i forgot the SNAP SHOT Weeeeiiiirrrdddd...... -Jyn =======,+'^'+,=============================== Jyn Meyer `+,.,+' Be Glad the world sucks- if it didn't we would all fall off. ===========================================
masat Posted April 23, 2004 Posted April 23, 2004 Take a good, hard look at your admin/includes/configure.php. My guess is you have a / in your path where there should not be one. Maybe on the define server lines as these have no trailing / Tim How do you know when you know what you want to do for the rest of your life?
lildagg3r Posted April 24, 2004 Author Posted April 24, 2004 Here is the admin/includes/configure.php code. I am lost on where to make the changes. <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 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://abc123.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://abc123.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/dkscoote/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/dkscoote/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/dkscoote/public_html/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/'); Huey Install Docs | docsCat | apiStandards | PageIndex
lildagg3r Posted April 24, 2004 Author Posted April 24, 2004 Take a good, hard look at your admin/includes/configure.php. My guess is you have a / in your path where there should not be one. Maybe on the define server lines as these have no trailing / Tim Hi tim, I took a hard look at the code as you mention above... I compare line per line and made the changes. I got some major erros and so lite errors. So I narrow down to 2 lines that made some difference but did not correct the problem. The bad new is that the double slash "//" still have not change, but the good parts is that i now can edit and save and files which i could not do before. below are the 2 changes made. Unmodified: define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module Modified: define('HTTPS_CATALOG_SERVER', '/'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Still no changes. But the good parts is got some things to working again. Will the double slash be problems in the long run? Well I guess I will find out short when I put together the site together. huey Install Docs | docsCat | apiStandards | PageIndex
Guest Posted April 24, 2004 Posted April 24, 2004 Post your catalog/includes/configure.php X out or omit the database info.
masat Posted April 25, 2004 Posted April 25, 2004 It appears I have located the culprit. This line in admin/includes/configure.php: define('DIR_FS_DOCUMENT_ROOT', '/home/dkscoote/public_html/catalog/'); // where the pages are located on the server Should be: define('DIR_FS_DOCUMENT_ROOT', '/home/dkscoote/public_html/catalog'); // where the pages are located on the server No trailing slash after catalog... It is strange but the problem does not seem to be repaired if I only refresh my browser after changeing and saving. I had to actually close the browser and then reopen it to see the change take affect. Tim How do you know when you know what you want to do for the rest of your life?
lildagg3r Posted April 25, 2004 Author Posted April 25, 2004 It working again...after making the changes you have suggested. refresh and the line went away. Thanks you very much for you help. Install Docs | docsCat | apiStandards | PageIndex
Recommended Posts
Archived
This topic is now archived and is closed to further replies.