- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 59 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problem - Installing YAT 79 on PHP-Nuke 7.9 [ ]
Author
Message
arenaninja
Nuke Cadet
Joined: Jun 27, 2006
Posts: 2
Posted:
Tue Jun 27, 2006 7:03 am
Well it's not much of an error installing or anything.. It's just a bug, but it annoys me. I installed NSN YAT 79 (after several tries), but when I try to log in a window pops up saying
Quote:
A runtime error has occurred.
Do you wish to debug?
Line: 177
Error: Object doesn't support this property or method
If I choose to debug, it points me to the following line:
Code:
<form onsubmit="[b]this.submit.disabled='true'[/b]" action="modules.php?name=Your_Account" method="post">
The bold part is highlighted by MS Dev Environment. Any help out htere plesae?
arenaninja
Nuke Cadet
Joined: Jun 27, 2006
Posts: 2
Posted:
Fri Jul 21, 2006 12:05 pm
Someone please help me with this!!!
I have some leads... in mainfile.php the variable $boxstuff is declared as follows:
Code:
$title = _LOGIN;
$boxstuff = "<form action=\"modules.php?name=Your_Account\" method=\"post\">";
$boxstuff .= "<center><font class=\"content\">"._NICKNAME."<br>";
$boxstuff .= "<input type=\"text\" name=\"username\" size=\"8\" maxlength=\"25\"><br>";
$boxstuff .= ""._PASSWORD."<br>";
$boxstuff .= "<input type=\"password\" name=\"user_password\" size=\"8\" maxlength=\"20\"><br>";
if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
$boxstuff .= ""._SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'><br>\n";
$boxstuff .= ""._TYPESECCODE."<br><input type=\"text\" NAME=\"gfx_check\" SIZE=\"7\" MAXLENGTH=\"6\">\n";
$boxstuff .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\"><br>\n";
} else {
$boxstuff .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
$boxstuff .= "<input type=\"hidden\" name=\"gfx_check\" value=\"$code\">";
}
$boxstuff .= "<input type=\"hidden\" name=\"op\" value=\"login\">";
$boxstuff .= "<input type=\"submit\" value=\""._LOGIN."\"></font></center></form>";
$boxstuff .= "<center><font class=\"content\">"._ASREGISTERED."</font></center>";
and is called as:
Code:
themesidebox($title, $boxstuff);
There's no mention of an "onsubmit" clause which appears in the actual index file:
Code:
<form onsubmit="this.submit.disabled='true'" action="modules.php?name=Your_Account" method="post">
Any clues?
You cannot post new topics in this forum You cannot 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