Page 1 of 1

Critical error

Posted: Mon Mar 31, 2008 10:03 pm
by rtrev64
I created a new board but somehow I messed up an old board I still use.I get the error message below when I try to go to that page.. My url is included..

phpBB : Critical Error

Could not connect to the database

http://www.roberttrevino.com/footballroom/index.php

Re: Critical error

Posted: Mon Mar 31, 2008 10:07 pm
by ric323
The config.php file in your old board's folder contains the information to connect to your database.
Is the database used by that board still present on your web server.
Is the info in that config.php file still correct?

(There is some background information at Knowledge Base - Creating a new config.php )

Re: Critical error

Posted: Mon Mar 31, 2008 11:34 pm
by rtrev64
ric323 wrote:The config.php file in your old board's folder contains the information to connect to your database.
Is the database used by that board still present on your web server.
Is the info in that config.php file still correct?

(There is some background information at Knowledge Base - Creating a new config.php )
yes..

it changed from what I am used to to this:

$dbpasswd = 'removed' ;

Re: Critical error

Posted: Mon Mar 31, 2008 11:38 pm
by ric323
I don't understand.
Do you mean something changed you config.php file?
Or do you mean that the database password has changed, and you need to update config.php?

(If that really is your password, please remove it from your post now!)

Re: Critical error

Posted: Tue Apr 01, 2008 2:29 am
by rtrev64
ric323 wrote:I don't understand.
Do you mean something changed you config.php file?
Or do you mean that the database password has changed, and you need to update config.php?

(If that really is your password, please remove it from your post now!)
well I created a new board, of course I had to name the directory and then username and password which I use to get into Cuteftp is also my new messageboard password.Then I started getting the critical error everytime I want to enter the old board.

So I dont know if I need to update or replace or change text?

Re: Critical error

Posted: Tue Apr 01, 2008 2:45 am
by ric323
rtrev64 wrote: well I created a new board, of course I had to name the directory and then username and password which I use to get into Cuteftp is also my new messageboard password.
I don't follow what you are trying to say here.

You had a database set up, and a board using that database running.
Did you set up a second database for your "new" board to use?
Or did you use a different "table_prefix" when installing the second board so you could share the one database.

If you just changed the password on your existing database, didn't you think this might affect your original board?

Re: Critical error

Posted: Tue Apr 01, 2008 6:32 pm
by rtrev64
ric323 wrote:
rtrev64 wrote: well I created a new board, of course I had to name the directory and then username and password which I use to get into Cuteftp is also my new messageboard password.
I don't follow what you are trying to say here.

You had a database set up, and a board using that database running.
Did you set up a second database for your "new" board to use?
Or did you use a different "table_prefix" when installing the second board so you could share the one database.

If you just changed the password on your existing database, didn't you think this might affect your original board?


In regards to data bases, tables you mention, I don't know enough of them, I just created a new board and got the error from my old board.
Looks like I did something and not realize it..
Apparently not..So would I just change the password of my old board to the new one with that matches the new board password?

Re: Critical error

Posted: Tue Apr 01, 2008 9:55 pm
by ric323
How are you "creating" boards?
Is this some sort of "one-click install" provided by your web host?
If yes, there is a chance that it just discarded your old database when it created the new one.
We really can't say, we only support installs done using the software downloaded from here. If this is something provided by your web host, then you must ask them for support.

Re: Critical error

Posted: Wed Apr 02, 2008 1:39 am
by rtrev64
whoa.. did not think of that. yeah, It was a one click create a phpbb board..went through the c-panel-x and then Fantastico De Luxe and of course selected the phpbb board create.

Re: Critical error

Posted: Wed Apr 02, 2008 2:21 am
by espicom
Fantastico install is massively broken. OK, significantly broken. It does not use the phpBB installation program at all; it simply writes a blank database out, even through it is missing some configuration items that are created by the regular install. It does not bother to check to see if there is an existing database, and it does not offer you the chance to change the table prefix, so that multiple boards can coexist in the same database.

Hope you have a recent backup...