1
ramblingfool
2.2 upgrade bug and workaround

I was getting all kinds of:

ERROR: Could not insert config category general to the database.
ERROR: Could not insert config category meta to the database.
ERROR: Could not insert config category censor to the database.
ERROR: Could not insert config category search to the database.
ERROR: Could not insert config category mail to the database.
ERROR: Could not insert config category auth to the database.

style errors. So I dumped my DB and tried again, this time actually looking at the php errors. (I really didn't want to hand edit my DB). There was some warnings, I'll assume they were benign and then I found an actual error, something about /modules/system/xoops_version.php and not being able to open language file /language//notifications.php or something really similar. I realized my language isn't // so perhaps that might be it. So I opened up /modules/system/xoops_version.php and did a search for language. Bam there it was. line 215. Some php code that was supposed to extract the language and insert it into the path. Well it wasn't doing it's job very well since I got errors so I changed my file to:

include_once XOOPS_ROOT_PATH . "/language/english/notification.php";

and gave it an try with my restored DB. No warnings even. Well that's good. Click update. Scan quickly.... No red.
Hurrah for me. this is more of a workaround than a fix, but I think it's a bug since I've seen those error messages floating around the forums. So, hopefully this can get squished, and until then feel free to try my kludge, I don't guarantee anything.

P.S. how do I do those cool code block thingies? It would probably make things more readable if I knew anything about forums and layout.... sorry for my ignorance there.

2
tim1980
Re: 2.2 upgrade bug and workaround
  • 2005/8/7 6:19

  • tim1980

  • Not too shy to talk

  • Posts: 114

  • Since: 2004/11/5


Use the buttons at the top of the comments Window, it's the last two the quote text or code...

Login

Who's Online

154 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits