News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Database error

Started by woolly bugger, February 11, 2019, 09:16:01 AM

Previous topic - Next topic

woolly bugger

while looking at old threads, I will occasionally see "empty" post. If I hit "Quick Edit" I still don't see anything in the editor window. But when I select "Modify" I will see the missing text of the post. When I go to save I get the following error.

Type of error: Database

Database Error: Duplicate entry '194389087-160816' for key 'PRIMARY'
https://www.brfff.com/forum/index.php?action=post2;start=120;msg=160816;db5d8d2be22b=c68a4207bdde860d80fbbd69182d3ed6;board=3
/home/blueri7/public_html/forum/Sources/SearchAPI-Custom.php (Line 303)

When I hit save again, the post appears properly.


Aleksi "Lex" Kilpinen

Sounds like multiple issues that might not all actually be related.
You are apparently using a custom index for search, right?
Is this an upgraded 2.0 installation? Before the upgrade, was it using UTF-8 or not?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

woolly bugger

1. Upgrade from 2.0.15
2. Not using UTF-8 prior to upgrade (as far as I know)
3. Don't know how or why on the SearchAPI-Custom.php


Mods installed....

Installed

Report BBC
Google Analytics Code
Simple Audio Video Embedder
Ad Managment

Advertisement: