FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » RC4 upgrade: Consistency checker bombs out
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
RC4 upgrade: Consistency checker bombs out [message #10564] Wed, 04 June 2003 19:14 Go to next message
tgaastra is currently offline  tgaastra   United States
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 #10566 is a reply to message #10564] Wed, 04 June 2003 19:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does this error occur on all admin panels or just the consistency checker?

FUDforum Core Developer
Re: RC4 upgrade: Consistency checker bombs out [message #10567 is a reply to message #10566] Wed, 04 June 2003 20:00 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
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 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
Re: RC4 upgrade: Consistency checker bombs out [message #10573 is a reply to message #10572] Wed, 04 June 2003 21:24 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
Well, I was going from 2.5.0RC3 to RC4, but my RC3 sounded like it had a few hangups and leftovers from previous versions (such as the PM quote problem you had said was fixed by RC3)...

Right now, the restored forum reports itself as RC4... And the consistency checker is behaving, as is the SQL optimizer... But this again is after I hacked out any mention of any theme or themeset other than "default"...

In doing the SQL backup, I'm going to have to make sure that FUD installs with the same prefix as was being used before, correct?
Re: RC4 upgrade: Consistency checker bombs out [message #10574 is a reply to message #10573] Wed, 04 June 2003 21:33 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I'll go over the backup/import code but it should support different prefixes.

FUDforum Core Developer
Re: RC4 upgrade: Consistency checker bombs out [message #10578 is a reply to message #10574] Thu, 05 June 2003 04:06 Go to previous message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
Alright, I'm using a fresh install of 2.5.0RC4 in which I just manually copied over the files, messages, etc. Redid the themes by hand,

As for the database: couldn't get a reimport to work with a different prefix, so I did the install with the same prefix as had been used the LAST time I did a fresh FUDForum install (fud2_) and it seems to work... Don't know what cruft has been left in that database though, of course. Consistency checker passed at least.

Already a lot of the bugs I was seeing went away, so that's good.

Now I can get back to bugging you about the RSS format, but that's a different thread. Smile Thanks for the suggestions/help.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Post reply bug?
Next Topic: 2.5.0RC3 - user sessions?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 17:10:09 GMT 2024

Total time taken to generate the page: 0.02555 seconds