djsparks Posted July 12, 2005 Share Posted July 12, 2005 I've installed and configured most of the basic features of my catalog. Everything looks and works fine in Firefox. However, when I open the site in MS Internet Explorer, everything is haywire. None of the images display and the links don't work. The problem seems to be that in MSIE, the links aren't going to the actual URL (such as http://www.website.com/catalog/index.php) but are going to a truncated file (such as http:///index.php). Does anyone have any idea why this error would be occurring in MSIE but not in Firefox? I've searched the forums and can't find a clue. >_< Thanks! Link to comment Share on other sites More sharing options...
djsparks Posted July 15, 2005 Author Share Posted July 15, 2005 I'm surprised nobody has any ideas on this one. Surely it can't be just me having this problem--though, it is a strange matter, I admit. :'( Link to comment Share on other sites More sharing options...
♥Vger Posted July 15, 2005 Share Posted July 15, 2005 The problem relates to the setting of your base href. Firefox ignores this but IE doesn't. In this respect IE is more rigorous than Firefox in the pathways you set in your configuration files. So, you need to check your includes/configure.php files for errors. Vger Link to comment Share on other sites More sharing options...
djsparks Posted July 26, 2005 Author Share Posted July 26, 2005 Thanks for the reply. I'm not well versed in PHP but I don't see any href's at all in configure.php. I can't set the base href if there aren't any. Am I missing something? Thanks again! <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ 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', ''); // 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', ''); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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', 'XXX'); define('DB_SERVER_PASSWORD', 'XXX'); define('DB_DATABASE', 'XXX'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
oscommerceking Posted August 4, 2005 Share Posted August 4, 2005 Thanks for the reply. I'm not well versed in PHP but I don't see any href's at all in configure.php. I can't set the base href if there aren't any. Am I missing something? Thanks again! <?php /* ?$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ ?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', ''); // 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', ''); ?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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); ?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', 'XXX'); ?define('DB_SERVER_PASSWORD', 'XXX'); ?define('DB_DATABASE', 'XXX'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> <{POST_SNAPBACK}> perhaps we may work on a solution together as i am getting extra whitespace between my header images called in my header.php file, and it only happens in internet explorer Thanks Jon My Contributions: Add Search + Drop Down Anywhere, Eliminate Subcategories in Drop Down Link to comment Share on other sites More sharing options...
♥Vger Posted August 4, 2005 Share Posted August 4, 2005 Hi, Your configure.php file was never written to by the install - which is why it is empty of almost all of the data it should have. This is why you're getting the error. Vger Thanks for the reply. I'm not well versed in PHP but I don't see any href's at all in configure.php. I can't set the base href if there aren't any. Am I missing something? Thanks again! <?php /* ?$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ ?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', ''); // 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', ''); ?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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); ?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', 'XXX'); ?define('DB_SERVER_PASSWORD', 'XXX'); ?define('DB_DATABASE', 'XXX'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
AlanR Posted August 4, 2005 Share Posted August 4, 2005 I've installed and configured most of the basic features of my catalog. Everything looks and works fine in Firefox. However, when I open the site in MS Internet Explorer, everything is haywire. None of the images display and the links don't work. The problem seems to be that in MSIE, the links aren't going to the actual URL (such as http://www.website.com/catalog/index.php) but are going to a truncated file (such as http:///index.php). Does anyone have any idea why this error would be occurring in MSIE but not in Firefox? I've searched the forums and can't find a clue. >_< Thanks! <{POST_SNAPBACK}> Posting an essentially blank configure.php won't help. We'll need a link to the site if you want to solve the problem. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
♥Vger Posted August 4, 2005 Share Posted August 4, 2005 All of the entries below need to be filled in - and that's the only thing that's going to help, because until they are filled in we won't see the site. define('HTTP_SERVER', ''); // 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', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); Vger p.s. Alan - this file wasn't written to by the looks of things. Link to comment Share on other sites More sharing options...
AlanR Posted August 4, 2005 Share Posted August 4, 2005 p.s. Alan - this file wasn't written to by the looks of things. <{POST_SNAPBACK}> If the file wasn't written the site wouldn't work in any browser. He's complaining about its behaviour in a specific browser. He most likely posted a blank file, not the active one. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
pede0199 Posted October 26, 2005 Share Posted October 26, 2005 If the file wasn't written the site wouldn't work in any browser. He's complaining about its behaviour in a specific browser. He most likely posted a blank file, not the active one. I have the exact same problem in my configuration. The pages look Ok in Opera, but in IE I have no images and no icons. I have tried changing the config.php file, and the behavior is slightly different depending on the settings, but the result is the same. Images refer to http:///images. there is no reference to the web page. The site address is: www.lillevenn.no Here's my current config.php define('HTTP_SERVER', 'http://www.lillevenn.no'); // 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', 'http://www.lillevenn.no'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/butikk/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/butikk/'); 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/lillev00/www/butikk/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
♥Vger Posted October 26, 2005 Share Posted October 26, 2005 Read my post here: http://www.oscommerce.com/forums/index.php?sho...05entry729705 Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.