Logikos
01-17-2003, 09:05 PM
After installing this hack on my PC (Computer) Vbb
it worked great!
I then uploaded all files necessary to my real board, i ran into this problem. When i try to load my Forums Home.
Ii get this error.
Database error in vBulletin 2.2.9:
Invalid SQL: SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 1
mysql error: Unknown column 's.userid' in 'field list'
mysql error number: 1054
Date: Friday 17th of January 2003 04:55:30 PM
Script: http://www.TheNemesis.net/Forums/Forums/
Referer:
In the Instructions (index.php)(forums home)
i "find"
eval("dooutput(\"".gettemplate('forumhome')."\");");
and replace with
$shout = $DB_site->query_first("SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 1");
$shout[timestamp] = vbdate('n-j-y, g:i:s a', $shout[timestamp]);
$shout[shout_text] = bbcodeparse($shout[shout_text]);
eval("\$the_shoutbox .= \"".gettemplate("forumhome_shoutbox")."\";");
eval("dooutput(\"".gettemplate('forumhome')."\");");
i can see where the error is coming from.
But cant tell if the codeing is wrong
Help needed quick :(
Thanks!
-Nem
it worked great!
I then uploaded all files necessary to my real board, i ran into this problem. When i try to load my Forums Home.
Ii get this error.
Database error in vBulletin 2.2.9:
Invalid SQL: SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 1
mysql error: Unknown column 's.userid' in 'field list'
mysql error number: 1054
Date: Friday 17th of January 2003 04:55:30 PM
Script: http://www.TheNemesis.net/Forums/Forums/
Referer:
In the Instructions (index.php)(forums home)
i "find"
eval("dooutput(\"".gettemplate('forumhome')."\");");
and replace with
$shout = $DB_site->query_first("SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 1");
$shout[timestamp] = vbdate('n-j-y, g:i:s a', $shout[timestamp]);
$shout[shout_text] = bbcodeparse($shout[shout_text]);
eval("\$the_shoutbox .= \"".gettemplate("forumhome_shoutbox")."\";");
eval("dooutput(\"".gettemplate('forumhome')."\");");
i can see where the error is coming from.
But cant tell if the codeing is wrong
Help needed quick :(
Thanks!
-Nem