Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pictures gone - path problem


Oldy

Recommended Posts

Posted

Shop has been online without problems for over a year now.

 

And suddenly when using Internet Explorer I can not see any images and css file is not loading.

When looking by Firefox or Opera, everything is fine.

http://www.openantique.com/

 

As you can see, source code is same in all browsers, but IE can not show the content

image path looks like: http:///images/infobox/corner_right_left.gif - domain name is missing!

Posted
Shop has been online without problems for over a year now.

 

And suddenly when using Internet Explorer I can not see any images and css file is not loading.

When looking by Firefox or Opera, everything is fine.

http://www.openantique.com/

 

As you can see, source code is same in all browsers, but IE can not show the content

image path looks like: http:///images/infobox/corner_right_left.gif - domain name is missing!

Are you by chance using the contribution "Infobox Templates for STS"? If so, there is a bug in the links used to call the images for the templates. Check the paths in the two templates needed for the infobox.

 

Hope this helps,

 

Bill Kellum

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Posted

I'm not using that contribution and I did not change anything when this stop to function (but I'm not sure since I did not use Internet Explorer for long time)...

 

Here is my config:

  define('HTTP_SERVER', 'http://www.openantique.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', 'openantique.com');
 define('HTTPS_COOKIE_DOMAIN', 'openantique.com');
 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_IMAGES_MEDIUM', 'images/medium/'); // CAO 3 Images
 define('DIR_WS_IMAGES_LARGE', 'images/large/'); // CAO 3 images
 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/opena/public_html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted
I'm not using that contribution and I did not change anything when this stop to function (but I'm not sure since I did not use Internet Explorer for long time)...

 

Here is my config:

  define('HTTP_SERVER', 'http://www.openantique.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', 'openantique.com');
 define('HTTPS_COOKIE_DOMAIN', 'openantique.com');
 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_IMAGES_MEDIUM', 'images/medium/'); // CAO 3 Images
 define('DIR_WS_IMAGES_LARGE', 'images/large/'); // CAO 3 images
 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/opena/public_html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

WELL

 

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

 

LOOKS correct! :-)

 

Problem must be in maybe a contrib bug or obviously somewhere common. What do you have for contribs?

Also did you notice this started to happed suddenly after you worked on the site or did it just start on its own?

 

Nancy

Posted

suggestions

 

check for a secondary configure.php in the includes/local folder

 

do an echo of the HTTP_SERVER variable which gets picked up just fine in FF but not IE

 

check if there have been code changes made to the base define in the files ... compare to this:

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

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

There is no configure.php in includes/local folder, only this two files: README .cvsignore

 

<base href="/"> is same in sorce code in FireFox and IE.

That line is not changed in php files...

 

But I have figured out...

As you can see, there is no DIR_WS_CATALOG defined in config, so I have added it.

 

define('DIR_WS_CATALOG', 'openantique.com'); // and it works now, Thanks!

Posted
suggestions

 

check for a secondary configure.php in the includes/local folder

 

do an echo of the HTTP_SERVER variable which gets picked up just fine in FF but not IE

 

check if there have been code changes made to the base define in the files ... compare to this:

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

 

sorry for my wrong copying ... I did not mean to say echo the HTTP_SERVER but echo the DIR_WS_CATALOG

 

I can see that right now you do not have SSL (which is a shame BTW as many people will not shop if there is none) ... but hardcoding DIR_WS_CATALOG in configure.php should not be done.

 

You must - probably during contrib installation - have lost the DIR_WS_CATALOG define from application_top.php

 

if ($request_type == 'NONSSL') {

define('DIR_WS_CATALOG', DIR_WS_HTTP_CATALOG);

} else {

define('DIR_WS_CATALOG', DIR_WS_HTTPS_CATALOG);

}

 

line 46 in a vanilla version ... check yours and correct things, so in case (hopefully soon) you add SSL your base will be defined correctly

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...