1
shazbot101
NewBB Problems reporting to Database
  • 2005/4/9 3:55

  • shazbot101

  • Just popping in

  • Posts: 8

  • Since: 2004/11/11


Since the upgrade from beta 3 to RC, my newbb has been giving me this error whenever I try to do something with it (post, mod, even view)

ERROR: Could not connect to the forums database.

Any Idea what could be going on, when look into the sql database all the info is there for the forums that use to show, and the tables have not changed, but I am not able to view them via the website.

Everything else seems to be working correctly but the forums. Infact the forum block options have completly dissapeared.

http://www.thechocobo.com/

2
Dave_L
Re: NewBB Problems reporting to Database
  • 2005/4/9 5:24

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


What version of NewBB?

3
shazbot101
Re: NewBB Problems reporting to Database
  • 2005/4/9 6:50

  • shazbot101

  • Just popping in

  • Posts: 8

  • Since: 2004/11/11


I assume I am using the version that came with 2.0.10 RC, I have been overwriting it and updating the modules this way for the last...6 months of versions.

4
shazbot101
Re: NewBB Problems reporting to Database
  • 2005/4/9 7:40

  • shazbot101

  • Just popping in

  • Posts: 8

  • Since: 2004/11/11


This is the problem that I seem to be encountering. I fiddled with a fresh install of XOOPS (using the new RC) and this is what a test post looks like via the SQL coding of this new version

INSERT INTO `xoops_bb_posts` VALUES (1, 0, 1, 1, 1113027943, 1, 'IP ADDRESS OF POSTER HERE', 'test', 1, 0, '', 1);

This is what my SQL database looks like right now with the version of XOOPS upgraded to RC (not fresh install but everything else works)

INSERT INTO `xoops_bb_posts` VALUES (6, 0, 3, 3, 1095253063, 1, NULL, 67, 'test', 0, 1, 1, 1, 1, '', 1, 1, 0, NULL, 0);

Someone wanna tell me why the coding for the newbb has changed? I tried to import the old coded posts to the new version and that is why its giving me the error can not connec to database. Is this suppose to happen or is this an adverse side effect to upgrading from a older version?

5
Dave_L
Re: NewBB Problems reporting to Database
  • 2005/4/9 8:26

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The first INSERT looks like newbb version 1, and the second one looks like newbb version 2. Version 2 adds some columns to that database table.

The XOOPS core distributions still include newbb version 1. If you had previously updated newbb to version 2, then you shouldn't have updated the newbb directory when you upgraded the XOOPS core.

Assuming that you haven't messed up the database, you should be able to resolve the problem by downloading newbb version 2 and extracting it into your newbb directory.

Login

Who's Online

129 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 129


more...

Donat-O-Meter

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

Latest GitHub Commits