[Album Select] causing IE script warning

picdude

Joined: 2006-06-13
Posts: 72
Posted: Fri, 2009-06-19 15:48

Gallery URL = http://www.photosbybailini.com/g2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.7 cgi
Webserver = Apache
Database = mysqlt 5.0.45-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, SquareThumb, Gd, ImageMagick
Acceleration = partial/900, partial/900
Operating system = Linux cgi0701.int.bizland.net 2.6.29.4 #1 SMP Mon Jun 1 13:08:14 EDT 2009 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)
Rows in GalleryAccessMap table = 459
Rows in GalleryAccessSubscriberMap table = 35654
Rows in GalleryUser table = 118
Rows in GalleryItem table = 35652
Rows in GalleryAlbumItem table = 1286
Rows in GalleryCacheMap table = 20905

I have been using the Album Select all along in the "tree" configuration. About a month ago, I started seeing this warning when I was logged in as Admin:

Stop running this script?

A script on this page is causing Internet Explorer to run slowly. If it continues, your computer may become unresponsive.

Yes/No

If I click "yes", the album tree does not load, which is how I know that the problem is in there. Now I'm getting this warning even when I'm not logged in.... and so are all of my customers who are using IE. I've deleted and reinstalled the latest release of Album Select and also IE 8, but still getting the warning. It ONLY happens with IE. Mozilla, Opera, Safari, etc don't have this problem.

My host is at a loss for ideas as am I.
Any ideas here?

Thanks,
Andrew

PS. if you go to the url using IE, you can see the warning for yourself.

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16311
Posted: Sat, 2009-06-20 03:55

Does it work with another theme?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
picdude

Joined: 2006-06-13
Posts: 72
Posted: Sat, 2009-06-20 18:40

Hi Dave,

I tried it with a few different themes and still got the same script warning. The only one that did not produce the warning was the Floatrix theme (flash based) but I wasn't keen on the appearance. Also, there is not much customization available with Floatrix (copyright footer, logo, etc)

I've since had to disable the DHTML Album Select module because it was starting to freeze up my machine. It's unfortunate. The album tree was very handy for navigating my Gallery...

Andrew

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16311
Posted: Sun, 2009-06-21 03:44

I can only assume that you have too many items/albums for the browser to handle all the javascript.
I bet that the regular html ( dropdown ) album select module will work.
It could be modified to use css to get the same effect but you woul have to have <li> and css experience to make it all work.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
picdude

Joined: 2006-06-13
Posts: 72
Posted: Mon, 2009-06-22 15:21

I came to the same assumption. When this first started, I could click "no" and the page including the problem script would load normally. Now, if I click "no" the page freezes up. Since I've added a few more events, it makes sense that there is a finite number of albums the script can process. You are correct, though, that the dropdown album select works fine. However, I have way too many albums to make it practical.

If you or any other developers who may be reading this have the inclination to delve into it further, my suggestion would be to have the script read only the top level albums as needed. Then, when one branch is opened, it can access the album info for only those sub-albums. Since I don't have any script experience, though, I don't even know if that is possible.

Thanks,
Andrew

PS. as a point of curiosity, does it make sense to you that this was only happening with IE? If it's a script problem, then shouldn't it happen regardless of which browser is accessing it? That's one thing I can't wrap my head around...

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16311
Posted: Tue, 2009-06-23 01:27

Why only IE you ask? If it works in most browsers it is not a script bug it seems to be a resource memory issue with IE. WHy....That is a question for the guys and gals in Redmond.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
picdude

Joined: 2006-06-13
Posts: 72
Posted: Tue, 2009-06-23 13:03

now, THAT is interesting! With all the scripts on all the websites in the global community, it took my little ol' album select to find IE's limit.

I may follow up with them....

Thanks Dave.

Login or register to post comments