Help - Search - Members - Calendar
Full Version: "Saving entry failed"
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
andremonnerat
There was a problem when I tried to publish my last post. It returned an error message in the first time, I went back and tried it again. Again an error message:

"An error occurred:

Saving entry failed: Duplicate entry '2113' for key 1 "

I think the first time it failed, the message was different, but I don´t remember what it was.

Now, I can´t save any new posts - and all the old ones simply disappeared from the list of entries! The blog´s main editing menu does say it has 65 entries, but they are not listed.

What is that? Does anybody knows? How can I fix it?
ndns
Which database type are you using (Berkeley, MySQL, SQLite, or ProtegeSQL)?
andremonnerat
Honestly, I don´t know for sure.
But I think it´s MySQL.

How do I find this out?
ndns
Check your mt.cfg file for this line:
CODE
ObjectDriver DBI::mysql
andremonnerat
Ok, I checked and it´s MySQL...
andremonnerat
Well, I didn't do anything, but now the error message that's appearing when I try to post is different:

"Saving entry failed: Can't open file: 'mt_entry.MYD'. (errno: 145)"

Does anyone know what file is this?

I'm getting really worried...
imabug
This error usually pops up when there's a problem with the database files. If you have access to phpMYAdmin, use it to access the database and do a CHECK/REPAIR operation on the tables. If you don't have access, then you'll have to get someone at your host provider to do it. Gory details in the Disaster Prevention section of the MySQL manual.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.