Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

help with Fatal Error in Gdn_Database.Query();

njumaranjumara New
edited April 2012 in Vanilla 2.0 - 2.2


I just started receiving the below error two days ago. Everything has been working fine with the forum before this.

I received the GDN Permission error and I checked for the table in phpMyAdmin. It does not exist. I can't figure out why it would have worked before though?

I contacted my host and they told me to reinstall. I would rather not lose all of my forum entries. Does anyone know how to fix this?

Also, I may have screwed up because I installed Vanilla into my existing wordpress database.

Do i need to start over with a new database? If I do, can I export the table needed and keep the content of the forum? If so, which tables do I export?

Any help is awesome as I can't figure this out at all. Below is the error message:

Table 'databasename.GDN_Permission' doesn't exist
select *
from GDN_Permission Permission
limit 1
The error occurred on or near: /home/user/domains/
283:          $PDOStatement = $this->Connection()->query($Sql);
284:       }
286:       if ($PDOStatement === FALSE) {
287:          trigger_error(ErrorMessage($this->GetPDOErrorMessage($this->Connection()->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
288:       }
290:       // Did this query modify data in any way?
291:       if ($ReturnType == 'ID') {

[/home/user/domains/] PHP::trigger_error();
[/home/user/domains/] Gdn_Database->Query();
[/home/user/domains/] Gdn_SQLDriver->Query();
[/home/user/domains/] Gdn_SQLDriver->Get();
[/home/user/domains/] PermissionModel->PermissionColumns();
[/home/user/domains/] PermissionModel->CachePermissions();
[/home/user/domains/] UserModel->DefinePermissions();
[/home/user/domains/] Gdn_Session->Start();
[/home/user/domains/] Gdn_Auth->StartAuthenticator();
[/home/user/domains/] PHP::require_once();
Variables in local scope:
[Sql] 'select *
from GDN_Permission Permission
limit 1'
[InputParameters] array (
[Options] array (
  'ReturnType' => 'DataSet',
[ReturnType] 'DataSet'
[PDOStatement] false


Sign In or Register to comment.