Ok new problem major error
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Re: Ok new problem major error
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.
- scrapbethy
- Registered User
- Posts: 66
- Joined: Sat Sep 29, 2007 1:31 pm
- Location: Ohio
Re: Ok new problem major error
I have the username and passwords, Im just clueless as to what to do now...
Re: Ok new problem major error
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.
- scrapbethy
- Registered User
- Posts: 66
- Joined: Sat Sep 29, 2007 1:31 pm
- Location: Ohio
Re: Ok new problem major error
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
Re: Ok new problem major error
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.
- scrapbethy
- Registered User
- Posts: 66
- Joined: Sat Sep 29, 2007 1:31 pm
- Location: Ohio
Re: Ok new problem major error
I took it from my sites files.
Re: Ok new problem major error
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:
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.
Code: Select all
$acm_type = 'file' ;
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.
- scrapbethy
- Registered User
- Posts: 66
- Joined: Sat Sep 29, 2007 1:31 pm
- Location: Ohio
Re: Ok new problem major error
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
- scrapbethy
- Registered User
- Posts: 66
- Joined: Sat Sep 29, 2007 1:31 pm
- Location: Ohio
Re: Ok new problem major error
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.
- Kevin Clark
- Support Team
- Posts: 751
- Joined: Thu Feb 10, 2005 5:34 pm
- Location: UK
- Contact:
Re: Ok new problem major error
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
Save and then upload it to the forum folder and see what happens.
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);
?>