Ok new problem major error

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Ok new problem major error

Post by Kevin Clark »

Maybe you'd better back up a bit.

If phpBB was not on the server you wouldn't get that message.

When you install it you fill out information about the database name, username and password for it. That info is written in to the config.php file so the forum folder can 'talk' to the database. Those two pieces of information have to match otherwise you get the error you're seeing.

You need to download the config.php file and open it up so you can see that information and check if it's the same as that for the database.

What is the address of the board?
Image
User avatar
scrapbethy
Registered User
Posts: 66
Joined: Sat Sep 29, 2007 1:31 pm
Location: Ohio

Re: Ok new problem major error

Post by scrapbethy »

address to my board is http://www.scraps-n-such.com/forum and this is what's in my config.php file Sorry about all the dumb questions but I am really clueless to all of this.
<?php

$dbms = 'mysql' ;
$dbhost = 'localhost' ;
$dbport = '' ;
$dbname = 'scrapsn_phpb2' ;
$dbuser = 'scrapsn_phpb2' ;
$dbpasswd = '' ;

$table_prefix = 'phpbb_' ;
$acm_type = 'file' ;
$load_extensions = '' ;

@define('PHPBB_INSTALLED', true);

?>
User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Ok new problem major error

Post by Kevin Clark »

I see a different error to the one you posted at the start.

Code: Select all

SQL ERROR [ mysql4 ]

Table 'scrapsn_phpb2.phpbb_config' doesn't exist [1146]
What exactly did you delete?
Image
User avatar
scrapbethy
Registered User
Posts: 66
Joined: Sat Sep 29, 2007 1:31 pm
Location: Ohio

Re: Ok new problem major error

Post by scrapbethy »

My oringinal install of my forum from fantastico in my control panel. The files are still on my server though. After I did the conversion I changed the new version name to my old one and everything was working fine. Then I removed the old install and this is what happened.
User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Ok new problem major error

Post by Kevin Clark »

scrapbethy wrote:Then I removed the old install and this is what happened.
The forum folder or the database?
I think you might have deleted the database. That's where all the users and posts are.
Image
User avatar
scrapbethy
Registered User
Posts: 66
Joined: Sat Sep 29, 2007 1:31 pm
Location: Ohio

Re: Ok new problem major error

Post by scrapbethy »

Ok aparently the database then. I backed it up on my PC yesterday. How do I restore this?
User avatar
scrapbethy
Registered User
Posts: 66
Joined: Sat Sep 29, 2007 1:31 pm
Location: Ohio

Re: Ok new problem major error

Post by scrapbethy »

Ok Im restoring the database now. Taking a while and it says Restoring Database on my screen but says DONE at the bottom. Any idea?
User avatar
scrapbethy
Registered User
Posts: 66
Joined: Sat Sep 29, 2007 1:31 pm
Location: Ohio

Re: Ok new problem major error

Post by scrapbethy »

SQL ERROR [ mysql4 ]

Table 'scrapsn_phpb2.phpbb_config' doesn't exist [1146]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
So if the files are on the server and I've restored the database, now what?
User avatar
Kevin Clark
Support Team
Support Team
Posts: 751
Joined: Thu Feb 10, 2005 5:34 pm
Location: UK
Contact:

Re: Ok new problem major error

Post by Kevin Clark »

You still need to make sure that the config.php information about the database name, username, password and table prefix, match what is actually restored.
Image
User avatar
scrapbethy
Registered User
Posts: 66
Joined: Sat Sep 29, 2007 1:31 pm
Location: Ohio

Re: Ok new problem major error

Post by scrapbethy »

I've done everything and I have no idea now. Waiting for my server admin to get back to me. Im just about to pull my hair out.
Locked