new.new wrote: ↑
Wed Jan 09, 2019 10:23 pm
I also tried to run the database on localhost, but it's an endless nightmare with errors everywhere.
That means that if your board is broken for one reason or another (e.g. update) you won't be able to restore any backup (because the restore feature needs a working phpBB board).
Create a new board of exactly the same version of your online board.
Once that is done, you have a database and a config.php, and a working (new) board on localhost.
If your backup was made using the phpBB Backup feature, copy that backup into /store.
Log in and to go ACP and restore the backup. Once restored, don't touch the board: Close the browser and delete cookies and cache (so that you will be logged out).
Delete all the files in your phpBB root on localhost but NOT config.php (copy that somewhere just to make sure)
Copy all files from your online phpBB root, to your localhost phpBB root
in /cache, delete everything except for .htaccess and index.htm
In your phpBB root (localhost) overwrite the config.php (which comes from online) with the first one you made.
This config.php points to the database on localhost so that is OK.
The last step is to edit the config_table with phpMyAdmin - edit cookie_domain (probably just /, script_path (probably the same as online ex. /phpBB, servername > probably localhost
Now you have a the backup copy of your online board on your PC
And now, since there are only 7 -8 posts to insert you can use the first method I proposed to copy the deleted post (which are in the backupforum on localhost) to your online board.