Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2802

[3.3.x] Support Forum • Re: Trying to ressurect an old forum

$
0
0
- Copied the config.php and set aside a copy.
Installing fresh copy is usually not necessary but one big benefit is updated config.php so use that, *see instructions below about prefix.
- Removed the install folder.
It's easier to rename it installbak until you get everything sorted. Also, delete everything in cache folder except .htaccess and index.htm
- Put the the backup into the Store directory
- Logged into the ACP and restored from the backup. This was successful and the system reports a database size of 3Gb as expected (size of .gz file).
To avoid any confusion go into phpMyadmin and drop all the tables. To avoid any issues with php timeouts use the command line to import DB. Assuming you are using XAMPP unzip the backup DB file and rename so it's just myfile.sql and place in the XAMPP directory. On the XAMPP control panel click the shell button and then use this command. Edit in your username and DB name, note the -u without a space before Myusername is not typo. If you are using some other local application you'll need to check their documentation how to use shell.

Code:

mysql -uMyusername -p DB_name < myfile.sql

After successful import first check what the prefix on tables are, default is phpbb_ but it could be different. Open config.php and edit prefix if necessary.

Next check what version you have using this SQL in phpMyadmin:

Code:

SELECT * FROM phpbb_config WHERE config_name = 'version'; 

How you proceed from here varies, report back the version.

Statistics: Posted by thecoalman — Sat Jun 07, 2025 4:51 pm



Viewing all articles
Browse latest Browse all 2802

Trending Articles