PDA

View Full Version : db error


Boofo
01-10-2003, 07:13 AM
Can anyone please help me with the problem I
am having getting a db error? I'm posted it in the following thread but I can't do anything with the hack until I get the apostrophe problem fixed.

https://vborg.vbsupport.ru/showthread.php?postid=340370#post340370

Xenon
01-10-2003, 10:29 PM
hmm, it shouldn't appear..

open your functions.php go to updateforumcount function and be sure this line is in:

$lastpostquery=",lastpost='$lastpost',lastposter='".addslashes($lastposter)."'";

Boofo
01-10-2003, 10:48 PM
Here is the line I have in there for that:

$lastpostquery=",lastpost='$lastpost',lastthread='".addslashes($lastthread)."',lastposter='".addslashes($lastposter)."'";


Originally posted by Xenon
hmm, it shouldn't appear..

open your functions.php go to updateforumcount function and be sure this line is in:

$lastpostquery=",lastpost='$lastpost',lastposter='".addslashes($lastposter)."'";