Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stylesheet problem explorer


jahannas

Recommended Posts

Hello,

 

I built a an OScommerce that was working well, but since yesterday both the general stylesheet and the pictures weren't showing anymore in explorer (without anything being changed as far as I know). I got back the images by putting in the whole path in includes/configure.php (define('DIR_WS_IMAGES', 'http://www.coscombeauty.nl/images/'); ) but still haven't managed to get explorer working with the stylesheet again...

 

Firefox works fine

 

Someone knows the answer to this...?

 

Grtz Hans

Link to comment
Share on other sites

(define('DIR_WS_IMAGES', 'http://www.coscombeauty.nl/images/'); )

Put that back to

  define('DIR_WS_IMAGES', 'images/');

In your store front pages index.php, conditions.php, shopping_cart.php etc, look for this inside the <head></head> section.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

If that is not in your pages, add it in. If it is may need to double check the config file.

Link to comment
Share on other sites

Put that back to

  define('DIR_WS_IMAGES', 'images/');

In your store front pages index.php, conditions.php, shopping_cart.php etc, look for this inside the <head></head> section.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

If that is not in your pages, add it in. If it is may need to double check the config file.

 

Thanks, but that's already there...

 

(.....)

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

 

(.....)

 

What should I check in the config file?

Link to comment
Share on other sites

Thanks, but that's already there...

 

(.....)

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

 

(.....)

 

What should I check in the config file?

 

 

Okay, solved it: There was no address in

 

define('HTTPS_SERVER', 'http://www.coscombeauty.nl'); in the configure file

 

I put it in and now its working okay again.

 

The weird thing is, it was never there before, and still it worked well 'till yesterday....

 

Thanks for rapid answering!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...