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 d.*, ca.Name as `Category`, ca.UrlCode as `CategoryUrlCode`, ca.PermissionCategoryID as `PermissionCategoryID`, w.DateLastViewed as `DateLastViewed`, w.Dismissed as `Dismissed`, w.Bookmarked as `Bookmarked`, w.CountComments as `CountCommentWatch`, d.DateLastComment as `LastDate`, d.LastCommentUserID as `LastUserID`, lcu.Name as `LastName`, iu.Name as `InsertName`, iu.Photo as `InsertPhoto` from Discussion d left join Category ca on d.CategoryID = ca.CategoryID left join UserDiscussion w on d.DiscussionID = w.DiscussionID and w.UserID = 0 left join User iu on d.InsertUserID = iu.UserID left join Comment lc on d.LastCommentID = lc.CommentID left join User lcu on lc.InsertUserID = lcu.UserID where d.DiscussionID = :dDiscussionID

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: