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
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Ok new problem major error

Post by Eelke »

The information in the config.php needs to match the credentials needed to access your database. It is like you having to have a username and password to access this website; if you don't have the correct password to match your username, you will not be allowed access to this website. The same is tru for your board trying to access the database; if it doesn't have a matching pair, it will not get access. There is no way we can tell you what the username and password are for your database, whoever administers the database should tell you.

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 have the username and passwords, Im just clueless as to what to do now...

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Ok new problem major error

Post by Eelke »

They need to be entered into the config.php. If you still get the same error that you reported at the start of this topic, the username and password are not what you think they are. That's why someone asked whether they were changed.

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 I changed the un and pw in the config file and I get this
Warning: main(./includes/acm/acm_.php) [function.main]: failed to open stream: No such file or directory in /home/scrapsn/public_html/forum/common.php on line 186

Warning: main(./includes/acm/acm_.php) [function.main]: failed to open stream: No such file or directory in /home/scrapsn/public_html/forum/common.php on line 186

Fatal error: main() [function.require]: Failed opening required './includes/acm/acm_.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/scrapsn/public_html/forum/common.php on line 186

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Ok new problem major error

Post by Eelke »

Your config.php file is incomplete. How was it created? Normally, it would be created by the installation procedure.
Last edited by Eelke on Mon Feb 09, 2009 4:46 pm, edited 1 time in total.

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 took it from my sites files.

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Ok new problem major error

Post by Eelke »

Is this the same file you posted earlier? Make sure that you entered the database username and password correctly. The errors you reported last indicate that the entry:

Code: Select all

$acm_type = 'file' ;
did not properly execute. This may be due to editing errors in the lines before it.

The errors you reported earlier, about the missing table, may indicate that your phpBB installation is using a different table prefix than the one that is in your config.php. To find out what the correct table prefix is, you will need to look into your database using a tool such as phpmyadmin. You may need the help of your server admin, if you don't know how to do that.

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. I've restored the databases, my prefixes username and passwords match. I have two databases now that I did the conversion, Im completely lost, I've changed this that and the other to no avail... and still nothing

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 question. In my files on my PC of PHP version 3 the config file is empty. How can I restore my config file and know it's right.

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 »

Open that blank config.php file in notepad++
http://notepad-plus.sourceforge.net/uk/site.htm

Paste this code into it making sure there are no spaces or lines at the start or end.
Edit the fields I've marked to match your database

Code: Select all

<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'your_database_name_in_here';
$dbuser = 'your_database_username_in_here';
$dbpasswd = 'your_database_password_in_here';
$table_prefix = 'your_database_table_prefix_in_here_';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>
Save and then upload it to the forum folder and see what happens.
Image

Locked