Status
Not open for further replies.

Dutch_Boy

Customer
Hello,

I just tried to do a recount. But after a few seconds i get this database error :(

---------------------

Database error in vBulletin 3.8.5:

Invalid SQL:

SELECT *
FROM blog AS blog

WHERE 1=1
AND dateline >= 1200956400 AND userid = 1;

MySQL Error : Table 'highflow-2.blog' doesn't exist
Error Number : 1146
Request Date : Thursday, July 8th 2010 @ 05:40:10 PM
Error Date : Thursday, July 8th 2010 @ 05:40:56 PM
Script : http://www.highflow.nl/forum/admincp/vbactivity.php?do=recalcpoints
Referrer : http://www.highflow.nl/forum/admincp/vbactivity.php?do=maintenance
IP Address : ******
Username : ******
Classname : vB_Database
MySQL Version : 5.0.84-0.dotdeb.0-log


-------------------------

How can i fix this?

I dont have a blog.

Kind regards,

Dutch_Boy.
 
Open the following two files: /dbtech/vbactivity/type/blogcomment.php and /dbtech/vbactivity/type/blogpost.php
Find:
PHP:
	public function _action()
	{
		if (!parent::action())
		{
			// This type is inactive
			return false;
		}
		
		// We made it!
		return true;
	}

Replace with:
PHP:
	public function _action()
	{
		if (!parent::action())
		{
			// This type is inactive
			return false;
		}
		
		// We made it!
		return $this->registry->products['vbblog'];
	}
 
Status
Not open for further replies.

Similar threads

Back
Top