Bonk

Something funky happened. Please bear with us while we iron out the kinks.

Fatal Error

Fatal Error in Gdn_Database.Query();

Table './giapha_u8/Discussion' is marked as crashed and should be repaired

select c.Name as `Name`, c.CategoryID as `CategoryID`, c.TreeRight as `TreeRight`, c.TreeLeft as `TreeLeft`, c.Depth as `Depth`, c.Description as `Description`, c.CountDiscussions as `CountDiscussions`, c.CountComments as `CountComments`, c.UrlCode as `UrlCode`, c.LastCommentID as `LastCommentID`, c.PermissionCategoryID as `PermissionCategoryID`, co.DateInserted as `DateLastComment`, co.InsertUserID as `LastCommentUserID`, cu.Name as `LastCommentName`, cu.Photo as `LastCommentPhoto`, co.DiscussionID as `LastDiscussionID`, d.Name as `LastDiscussionName` from Category c left join Comment co on c.LastCommentID = co.CommentID left join User cu on co.InsertUserID = cu.UserID left join Discussion d on d.DiscussionID = co.DiscussionID where c.AllowDiscussions = :cAllowDiscussions order by TreeLeft asc

The error occurred on or near: /home/giapha/public_html/html/library/database/class.database.php

224: 
225:          if (!is_object($PDOStatement)) {
226:             trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR);
227:          } else if ($PDOStatement->execute($InputParameters) === FALSE) {
228:             trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
229:          }
230:       } else {
231:          $PDOStatement = $this->Connection()->query($Sql);
232:       }

Need Help?

If you are a user of this website, you can report this message to a website administrator.

If you are an administrator of this website, you can get help at the Vanilla Community Forums.

Additional information for support personnel: