RC4 upgrade: Consistency checker bombs out [message #10564] |
Wed, 04 June 2003 19:14 |
tgaastra
Messages: 90 Registered: June 2002
Karma: 0
|
Member |
|
|
Get this error when it tries to go run the consisentcy checker...
Fatal error: Cannot redeclare init_user() (previously declared in /var/www/forums-nonbrowse/include/theme/default/users.inc:21) in /var/www/forums-nonbrowse/include/theme/gorgonskin/users.inc on line 18
|
|
|
|
Re: RC4 upgrade: Consistency checker bombs out [message #10567 is a reply to message #10566] |
Wed, 04 June 2003 20:00 |
tgaastra
Messages: 90 Registered: June 2002
Karma: 0
|
Member |
|
|
Just the consistency checker, but a host of other errors also cropped up. Enough that the forums seem completely cheezed. I backed them up, did a forum data-dump, and installed 2.5.0RC4 from scratch, and tried to reimport the data, but that didn't work well for a host of reasons... Apparently, you have to have the same table prefix (and the new installation defaulted to fud_25 and not fud_2, etc etc.) So I'm in the middle of TRYING to figure out a way to install a clean copy of FUD forum AND import in all the old users, groups, and messages. I can live without the themes for now, but my userbase will KILL me if I have to "reset things to zero" again.
|
|
|
Re: RC4 upgrade: Consistency checker bombs out [message #10569 is a reply to message #10567] |
Wed, 04 June 2003 20:38 |
tgaastra
Messages: 90 Registered: June 2002
Karma: 0
|
Member |
|
|
HMMM... actually, the forum data dump is just plain broken.
It's full of obviously wrong SQL lines like:
INSERT INTO fud2_ (id,logtime,logaction,user_id,a_res,a_res_id) VALUES(1,1023142450,NULL,27,'ADDFORUM',2)
Ugh, my frustration level is rising here... Time to see if I can get something back from the backups...
One thing for sure: I'm never relying on the import datadump to work properly again. It never has.
OK: I've got the restore from backups, but its the same installation that's been having all the troubles for the past few weeks... I guess I need to figure out a way to import messages/users/groups from one forum instance to another
|
|
|
Re: RC4 upgrade: Consistency checker bombs out [message #10572 is a reply to message #10569] |
Wed, 04 June 2003 21:07 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmm... to manually backup/import the forum you need to do the following:
Backup the following directories:
messages/
files/
images/
thm/
And your sql data.
Then install a new forum (make sure it is the same version as the old).
Once that is done replace the data with the backups and modify GLOBALS.php accordingly (if prefixes changed etc...).
After that's done run the consistency checker.
Which version were you upgrading from originally?
FUDforum Core Developer
|
|
|
|
|
|