2010-03-23, 06:28 PM
Hi,
I'm creating a multi-forum MyBB host, and I'm having some trouble with the datachache when creating a new forum.
I'm currently using this query...
But when I create a new forum, the newest user shows up as "no-one".
How can I fix this?
Thanks.
I'm creating a multi-forum MyBB host, and I'm having some trouble with the datachache when creating a new forum.
I'm currently using this query...
$cache = "a:7:{s:10:\"numthreads\";i:0;s:20:\"numunapprovedthreads\";i:0;s:8:\"numposts\";i:0;s:18:\"numunapprovedposts\";i:0;s:8:\"numusers\";s:1:\"1\";s:7:\"lastuid\";s:1:\"1\";s:12:\"lastusername\";s:6:\"$uname\";}";
mysql_query("UPDATE ".$table."datacache SET cache='".$cache."' WHERE title='stats'");
But when I create a new forum, the newest user shows up as "no-one".
How can I fix this?
Thanks.