Apologies in advance if my request isn't formatted correctly. I can fill out the support template if necessary, I just can't find it at the moment.
I've seen a few threads on this over the years with different solutions but essentially whenever a user replies to a thread with a new post, they get a 'error 500 site cannot be reached' type error. The post succeeds if you go back and refresh the thread, but the error is still thrown. I checked the log file and this is what I'm seeing.
.../phpbb/db/driver/mysqli.php on line 193
[07-May-2024 11:50:08 America/Boise] PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate entry '2-17236' for key 'PRIMARY' in .../phpbb/db/driver/mysqli.php:193
Stack trace:
#0 .../phpbb/db/driver/mysqli.php(193): mysqli_query(Object(mysqli), 'INSERT INTO top...')
#1 .../phpbb/db/driver/factory.php(345): phpbb\db\driver\mysqli->sql_query('INSERT INTO top...', 0)
#2 .../includes/functions.php(890): phpbb\db\driver\factory->sql_query('INSERT INTO top...')
#3 .../includes/functions_posting.php(2332): markread('post', 12, 17236)
#4 .../posting.php(1527): submit_post('reply', 'Re: Admin doing...', '', 0, Array, Array, true, true)
#5 {main}
thrown in .../phpbb/db/driver/mysqli.php on line 193
What I've tried so far to no avail:
- updating php version to 8.1
- editing config file to mysql instead of mysqli
- purging cache
- disabling extensions. I have one installed currently (top 5 extension), but disabling has no effect
- cleared browsing data and cookies
I hesitate to upgrade my site because that always seems to cause more issues. Hoping there's something simpler I can try. Thanks so much in advance. Here's some additional information about my installation
- forum url: https://forum.weldingtipsandtricks.com
- phpbb version: 3.3.4
- php version 8.1
I've seen a few threads on this over the years with different solutions but essentially whenever a user replies to a thread with a new post, they get a 'error 500 site cannot be reached' type error. The post succeeds if you go back and refresh the thread, but the error is still thrown. I checked the log file and this is what I'm seeing.
.../phpbb/db/driver/mysqli.php on line 193
[07-May-2024 11:50:08 America/Boise] PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate entry '2-17236' for key 'PRIMARY' in .../phpbb/db/driver/mysqli.php:193
Stack trace:
#0 .../phpbb/db/driver/mysqli.php(193): mysqli_query(Object(mysqli), 'INSERT INTO top...')
#1 .../phpbb/db/driver/factory.php(345): phpbb\db\driver\mysqli->sql_query('INSERT INTO top...', 0)
#2 .../includes/functions.php(890): phpbb\db\driver\factory->sql_query('INSERT INTO top...')
#3 .../includes/functions_posting.php(2332): markread('post', 12, 17236)
#4 .../posting.php(1527): submit_post('reply', 'Re: Admin doing...', '', 0, Array, Array, true, true)
#5 {main}
thrown in .../phpbb/db/driver/mysqli.php on line 193
What I've tried so far to no avail:
- updating php version to 8.1
- editing config file to mysql instead of mysqli
- purging cache
- disabling extensions. I have one installed currently (top 5 extension), but disabling has no effect
- cleared browsing data and cookies
I hesitate to upgrade my site because that always seems to cause more issues. Hoping there's something simpler I can try. Thanks so much in advance. Here's some additional information about my installation
- forum url: https://forum.weldingtipsandtricks.com
- phpbb version: 3.3.4
- php version 8.1
Statistics: Posted by coeyjollier — Tue May 07, 2024 8:25 pm