BUG: symbols in album desciptions cause site layout to garble in IE (looks fine in firefox)

psygarden

Joined: 2003-03-25
Posts: 128
Posted: Thu, 2006-05-25 12:52

I've just finished updated my gallery from 2.0.4 to 2.1.1 and updating all components that where needed. things are working smoothly untill i opened the site in internet explorer. When i do this the site layout looks like it was drawn by a 3yr old... So i figured the theme wasn't IE compatible...

I then changed themes to PG theme, Siriux and Carbon... with the same results??? in album view (only) the thumbnails don't all appear (just 2 albums instead of 20, or the positioning is outside of the layout and more such terrible things... I just can't figure out what causes it...

My suspicion is that it is caused by one album (Alex grey, the second album it loads in the index page) but i can't seem to figure out what is causing it...

If anyone could please have a look and share their thoughts it would be greatly appreciated!

link to my site: www.psygarden.be > gallery (this is the embedded version in a e107 CMS)

Stanalone i have the same problem, you can see the standalone gallery here: www.psygarden.be/e107/gallery

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.2 apache2filter
Webserver = Apache/2.0.46 (Red Hat)
Database = mysql 3.23.58, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = partial/21600, partial/21600
Operating system = Linux server1.psychedelic.be 2.4.21-27.0.1.EL #1 Mon Dec 20 18:47:51 EST 2004 i686
Default theme = siriux
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

 
psygarden

Joined: 2003-03-25
Posts: 128
Posted: Thu, 2006-05-25 12:58

So i specify that i want 10 thumbnails displayed on the index page.

I only see 2 albums, I decided to hide the second album so it's only visable in admin mode. then it shows about 11 albums and I again see the error happening after the 11th album... I hide the 11th album then i see about 18 albums..

It has to be an error on album level then, but i can't figure out yet what is causing it?

Applied all maintenance functions regarding cache and optimisation with any influence.

 
psygarden

Joined: 2003-03-25
Posts: 128
Posted: Thu, 2006-05-25 13:06

Deleting the album and uploading again does solve the problem... i just hope it's a limited problem because it's a gallery with 2400 images and some 120 albums...

 
psygarden

Joined: 2003-03-25
Posts: 128
Posted: Thu, 2006-05-25 13:10

The problem is only there when i have a certain text in the album description (1 table with an image and some text)... when i remove the desciption it loads fine?

Strange because i have html code in every description...

When I replace the desciption by the one of a different album it works fine?

So some character inside the decription of my album is scrambling the layout of my gallery index. This should be a bug because i don't see how any character in the desciption should be bale to influence other parts of the site???

Is there a list of characters that are and aren't allowed?

Strange that a piece of data that isn't even displayed in that page can have such influence. Also, when you look at the gallery with the data that is causing it, there is no problem... it looks fine.

 
psygarden

Joined: 2003-03-25
Posts: 128
Posted: Thu, 2006-05-25 13:20

conclusion: having some text in between " characters that are not part of actual complete html code totally ruins the site layout???

this problem never occured in the old version (2.0.4)

I can confirm this by just adding the brackets to any piece of text in the desciption... the index thumbnails will not load beyond the thumbnail of any album who's desciption contains this symbol..

I think this needs a fix in the gallery code ;)

Happy debugging!

and thanks for a wonderful platform!!!