Quote:
Originally Posted by naspoli
I have the same problem. How to fix?
thanks guys!
|
for new staff add them to STAFFNAMES and STAFFIDS in /settings
Quote:
Originally Posted by thereal
Code:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/m/a/r/marselt/html/beta/takelogin.php on line 36
Warning: Missing argument 1 for bark(), called in /home/content/m/a/r/marselt/html/beta/takelogin.php on line 47 and defined in /home/content/m/a/r/marselt/html/beta/takelogin.php on line 23
I get this error screen, whats wrong?
|
on takelogin.php replace
Code:
function bark($text)
{
print("<title>Error!</title>");
print("<table width='100%' height='100%' style='border: 8px ridge #000000'><tr><td align='center'>");
print("<center><h1 style='color: #CC3300;'>Error:</h1><h2>" . htmlspecialchars($text) . "</h2></center>");
print("<center><INPUT TYPE='button' VALUE='Back' onClick=\"history.go(-1)\"></center>");
print("</td></tr></table>");
die;
}
with
Code:
function bark($text = "Username or password incorrect")
{
stderr("Login failed!", $text);
}