Now looking at my index.php, line 25 is:
$name = $row['main_module'];
Curious if there's a bug or just something I missed. Noticed my theme (TI2K) uses hover over buttons for index.php but those don't work. Related or shooting in the dark? Like I said, site runs fine, but I wanted to see why this was showing up down there.
Thx in advance.
Salz Guest
Posted:
Thu Jul 07, 2005 12:52 pm
UPDATE:
Just testing something out. I went into IE's security tab, disabled scripting, and went back to my site, and the error is gone. Re-enable the scripting causes the yellow error message as posted above to reappear again.
I think I'm onto something, but at this point I'm looking for some help to solve this. I would assume it's something to do with the javascript but why would it refer to line 25?
Suggestions please. thx again in advance.
Salz Guest
Posted:
Thu Jul 07, 2005 12:59 pm
UPDATE AGAIN:
Solved it. For those who run into this, for the theme i was using, i didn't include the code for the javascript in the includes/my_header.php.
In example:
Code:
<SCRIPT TYPE="text/javascript">
<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
header_03_over = newImage("themes/Ti2k/images/header_03-over.gif");
header_04_over = newImage("themes/Ti2k/images/header_04-over.gif");
header_05_over = newImage("themes/Ti2k/images/header_05-over.gif");
header_06_over = newImage("themes/Ti2k/images/header_06-over.gif");
header_07_over = newImage("themes/Ti2k/images/header_07-over.gif");
preloadFlag = true;
}
}
// -->
</SCRIPT>
If you have this problem, do not just write over your current my_header.php as mods like Sentinel have the ipban.php in there. Good luck.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum