HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Something has gone wrong.

I have a vanilla forums site that appears to be dead. The only thing I can think of is that a relatively recent upgrade to php 7.4 is responsible but I don't know. After turning Debug on, I get:

Table 'vanilla.GDN_Permission' doesn't exist
The error occurred on or near: /var/www/vanilla/library/database/class.database.php
403:                 // If we get here then the pdo statement prepared properly.
404:                 break;
405: 
406:             } catch (Gdn_UserException $uex) {
407:                 trigger_error($uex->getMessage(), E_USER_ERROR);
408:             } catch (Exception $ex) {
409:                 list($state, $code, $message) = $pDO->errorInfo();
410: 
411:                 // If the error code is consistent with a disconnect, attempt to retry
Backtrace:
/var/www/vanilla/library/database/class.database.phpPHP::gdn_ErrorHandler();
[/var/www/vanilla/library/database/class.database.php:407] PHP::trigger_error();
[/var/www/vanilla/library/database/class.sqldriver.php:1707] Gdn_Database->query();
[/var/www/vanilla/library/database/class.sqldriver.php:664] Gdn_SQLDriver->query();
[/var/www/vanilla/applications/dashboard/models/class.permissionmodel.php:985] Gdn_SQLDriver->get();
[/var/www/vanilla/applications/dashboard/models/class.permissionmodel.php:527] PermissionModel->permissionColumns();
[/var/www/vanilla/applications/dashboard/models/class.usermodel.php:5057] PermissionModel->cachePermissions();
[/var/www/vanilla/library/core/class.session.php:499] UserModel->getPermissions();
[/var/www/vanilla/library/core/class.auth.php:64] Gdn_Session->start();
[/var/www/vanilla/bootstrap.php:517] Gdn_Auth->startAuthenticator();
[/var/www/vanilla/index.php:22] PHP::require_once();
Variables in local scope:
[sql] 'select *
from `GDN_Permission` `Permission`
limit 1'
[inputParameters] array (
)
[options] array (
  'Type' => 'select',
  'Slave' => NULL,
  'ReturnType' => 'DataSet',
)
[returnType] 'DataSet'
[tries] 2
[try] 0
[pDO] array (
)
[pDOStatement] false
[state] '42S02'
[code] 1146
[message] 'Table \'vanilla.GDN_Permission\' doesn\'t exist'
[uex] array (
)

Any ideas?

Sign In or Register to comment.