Bug #75592 [Csd->Nab]: PdoAdapter->nextId('phpbt_comment')\n#2

From: Date: Thu, 30 Nov 2017 08:07:56 +0000
Subject: Bug #75592 [Csd->Nab]: PdoAdapter->nextId('phpbt_comment')\n#2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212824@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75592&edit=1 ID: 75592 Updated by: requinix@php.net Reported by: kucherdominikus at yahoo dot de Summary: PdoAdapter->nextId('phpbt_comment')\n#2 -Status: Closed +Status: Not a bug Type: Bug Package: PDO MySQL Operating System: Fedora 26 PHP Version: 7.1.12 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2017-11-29 22:15:58] kucherdominikus at yahoo dot de after i upgrade mariadb to 10.2.11 it works ------------------------------------------------------------------------ [2017-11-29 22:10:45] adambaratz@php.net Based on the error, I'm guessing this is an issue with your MySQL setup rather than PDO. Could you take a look at the error on the top of the stack? ------------------------------------------------------------------------ [2017-11-29 22:05:58] kucherdominikus at yahoo dot de Description: ------------ PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 126 Index for table './phpbugtracker/phpbt_comment_seq.MYI' is corrupt; try to repair it in /usr/share/phpbugtracker/inc/pdo_adapter.php:114\nStack trace:\n#0 /usr/share/phpbugtracker/inc/pdo_adapter.php(114): PDO->exec('insert into php...')\n#1 /usr/share/phpbugtracker/bug.php(694): PdoAdapter->nextId('phpbt_comment')\n#2 /usr/share/phpbugtracker/bug.php(1121): update_bug('6')\n#3 {main}\n thrown in /usr/share/phpbugtracker/inc/pdo_adapter.php on line 114, referer: http://localhost/bugtracker/bug.php?op=show&bugid=6 Test script: --------------- https://github.com/a-v-k/phpBugTracker ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75592&edit=1

« previous php.bugs (#212824) next »