Can't Install phpBB3

Status
Not open for further replies.

hatchetdown

New Member
Messages
9
Reaction score
0
Points
0
I've had two other problems installing this that were caused by x10's configuration, and I'm suspecting that this problem might be no different.

Anyway, I went through the phpBB installer and got to the end with no errors where it says something like "Congratulations, phpBB is setup and ready to use, click the button below to login", I click the login button and get hit with this phpBB error:
SQL ERROR [ sqlite ]
SQL logic error or missing database [1]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

Going back to that page I get:
Fatal installation error
index.php [ 403 ]
Module "" not accessible.

I tried removing the /phpBB/install/ directory as their install guide suggests, but no difference.
Softaculous in cPanel, is also unable to install phpBB3, spitting the error:
The MySQL Connection could not be established.

I had been thinking of recommending x10 paid services to all my clients but seeing as this is all I have to judge it on, I doubt that will be happening anytime soon...
 
Last edited:

hatchetdown

New Member
Messages
9
Reaction score
0
Points
0
Really!?
Nobody has any idea why it's impossible to install the world's most popular forum software on this site!
 

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
There are several things which might cause the errors you are describing with PHPBB3 installation.
It appears that you are attempting a fresh install and not an upgrade which eliminates one possibility.
The error you are having could be caused by incorrect database name, database user name and / or password.
It could be that something else is incorrect in the PHPBB Config File.
If I were encountering this problem I would (carefully) delete all files associated with the current PHPBB install and then start over with a fresh install.

If none of these suggestions work, just wait a little while and I am sure somebody else will offer other advise.

Sorry you are having trouble.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Softaculous in cPanel, is also unable to install phpBB3, spitting the error:
The MySQL Connection could not be established.

I just helped a friend install phpBB using Softaculous on Lotus server.
After the first "install", did you look to see if the database was there, etc?
 

hatchetdown

New Member
Messages
9
Reaction score
0
Points
0
Carl6969,
I am indeed attempting a fresh install, and whenever it doesn't work, I delete the entire phpBB directory, delete all databases/database users in cPanel, re-extract phpBB from the official (checksum-ed) ZIP archive (extracting it inside public_html), then remake databases and re-apply permissions to phpBB files as instructed by the install guide... then try again.

I assume by incorrect database/user/password, you mean me entering a text string in the phpBB installer that doesn't match the database I made in cPanel. I've gone as far as typing the password in a text editor first, then pasting it into both the installer and cPanel to ensure it's the same (password is also under 7 chars as cPanel asks) and copy/pasting the database name and username directly from cPanel.

The contents of config.php in the phpBB install, are empty before attempting install (which is normal), and read like this after install attempt:
Code:
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'sqlite';
$dbhost = 'localhost';
$dbport = '';
$dbname = 'database_name';
$dbuser = 'user_name';
$dbpasswd = '******';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>

I just helped a friend install phpBB using Softaculous on Lotus server.
After the first "install", did you look to see if the database was there, etc?
After trying to install using Softaculous, there were no databases in cPanel.
Could someone please just try a phpBB install on Stoli and see what happens?
 
Last edited:
Status
Not open for further replies.
Top