ZiRu$
11-24-2002, 04:32 AM
Everytime i click on any of the admin options in a thread...ex.
DELETE THREADS
i get a javascript error:
Line - 407
Char - 1
Error - 'document.adminoptionsform' is null or not an object
Code - 0
Url - http://www.xxxxxxx.xxx/showthread.php?s=&threadid=22
Also if i ignore the error and click the GO button i just get a blank white page.....
EDIT: on showthread.php line 407 is a blank space
Admin
11-24-2002, 06:22 AM
We need to see the HTML code in order to understand what the problem is... the PHP code is useless in this case. :)
ZiRu$
11-24-2002, 02:19 PM
ok
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>test - Cool Thread</title>
<meta http-equiv="MSThemeCompatible" content="Yes">
<script language="JavaScript">
function whoaward(userid) {
window.open("mod/modaward.php?action=whoaward&userid="+userid, "whoaward", "toolbar=no,scrollbars=yes,resizable=yes,width=340, height=450, top=50, left=50");
}
</script>
<style type="text/css">
BODY {
SCROLLBAR-BASE-COLOR: #616161;
SCROLLBAR-ARROW-COLOR: #000000;
}
SELECT {
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
FONT-SIZE: 11px;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
FONT-SIZE: 12px;
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
A:link, A:visited, A:active {
COLOR: #000000;
}
A:hover {
COLOR: #747474;
}
#cat A:link, #cat A:visited, #cat A:active {
COLOR: #000000;
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: #000000;
TEXT-DECORATION: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: #000000;
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: #747474;
TEXT-DECORATION: underline;
}
.thtcolor {
COLOR: #000000;
}
.addreply {
CURSOR: HAND;
}
.bordert {
BORDER: 1px solid #000000;
}
.pageNum {color: #ffffff; background-color: #808080; border-color: #000000; border-style: solid; border-width: 1px; margin: 0px; padding: 0px; padding-left: 4px; padding-right: 4px; width: 1em;}
a.pageNum {color: #0000ff; background-color: #e0e0e0;}
a.pageNum:hover {color: #ffffff; background-color: #a0a0a0;}
</style>
<script>
function openquote(){
var popurl="quote.php?s=&action=add"
winpops=window.open(popurl,"","width=700,height=525,")
}
</script>
<SCRIPT language=javascript>
function NavRollOver(oTd) {if (!oTd.contains(event.fromElement)) {oTd.bgColor="#E7E7E7";}}
function NavRollOut(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="#E1E1E1";}}
</SCRIPT>
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,wi dth=175,height=275,resizeable=yes,status=no")
}
function openeditsigwindow(x,y,sessionhash,userid) {
window.open("moderator.php?action=editsig&s="+sessionhash+"&userid="+userid, "EditSig", "toolbar=no,scrollbars=yes,resizable=yes,width="+x+",height="+y);
}
// -->
</script>
</head>
<body bgcolor="#3E454A" text="#1D3E58" id="all" leftmargin="5" topmargin="5" marginwidth="5" marginheight="5" link="#1E425E" vlink="#6D8DA6" alink="#000000">
<!-- logo and buttons -->
<center>
<table bgcolor="#FFFFFF" class="bordert" border="0" width="725" cellpadding="0" cellspacing="0">
<tr><td>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="left" background="images/menu_background.gif"><a href="index.php?s="><img src="images/header.gif" border="0" alt="test"></a>
<center><font size="2" face="Verdana, Arial, Helvetica, sans-serif">| <a href="/index.php?s=">Home</a> | <a href="/register.php?s=&action=signup">Register</a>
| <a href="/usercp.php?s=">User Control Panel</a> | <a href="http://www.netemcees.net/showthread.php?s=&threadid=17">F.A.Q.</a>
| <a href="/search.php?s=">Search</a> | <a href="/memberlist.php?s=">Member
List</a> |</font></center>
</td>
<td valign="bottom" align="right" nowrap background="images/menu_background.gif">
</td>
</tr>
</table>
</center>
<!-- /logo and buttons -->
<!-- content table -->
<table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>
<!-- breadcrumb, nav links -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td><img src="images/vb_bullet.gif" border="0" align="middle" alt="test: vBulletin v2.2.8">
<font face="verdana" size="2"><b><a href="index.php?s=">test</a> >> <a href="forumdisplay.php?s=&forumid=26">General</a> > <a href="forumdisplay.php?s=&forumid=18">Hints & Tutorials</a> > Cool Thread</b></font></td>
</tr>
</table>
<!-- /breadcrumb, nav links -->
<a name="posttop"></a>
<!-- End content area table (CREATED IN HEADER!!) -->
</td>
</tr>
</table>
<!-- spacer -->
<table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="">
<input type="hidden" name="threadid" value="23">
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td><font face="verdana" size="1">
</font></td>
</tr>
</table>
<!-- first unread and next/prev -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%" align="center"></table>
<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>
<!-- /spacer -->
<table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td><td width="100%"><!-- spacer -->
<br>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="images/topleft.gif" border="0"></td>
<td align="center" background="images/topmid.gif" width="100%"><font face="verdana" size="2" color="#000000"><b>
<font face="verdana" size="1">
( <a href="member.php?s=&action=getinfo&userid=1" target="_blank">Profile</a> | <a href="private.php?s=&action=newmessage&userid=1">Send PM</a> | <a href="member2.php?s=&action=addlist&userlist=buddy&userid=1">Add Buddy</a> | <a href="report.php?s=&postid=46">Report</a> | <a href="javascript:openeditsigwindow(490,320,'','1')">Edit Sig</a> | <a href="postings.php?s=&action=getip&postid=46">IP</a> | <a href="editpost.php?s=&action=editpost&postid=46">Edit</a> | <a href="newreply.php?s=newreply&postid=46">Quote</a> | <a href="forwardpost.php?s=&postid=46&username=ZiRu$">Forward</a> )
</font>
</b></font></td>
<td width="48"><img src="images/topright.gif" border="0"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#616161" width="100%">
<tr>
<td width="8" height="62"></td>
<td width="100%" colspan="3" height="62">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%" height="126">
<tr>
<td width="20%" valign="top" rowspan="3" background="images/postbit_bg.gif">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%">
<tr>
<td width="100%"><center><font face="verdana" size="2"><b><a href="member.php?s=&action=getinfo&userid=1" target="_blank">ZiRu$</a></b> [<a href="search.php?s=&action=finduser&userid=1"><img src="images/postbit_find.gif" border="0" alt="Find more posts by ZiRu$"></a>]</font><br>
<font face="verdana" size="1"><i>Administrator</i></font><br>
<a href="member.php?s=&action=editavatar"><img src="images/avatars/rappaz/chinoxl_2.gif" border="0" alt=""></a><font face="verdana" size="2"><font color="#FFFFFF"><table style="filter:glow(color=red, strength=2)">Online!</table></font></font></center>
<br>
<center><font face="verdana" size="1"><b>Member ID:</b> 1</font><br>
<font face="verdana" size="1"><b>Posts:</b> 1026</font><br>
<font face="verdana" size="1"><b>Joined:</b> Oct 2002</font><br>
<font face="verdana" size="1"><b>Reppin:</b> Canada</font><br>
<font face="verdana" size="1"><b>Age:</b> 17</font><br>
<font face="verdana" size="1"><b>Battle Points:</b> 2<br></font>
<font face="verdana" size="1"><b>Sex:</b> <img src="images/male.gif" border="0"><br><br>
Currently listening to:<br> <marquee><img src="http://www.audio-tracker.com/song.php/ZiRu$"></marquee>
</font>
</center>
</td>
</tr>
</table>
</td>
<td width="80%" valign="top" bgcolor="#E7E7E7">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" bgcolor="#E7E7E7">
<td valign="baseline" align="center" nowrap>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="33%"><font face="verdana" size="1"> <nobr>(<a href="showthread.php?postid=46#post46">Post
#1</a>)</nobr> </font>
</td>
<td align="center" width="33%"><font face="verdana" size="1"> <nobr><img src="images/posticon.gif" border="0" alt="Old Post"> Yesterday <b>::</b> 10:18 PM</nobr> </font></td>
<td align="right" width="33%"><font face="verdana" size="1"> <nobr>quote:
<input type="checkbox" name="quotes[46]">
</nobr> </font></td>
</tr>
</table>
</td>
<tr>
<td width="100%"><center></center>
<p><font face="verdana" size="2"><font color="#0A3870">h</font></font></p>
<p></p>
<p><p><font face="verdana" size="2"><center>
- - - - - - - - - - - - - - - >>> <b>User Signature</b> <<< - - - - - - - - - - - - - - - -
<br>
<img src="http://www.netemcees.net/images/sig.gif" border="0" alt="">
<br />
I've Been Chewed Up, Spit Out and Boo'd Off Stage. But I kept Rhymin'.
<br />
<b>Eminem</b> - Lose Yourself
<br>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</center></font></p></p>
<p></p>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- spacer --></td><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="50"><img src="images/bottomleft.gif" border="0"></td>
<td align="center" background="images/bottomsm.gif" width="600"><a href="forumdisplay.php?s=&forumid=18"></a></td>
<td width="50"><img src="images/bottomright.gif" border="0"></td>
</tr>
</table><table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td><td width="100%"><!-- spacer -->
<br>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="images/topleft.gif" border="0"></td>
<td align="center" background="images/topmid.gif" width="100%"><font face="verdana" size="2" color="#000000"><b>
<font face="verdana" size="1">
( <a href="member.php?s=&action=getinfo&userid=1" target="_blank">Profile</a> | <a href="private.php?s=&action=newmessage&userid=1">Send PM</a> | <a href="member2.php?s=&action=addlist&userlist=buddy&userid=1">Add Buddy</a> | <a href="report.php?s=&postid=47">Report</a> | <a href="javascript:openeditsigwindow(490,320,'','1')">Edit Sig</a> | <a href="postings.php?s=&action=getip&postid=47">IP</a> | <a href="editpost.php?s=&action=editpost&postid=47">Edit</a> | <a href="newreply.php?s=newreply&postid=47">Quote</a> | <a href="forwardpost.php?s=&postid=47&username=ZiRu$">Forward</a> )
</font>
</b></font></td>
<td width="48"><img src="images/topright.gif" border="0"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#616161" width="100%">
<tr>
<td width="8" height="62"></td>
<td width="100%" colspan="3" height="62">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%" height="126">
<tr>
<td width="20%" valign="top" rowspan="3" background="images/postbit_bg.gif">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%">
<tr>
<td width="100%"><center><font face="verdana" size="2"><b><a href="member.php?s=&action=getinfo&userid=1" target="_blank">ZiRu$</a></b> [<a href="search.php?s=&action=finduser&userid=1"><img src="images/postbit_find.gif" border="0" alt="Find more posts by ZiRu$"></a>]</font><br>
<font face="verdana" size="1"><i>Administrator</i></font><br>
<a href="member.php?s=&action=editavatar"><img src="images/avatars/rappaz/chinoxl_2.gif" border="0" alt=""></a><font face="verdana" size="2"><font color="#FFFFFF"><table style="filter:glow(color=red, strength=2)">Online!</table></font></font></center>
<br>
<center><font face="verdana" size="1"><b>Member ID:</b> 1</font><br>
<font face="verdana" size="1"><b>Posts:</b> 1026</font><br>
<font face="verdana" size="1"><b>Joined:</b> Oct 2002</font><br>
<font face="verdana" size="1"><b>Reppin:</b> Canada</font><br>
<font face="verdana" size="1"><b>Age:</b> 17</font><br>
<font face="verdana" size="1"><b>Battle Points:</b> 2<br></font>
<font face="verdana" size="1"><b>Sex:</b> <img src="images/male.gif" border="0"><br><br>
Currently listening to:<br> <marquee><img src="http://www.audio-tracker.com/song.php/ZiRu$"></marquee>
</font>
</center>
</td>
</tr>
</table>
</td>
<td width="80%" valign="top" bgcolor="#E1E1E1">
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" bgcolor="#E1E1E1">
<td valign="baseline" align="center" nowrap>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="33%"><font face="verdana" size="1"> <nobr>(<a href="showthread.php?postid=47#post47">Post
#2</a>)</nobr> </font>
</td>
<td align="center" width="33%"><font face="verdana" size="1"> <nobr><img src="images/posticon.gif" border="0" alt="Old Post"> Yesterday <b>::</b> 10:20 PM</nobr> </font></td>
<td align="right" width="33%"><font face="verdana" size="1"> <nobr>quote:
<input type="checkbox" name="quotes[47]">
</nobr> </font></td>
</tr>
</table>
</td>
<tr>
<td width="100%"><center></center>
<p><font face="verdana" size="2"><font color="#0A3870">Giving me a high Vote <img src="images/smilies/09.gif" border="0" alt=""></font></font></p>
<p></p>
<p><p><font face="verdana" size="2"><center>
- - - - - - - - - - - - - - - >>> <b>User Signature</b> <<< - - - - - - - - - - - - - - - -
<br>
<img src="http://www.netemcees.net/images/sig.gif" border="0" alt="">
<br />
I've Been Chewed Up, Spit Out and Boo'd Off Stage. But I kept Rhymin'.
<br />
<b>Eminem</b> - Lose Yourself
<br>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</center></font></p></p>
<p></p>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- spacer --></td><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="50"><img src="images/bottomleft.gif" border="0"></td>
<td align="center" background="images/bottomsm.gif" width="600"><a href="forumdisplay.php?s=&forumid=18"></a></td>
<td width="50"><img src="images/bottomright.gif" border="0"></td>
</tr>
</table>
<!-- spacer -->
<table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td><td width="100%">
<!-- spacer -->
<center>
<a href="newreply.php?s=&action=newreply&threadid=23"><img src="images/reply.gif" border="0" alt="Post A Reply"></a>
<a href="newthread.php?s=&action=newthread&forumid=18"><img src="images/newthread.gif" border="0" alt="Post New Thread"></a>
</center>
<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>
<!-- /spacer -->
<!-- restart content table from header -->
<table cellpadding="10" cellspacing="0" border="0" width="100%" bgcolor="#FFFFFF" align="center">
<tr>
<td>
<!-- thread options links -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="#E1E1E1" align="center"><font face="verdana" size="1">
<img src="images/printer.gif" alt="" border="0" align="absmiddle">
<a href="printthread.php?s=&threadid=23">Show Printable Version</a> |
<img src="images/sendtofriend.gif" alt="" border="0" align="absmiddle">
<a href="sendtofriend.php?s=&threadid=23">Email this Page</a> |
<img src="images/subscribe.gif" alt="" border="0" align="absmiddle">
<a href="member2.php?s=&action=addsubscription&threadid=23">Subscribe to this Thread</a>
</font></td>
</tr>
</table>
</td></tr></table>
<!-- /thread options links -->
<br>
<!-- forum rules and admin links -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td align="center">
<table cellpadding="0" cellspacing="0" border="0">
<form action="postings.php" name="adminoptionsform" method="post"><tr><td>
<font face="verdana" size="1">
<input type="hidden" name="s" value="498981c3caf96f19615ee6a52c64ca94">
<input type="hidden" name="threadid" value="23">
<b>Admin Options:</b><br>
<select name="action"
onchange="document.adminoptionsform.submit();">
<option value="editthread" selected>-- Thread Options --</option>
<option value="openclosethread">Open / Close Thread</option>
<option value="move">Move / Copy Thread</option>
<option value="editthread">Edit Thread</option>
<option value="deletethread">Delete Thread / Posts</option>
<option value="merge">Merge Threads</option>
<option value="split">Split Thread</option>
<option value="stick">Stick / Unstick Thread</option>
<option value="bump">Bump Thread</option>
</select><!-- go button -->
<input type="image" src="images/go.gif" border="0"
align="absbottom">
</font>
</td></tr></form>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
</td>
</tr>
</table>
<!-- /content area table -->
</center>
</td></tr>
</table>
</body>
</html>
Admin
11-24-2002, 03:40 PM
Try replacing this:
<select name="action"
onchange="document.adminoptionsform.submit();">
With:
<select name="action"
onchange="document.forms.adminoptionsform.submit();">
ZiRu$
11-24-2002, 05:46 PM
unfortunatley the same thing :(
++++....i hope this is a Fixable problem
ZiRu$
11-25-2002, 04:43 PM
YES! I got closer to the problem Firefly....
The Problem is with my SHOWTHREAD template. After reverting it to original the problem is fixed. Can Someone please look at my showthread and see whats wrong with it.
I am attaching it now
ZiRu$
11-25-2002, 06:23 PM
Well......its ok....I re-did the entire showthread template....everythings good now :)
It didnt like 2 things in the template
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.