Something went wrong!



SQL show index from `items` failed : Table './gallery3/items' is marked as crashed and should be repaired



 



Error from Gallery 3



Hey wait, youre an admin! We can tell you stuff.Theres an error message below and you can find more details in gallery3/var/logs look for the file with the most recent date on it. Stuck? Stop by the Gallery 3 Forums and ask for help. You can also look at our list of open tickets to see if the problem youre seeing has been reported. If you post a request, heres some useful information to include:Platform informationHost name: rufus.zaramyth.comOperating system: Linux 2.6.32-131.4.1.el6.x86_64Apache: Apache/2.2.15 Red HatPHP: 5.3.3MySQL: 5.1.52Server load: 0.11 0.09 0.11Graphics toolkit: imagemagickGallery statsVersion: 3.0.2 CoollantaAlbums: 484Photos: 9481Database_Exception [ Database Error ]:#126: Incorrect key file for table ./gallery3/items.MYI; try to repair it [ UPDATE items SET `view_count` = `view_count` + 1 WHERE `id` = 1 ]SYSPATH/libraries/Database_Mysqli_Result.php[ 27 ]22 }23 elseif is_bool$result24 {25 if $result == FALSE26 {27 throw new Database_Exception#:errno: :error [ :query ],28 array:error => $link->error,29 :query => $sql,30 :errno => $link->errno;31 }32 elseSYSPATH/libraries/Database_Mysqli.php[ 79 ] » Database_Mysqli_Result_Core->__construct arguments SYSPATH/libraries/Database.php[ 272 ] » Database_Mysqli_Core->query_execute arguments MODPATH/gallery/libraries/MY_Database.php[ 45 ] » Database_Core->query arguments SYSPATH/libraries/Database_Query.php[ 78 ] » Database->query arguments MODPATH/gallery/models/item.php[ 1019 ] » Database_Query_Core->executeMODPATH/gallery/controllers/albums.php[ 75 ] » Item_Model_Core->increment_view_countMODPATH/gallery/controllers/albums.php[ 22 ] » Albums_Controller->show arguments {PHP internal call} » Albums_Controller->indexSYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs arguments {PHP internal call} » Kohana_Core::instance arguments SYSPATH/core/Event.php[ 208 ] » call_user_func_array arguments APPPATH/Bootstrap.php[ 67 ] » Event_Core::run arguments DOCROOT/index.php[ 102 ] » require arguments Environment



via Something went wrong!.



What I did to fix it:



mysqlcheck -r gallery3 -u root -p

Popular posts from this blog

Reverse Flow Smoker

Moana Review