Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wierd Browser Problem!


Asteios

Recommended Posts

Hey guys,

 

I'm putting together an oscommerce site, and installed the STS addon. Everything is fine in Mozilla and Opera but in IE niether the images, the css work or any of the links work.

 

When you look at the link for the images in IE it shows http:///catalog/includes/etc etc

 

For some reason IE keeps putting in the extra slash and i can't figure out why!

 

The site is here

 

Has anyone else had this problem?? From searching around i found a source of the problem maybe in the configure.php script but i've tried a bunch of different things and still can't fix it!

 

Here's the config file quoted:

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

 

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', ''); // eg,
- should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg,
- 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', '************');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '************');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

// STS: ADD: Define Simple Template System files

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/mysite/');

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php');

// STS: EOADD

 

?>

 

Thanks for you help,

 

- Asteios

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.yourdomain.com');

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

 

Vger

Link to comment
Share on other sites

Hey,

 

Thanks that fixed the main problem with IE. Now though in internet explorer in the left column nav bar, it shows that it's missing pictures, but the links to the pictures don't actually point to anything, and I definitly didn't put them there.

 

Check it out in IE then in mozilla or opera and you'll see what i'm talking about!

 

Thanks guys,

 

- Asteios

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...