Bug #75592 [Opn->Fbk]: PdoAdapter->nextId('phpbt_comment')\n#2
| From: | adambaratz@php.net | Date: | Wed, 29 Nov 2017 22:10:46 +0000 |
| Subject: | Bug #75592 [Opn->Fbk]: PdoAdapter->nextId('phpbt_comment')\n#2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-212820@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: adambaratz@php.net
Reported by: kucherdominikus at yahoo dot de
Summary: PdoAdapter->nextId('phpbt_comment')\n#2
-Status: Open
+Status: Feedback
Type: Bug
-Package: PDO Core
+Package: PDO MySQL
Operating System: Fedora 26
PHP Version: 7.1.12
Block user comment: N
Private report: N
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[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