Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Problem with images on category pages - IE7

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-01-2011, 05:57 AM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Problem with images on category pages - IE7

Hi,

I have been developing our new site (http://xcart.traininglines.co.uk) for a while, and have noticed a problem with the display of images in the category list on IE7. I accept that this is an old version, and it doesn't seem to happen in FF 3.6, Safari 5, or IE9, but according to analytics on our current site, somewhere between 5 and 10% of our visitors use IE7 and I don't really want to ignore them. Also, I don't have IE8 which is the most popular browser, and the problem may also show in that.

Essentially, in the product category pages, there are almost no images being displayed against the products when you first load the page. Oddly enough, the last product (usually on the featured list, which is at the bottom of the page) has an image, but none of the others. Sometimes others do show up (usually only 1 per page), but certainly not all.

That's when it gets stranger.

If I add an item to the basket, I get the 'add to cart' alert, behind which the edge of the image of the product I am adding actually appears. When I close the alert box, that image disappears again, and all of the other images on the page appear.

Even stranger still, if I go to a different page I have the same problem with missing images until I pass the mouse over the cart total tooltip - then all of the images appear again as if by magic.

It's fair to say that the category pages are completely different to the standard template, and many changes have been made to the tpl file and css (probably not in the most elegant way), but even taking that into consideration, I'm finding this behaviour extremly odd. The apparent unpredictability of it, for one thing.

I have also noticed the warning 'Done, but with errors on page' when the pages first load. They may well be related, or they may not be. I don't get that warning on other browsers (at least, I can't see it).

I'd appreciate your thoughts.

Cheers

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
  #2  
Old 07-04-2011, 06:22 AM
  rubyaryat's Avatar 
rubyaryat rubyaryat is offline
 

eXpert
  
Join Date: Feb 2003
Location: Canada
Posts: 289
 

Default Re: Problem with images on category pages - IE7

What are the errors that are reported when loading the pages? These may be causing issues.
Also, have you validated your categories pages as valid HTML? Perhaps there is a HTML dom error that IE7 borks on.

Is the problem when loading the categories pages as a php page? i.e. dynamically?
For a test, save a category page from your browser as html, to your hard drive, then upload it to the server, and re-test it. Do you get the same problem?
Catalog feature of x-cart may be an option if it is rendering ok via HTML but not php.

Rubyaryat
__________________
Rubymods.com - Your X-Cart services partner for over 9 years.
Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods.
X-Cart Store Hosting, project management and affiliates program available.
4.2.3 gold [Unix]
Reply With Quote
  #3  
Old 07-04-2011, 01:33 PM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Re: Problem with images on category pages - IE7

Hi Rubyaryat,

Many thanks for your reply.

The message seems to be:

Line: 31
Char: 713
Error: 'script.parentNode' is null or not an object
Code:0
URL: http://www.xcart.traininglines.co.uk/home.php?cat=250

I'm not even sure where to start with that...

The problem does show in the php page, and I saved it as a '.htm' file and uploaded it as you suggested. It did the same.

There is more to this problem though, some of which I only just noticed.

Firstly, I forgot to mention in my original post that it isn't just the image that is missing. The product title is also missing, and therefore, so is the link to the product page. My apologies for missing this out.

Secondly, just while I've been playing with this over the last day or so, I've noticed that it isn't just adding stuff to the basket or passing the mouse over the tooltip that makes the images (and title) appear. It seems that even if I change to another tab in IE, and update it in some way (refresh, link to another page, etc) then when I return to my store tab, the images and title are there.

Bizarre, and probably more indicative of my IE installation that my x-cart store.

Cheers

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
  #4  
Old 07-13-2011, 04:45 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Problem with images on category pages - IE7

As far as I can see there is a problem:
Code:
<img src="$ImagesDir}/loading.gif" style="position: absolute; left: 52px; top: 20px; display: none; ">

Code:
Request URL:http://www.xcart.traininglines.co.uk/$ImagesDir%7D/loading.gif Request Method:GET Status Code:404 Not Found

It could be the cause of problems in IE.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 07-13-2011, 05:04 AM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Re: Problem with images on category pages - IE7

Hi Alex,

Many thanks for your post.

I assume you're referring to the missing open curly bracket. Can you determine where the img tag actually is so that I can rectify it?

Many thanks

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
  #6  
Old 07-14-2011, 10:24 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Problem with images on category pages - IE7

You should check the "skin/common_files/js/fadeslideshow.js" file.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #7  
Old 07-16-2011, 05:25 AM
 
carnafeagh carnafeagh is offline
 

Member
  
Join Date: Jul 2009
Posts: 18
 

Default Re: Problem with images on category pages - IE7

I checked with my newest version of IE and all your pics are showing.

Jill
__________________
Jill Morgan
Version: version 4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:51 PM.

   

 
X-Cart forums © 2001-2020