The config.php file could not be found

Status
Not open for further replies.

tzar

Active Member
38
2009
0
0
Can someone help me

I backup from my old host forum and base and restore on VPS. I restore forum and base via ssh.

Change the config setting and put to the root in httpdocs, and when I tray to open mydomain.com i get this message.

Code:
The config.php file could not be found.

Click here to install phpBB

I restore forum folder in httpdocs, and config.php also in this folder.

Thanks for advice.
 
13 comments
is the config in folder it should be in ? not sure why it'd be asking to install phpBB did you rename the install folder after installing ?

You may need to update ur config sql info
 
is the config in folder it should be in ? not sure why it'd be asking to install phpBB did you rename the install folder after installing ?

You may need to update ur config sql info

Yes config.php is in httpdocs direrectory and of course I rename install folder.

Everithing works on my old host.

It seems to me that the path of forum in phpBB Settings isn't right.

Do you know where to check path setting ?

Thanks for advice.
 
Weird, are you sure that whole database is imported? It should have about 60 tables. To be exact 62 or 65.

I'm talking about this field:

[slide]http://pokit.etf.ba/upload/pokit46bc56d0ff6bad9dca3578cbbe5ed486.png[/slide]
 
Hold on have you tired just simply reuploading config.php or making a new one it seems like it has corrupted the fact that its asking for a re install means it cant read the config.php at all let alone get into the database so i doubt anything will be wrong their

If you want to create a new one just make a new config.php and it should have this in it fill in your details

PHP:
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysqli';
$dbhost = '';
$dbport = '';
$dbname = 'db name goes ere';
$dbuser = 'db username goes here';
$dbpasswd = 'db password goes here';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>
And make sure you give it chmod perms of 644
 
Thanks all for try to help me.

I create new config.php 5 times and checked 50 times and no work.

I do not know why but report as the file does not exist and of course is there.
 
Status
Not open for further replies.
Back
Top