Status
Not open for further replies.

Praveer

Active Member
1,616
2010
135
0
Hello all,
I had phpBB installed already and was using it. A few days back I decided to install phpBB seo mod. But I downloaded premod instead of ultimate URL. And uploaded premod onto my server. And when I visited my site it showed me installation page of phpBB. I then understood that I have downloaded premod (actually I had forgotten the difference between premod and Ultimate URL that premod is for those sites which dont have phpBB already installed and ultimate URL is for those sites which are already using phpBB on their site). So I did not continue with the install process as i had phpBB already installed and I went to cpanel and deleted the install directory. Now when I am visiting my site its showing that install directory not found and 404 error. Can anyone please help me how to solve the problem.

Will really be grateful to anyone who helps.

Board URL http://warezap.com

Regards
Praveer
 
15 comments
have you delete your database from cpanel.
If not then just delete all files from public_html and reinstall the phpbb with that database and no posts will be deleted from there
 
Open config.php

Update your database details:

PHP:
$dbname = 'database name';
$dbuser = 'database username';
$dbpasswd = 'database password';
$table_prefix = 'phpbb_';

Might have to change:

PHP:
@define('PHPBB_INSTALLED', false);

to

PHP:
@define('PHPBB_INSTALLED', true);

Example of full config:

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

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>
 
Last edited:
Config file is absolutely clean as all the previous files have been overwritten with the ones in the premod or to be more clear overwritten with the files of new phpbb (files with which we install a fresh phpbb)
 
You still have your old database.

Remove all files out of your root directory.

Reinstall phpBB using an auto installer or manually do it.

Goto MySQL databases (Don't delete the database).

Three ways:

First one:
Goto phpMyAdmin, Download old database.
Goto 'New Database' of the new installation and 'Drop all tables'
Upload old database.
Forum should be active.

Second one:
Delete old user (or create new user with password)
Delete the 'Connection' from your 'Old User' (NOT YOUR DATABASE, RECOMMEND BACK THIS UP BEFORE DOING ANYTHING)
Add new user to your old database;
Refer to my previous post on updating the config file.

If you're not sure, I'll more than happy to take a look for a rep point. :)
 
After 3 PMs via WJ and contact few times via MSN, I've finally was able to login into his cPanel and correct his issue in about 5 minutes. :)
 
Status
Not open for further replies.
Back
Top