MyBB Community Forums

Full Version: Active Users today not being updated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Thing is - all of the errors you've described relate to the shutdown queries problem as I described in the other thread - they are all, indeed shutdown queries.

I would check your forum out with the details you supplied me, but i'm about to run off and do some errands.

Can you open db_mysql.php and find:
	function shutdown_query($query, $name=0)
	{
		if($name)
		{
			$this->shutdown_queries[$name] = $query;
		}
		else
		{
			$this->shutdown_queries[] = $query;
		}
	}

Replace it with:
	function shutdown_query($query, $name=0)
	{
		$this->query($query);
	}

Give it a bit of a whirl then and let me know if it works.

Chris
Thanks alot Chris Smile. Everything appears to be working normally now, I will let you know how I get on.
I have this problem with active users today etc. I have changes the entry in /inc/db_mysql.php to that above but this has not resolved the problem. I am on PHP ver 4.4.1 MySQL 4,1,15 and MYBB V 1.1.1

I tried rebuilding the stats cache but no joy Sad

Pages: 1 2