PDA

View Full Version : Bug in Advanced Gallery script



LeeGoldsmith
02-02-2006, 08:51 PM
I have installed the Advanced Gallery Script and get an error on the page it is installed in. The browser status bar has Error in page and this is what is displayed when you get details.

Line: 66
Char: 1
Error: 'style' is null or not an object
Code: 0
URL: http://lfp.loonsecho.net/index.php


Line: 64
Char: 1
Error: 'style' is null or not an object
Code: 0
URL: http://lfp.loonsecho.net/index_t.php


Line: 64
Char: 1
Error: 'style' is null or not an object
Code: 0
URL: http://lfp.loonsecho.net/index_b.php


Line: 64
Char: 1
Error: 'style' is null or not an object
Code: 0
URL: http://lfp.loonsecho.net/index_l.php



Not sure what the problem is but the script seems to be working OK but the error message is disconserting.

Thanks for any help

Lee

jscheuer1
02-03-2006, 05:01 AM
This is not a bug in the script. Somehow, you have included (probably via php includes) the script on a number of your index_x.php pages where there is no supporting HTML for the script. It appears that only index_m.php has such supporting code. The script has even found its way onto the main index.php page as well, which also has no supporting HTML code for it.

LeeGoldsmith
02-06-2006, 01:29 PM
John

Thanks very much for the help. I got the script to work correctly. It was because I was using CuteSiteBuilder and frames that I was having trouble. I placed the code for the HEAD in with the other code and now it works fine.

One more question, is there a way to get the content of the messages to be in a file so I can make changes to that file and not re-publish each time I want to make a change.

Thanks

Lee

jscheuer1
02-06-2006, 08:39 PM
One more question, is there a way to get the content of the messages to be in a file so I can make changes to that file and not re-publish each time I want to make a change.

This no longer belongs in Bug Reports, I will start a new thread in DD Scripts Help (http://www.dynamicdrive.com/forums/showthread.php?p=26622#post26622), to answer.