compact failed, now message bodies out of sync with topics [message #39981] |
Mon, 31 December 2007 21:00 |
batman61
Messages: 6 Registered: April 2005
Karma: 0
|
Junior Member |
|
|
I have a bit of a mess with my FUDforum.
I was running the "Compact Messages" option, which appears to have crashed before completing.
After this ran the "Forum Consistency" option a couple of times.
I now get the following message:
Warning: fopen(<root_path>/messages/msg_-40000): failed to open stream: No such file or directory in <root_path>/theme/default/msg.php on line 557
Notice the name of the message file has a "-" minus sign. Also, in the fud26_msg table, the file_id also has the minus sign.
I tried tricking it by making soft links to the message file names so that msg_-40000 points the real message file msg_40000. That gets rid of the error message, but the message bodies seem to be all out of sync with the wrong message body appearing under a given topic.
Can anyone help with this one?
|
|
|
|
|
|
Re: compact failed, now message bodies out of sync with topics [message #40002 is a reply to message #39981] |
Tue, 01 January 2008 23:24 |
batman61
Messages: 6 Registered: April 2005
Karma: 0
|
Junior Member |
|
|
Hello Ilia,
I had to give up and delete all of the messages and clear out all of the DB tables related to the messages so I could get the Forum back on-line.
Here is what the message directory looked like prior to being renamed (I kept a backup):
total 41068
508518 drwxrwxr-x 2 bv126922 bv126922 4096 Jan 1 07:40 .
507908 drwxrwxrwx 14 bv126922 bv126922 4096 Jan 1 07:13 ..
510454 -rw-rw-r-- 1 bv126922 bv126922 14 Jan 13 2004 .htaccess
510354 -rw-rw-rw- 1 bv126922 bv126922 41489294 Dec 31 08:55 msg_-10000
515212 -rw-rw-rw- 1 bv126922 bv126922 210011 Dec 19 06:44 msg_30000
515210 -rw-rw-rw- 1 bv126922 bv126922 275081 Dec 25 14:49 msg_40000
515211 -rw-rw-rw- 1 bv126922 bv126922 2849 Dec 19 06:46 msg_50000
In the msg table, it looked like the foff field values were all wrong for the messages in msg_10000.
The tmp directory only has a .htaccess file.
[Updated on: Tue, 01 January 2008 23:25] Report message to a moderator
|
|
|
|