error in compacting messages [message #30115] |
Sun, 05 February 2006 14:43 |
tufan
Messages: 70 Registered: June 2002
Karma: 0
|
Member |
|
|
Hi,
I just upgraded to 2.7.4 from 2.7.3RC3 without any problem. The forum works normally, but I'm getting the following error message when I try to compact messages. How can I solve the problem, and is the incomplete process critical/harmful for the forum?
----
Compacting private messages...
(/home/one9org/FUDforum/include/theme/default/db.inc:73
/home/one9org/public_www/forum/adm/compact.php:163
) 1061: Duplicate key name 'fud2_pmsg_foff_idx'
Query: CREATE INDEX fud2_pmsg_foff_idx ON fud2_pmsg (foff)
_POST: array ( 'conf' => 'Yes', 'SQ' => '14632f690be95f97b408903d3cc2abbc', )
Server Version: 4.1.14-standard-log
[Referring Page] http://19.org/forum/adm/compact.php?rid=2&SQ=14632f690be95f97b408903d3c c2abbc
----
|
|
|
Re: error in compacting messages [message #30116 is a reply to message #30115] |
Sun, 05 February 2006 17:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It looks like the temporary index was not removed in the previous run and attempts to create it now are failing. To solve this remove the fud2_pmsg_foff_idx index manually, after this the code will work.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
Re: error in compacting messages [message #32733 is a reply to message #32729] |
Mon, 17 July 2006 23:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It is not possible because if the old files are kept they may refer to code no longer present in the new version or no longer used templates resulting in a broken forum.
FUDforum Core Developer
|
|
|
Re: error in compacting messages [message #32741 is a reply to message #32733] |
Tue, 18 July 2006 01:07 |
BobB
Messages: 165 Registered: April 2005 Location: Tucson, AZ
Karma: 0
|
Senior Member |
|
|
Ilia wrote on Mon, 17 July 2006 16:43 | It is not possible because if the old files are kept they may refer to code no longer present in the new version or no longer used templates resulting in a broken forum.
|
Icons???
Those files affected in any way should be in the upgrade version. Files that are not affected don't need to be replaced and only cause unnecessary work if they are replaced.
But I'm not going to get into another argument here just because I disagree with something. Do what you want and I'll do what I have to do. Right now I have to deal with 237,000 missing messages and a possibly corrupted backup because the compact message bug hit while a backup was in progress.
I have a seriously broken forum right now.
[Updated on: Tue, 18 July 2006 01:22] Report message to a moderator
|
|
|
Re: error in compacting messages [message #32749 is a reply to message #32741] |
Tue, 18 July 2006 16:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
IF the file was not changed, the upgrade script will not replace it, it only changes the files that have been modified since the last release.
FUDforum Core Developer
|
|
|
|
|
Re: error in compacting messages [message #32762 is a reply to message #32752] |
Wed, 19 July 2006 14:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The buggy version of the compactor was present in early 2.7 series releases and was fixed by about 2.7.3 release if my memory serves me right. The compactor itself is something that's rarely needed as it only makes sense to run in situations where a lot of messages have been deleted from the forum and there is a desire to reclaim some disk space.
As far as disk space issue thing, it can be caused by one of two things:
1) Forum does not have write permissions for messages/ directory or the msg_* files found within.
2) You are running with mbstring where function overload is enabled.
FUDforum Core Developer
|
|
|
|
|
Re: error in compacting messages [message #32766 is a reply to message #32765] |
Wed, 19 July 2006 18:31 |
BobB
Messages: 165 Registered: April 2005 Location: Tucson, AZ
Karma: 0
|
Senior Member |
|
|
y0shi wrote on Wed, 19 July 2006 11:06 |
?! in what kind of world do you live?
can you tell me what you pay for using FUDforum?
|
I have paid you money, lots of it, and you know it. I would have contributed more if your customer service was friendly and helpful instead of smug and insulting. Besides, something doesn't have to cost anything in order to do great damage. Did anyone pay for Hurricane Katrina?
In what kind of world do you live where changing "FAQ" to "Help" is more important than preventing great harm??
That's all I have to say on this. I need to try to save my business and my livelihood from this disaster.
|
|
|