timcrafton Posted December 25, 2004 Posted December 25, 2004 Hello everyone, hope everyone is having a great holiday season. I was tinkering around with my configure.php (after making backup) and messed something up, and am really not sure how, and when I upped the backup I still getting the same thing, I am really baffled, and wishing I hadnt screwed around with it this morning being christmas and all... Anyways below are the symptoms, if anyone can help me out here I would majorly appreciate it. www.advancededm.com Index page loads fine, with all images, and CSS when I click on the different categories, my images do not load, and the stylesheet does not seem to be active. I cannot figure this one out... Also the "Information Pages" all load images and CSS fine. Anyone with any ideas? Thanks a BUNCH!
smenster Posted December 25, 2004 Posted December 25, 2004 it seems you have messed up the directory's in your configure.php.When you take al look at the image properties i see the following path>>http:///images/edm_supply.gif You probably forgot to fill in the following line: define('HTTP_SERVER', 'http://yourdoamin.com');
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 it seems you have messed up the directory's in your configure.php.When you take al look at the image properties i see the following path>>http:///images/edm_supply.gif You probably forgot to fill in the following line: define('HTTP_SERVER', 'http://yourdoamin.com'); <{POST_SNAPBACK}> Thanks for the quick reply... Here are the lines right from my configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://advancededm.com'); // eg, http://localhost - should not be empty for productive servers Also, I just realized that with Internet Explorer even the index page is not working, man this is wierd.
smenster Posted December 25, 2004 Posted December 25, 2004 I see 3 slashes when i look at the image properties Does the line "define('HTTP_SERVER', 'http://advancededm.com'); " appear twice in your configure.php? (post your complete configure.php, gives me a better chance of finding the problem, and don't forget to remove your database password and username at the bottom !!!!!)
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 This is bizzare, in Internet explorer the header images properties say like above: http:///images/edm_supply.gif In Firefox the index page displays fine, but all the other pages images properties say this: http://advancededm.com/index.php/cPath/images/edm_supply.gif which is obvioulsly not even close to right, I just can see how this can be <<??>>
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 I see 3 slashes when i look at the image propertiesDoes the line "define('HTTP_SERVER', 'http://advancededm.com'); " appear twice in your configure.php? (post your complete configure.php, gives me a better chance of finding the problem, and don't forget to remove your database password and username at the bottom !!!!!) <{POST_SNAPBACK}> <?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://www.advancededm.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL',false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'advancededm.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/crafton/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxx_xxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
smenster Posted December 25, 2004 Posted December 25, 2004 i think the page is cached in forefox, i have the problem in firefox
smenster Posted December 25, 2004 Posted December 25, 2004 i mean i cant see the pics (the 3 slahes don't appear in firefox) strrrrrange things are happening here
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 i think the page is cached in forefox, i have the problem in firefox <{POST_SNAPBACK}> Ya you right (duhhh) my bad...
smenster Posted December 25, 2004 Posted December 25, 2004 try removing the slash in the following line: define('DIR_WS_HTTP_CATALOG', '/');
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 try removing the slash in the following line:define('DIR_WS_HTTP_CATALOG', '/'); <{POST_SNAPBACK}> When I did that it made all the links wrong, i.e., missing the "/"
smenster Posted December 25, 2004 Posted December 25, 2004 i am (almost) out of suggestions....sorry, the best of luck. maybe someone else can help...i have one other suggestion, try to look for the /// with a text search tool, maybe something wil come up
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 OK, thanks for trying! I will search for that in config file. Anyone else have any sugggestions on this at all :'(
smenster Posted December 25, 2004 Posted December 25, 2004 i mean search for it trough all your files, not only the configure.php
JB04 Posted December 25, 2004 Posted December 25, 2004 I do not think there is anything wrong with your configure.php files=, when i went to the main index the left links were http://localhost/whatever.php When i entered the file name by hand all the other links were fine for these pages which strongly suggests you've made changes to your index.php somewhere as it's only this page, maybe removed a line somewhere?
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 I do not think there is anything wrong with your configure.php files=, when i went to the main index the left links were http://localhost/whatever.phpWhen i entered the file name by hand all the other links were fine for these pages which strongly suggests you've made changes to your index.php somewhere as it's only this page, maybe removed a line somewhere? <{POST_SNAPBACK}> Thx JB, I maybe was toying around with when you tried it, I think I have this all worked out now, at least on my PC.... BTW, James Benson from Michigan>>? Anyways, thanks to everyone that helped, and I really never found the resolution to share on this post, I just had my hosting company do a restore... :rolleyes: Lesson of the Day: Dont Screw with stuff on Christmas Morn' Peace, TC
timcrafton Posted December 25, 2004 Author Posted December 25, 2004 Thx JB, I maybe was toying around with when you tried it, I think I have this all worked out now, at least on my PC.... BTW, James Benson from Michigan>>? Anyways, thanks to everyone that helped, and I really never found the resolution to share on this post, I just had my hosting company do a restore... :rolleyes: Lesson of the Day: Dont Screw with stuff on Christmas Morn' Peace, TC <{POST_SNAPBACK}> Just a quick hey to my webhost for taking care of this trouble ticket in less then an hour on christmas morning... http://www.aqhost.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.