Log in

View Full Version : phpbb 3 updating?


Sugaree
August 26th, 2008, 01:46 PM
I have a forum and I have downloaded the new phpbb 3 patch 2 and I don't know where I need to upload the file to update my forum.

Does anyone know anyway to get this updated?

Kiros
August 26th, 2008, 02:15 PM
They should have directions either on the site or within the archive that you downloaded.

Edit:

I did 80 seconds of downloading and looking around and guess what I found:

4.iii. Patch file

The patch file package is for those wanting to update through the patch application, and being comfortable with it.

The patch file is one solution for those with many Modifications (MODs) or other changes who do not want to re-add them back to all the changed files if they use the method explained above. To use this you will need command line access to a standard UNIX type patch application. If you do not have access to such an application but still want to use this update approach, we strongly recommend the Automatic update package explained below. It is also the preferred update method.

A number of patch files are provided to allow you to update from previous stable releases. Select the correct patch, e.g. if your current version is 3.0.1 you need the phpBB-3.0.1_to_3.0.2.patch file. Place the correct patch in the parent directory containing the phpBB3 core files (i.e. index.php, viewforum.php, etc.). With this done you should run the following command: patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME] (where PHPBB DIRECTORY is the directory name your phpBB Installation resides in, for example phpBB3, and where PATCH NAME is the relevant filename of the selected patch file). This should complete quickly, hopefully without any HUNK FAILED comments.

If you do get failures you should look at using the Changed files only package to replace the files which failed to patch, please note that you will need to manually re-add any Modifications (MODs) to these particular files. Alternatively if you know how you can examine the .rej files to determine what failed where and make manual adjustments to the relevant source.

You should of course delete the patch file (or files) after use. As for the other update procedures you should run install/database_update.php after you have finished updating the files. This will update your database schema and data (if appropriate) and increment the version number.

This information was located within the dowloaded archive inside a folder called "docs." I took a second to read the file called README.html and it told me that update information could be found in INSTALL.html. And here we are... :|

Sugaree
August 26th, 2008, 02:26 PM
Thanks for your help Ben but this is going to be extrememly long and confusing for me. As you can probably tell, I'm not very tech savy so to say. But, thanks for the help.

Kiros
August 26th, 2008, 02:32 PM
This might seem like bad advice, but if you're not perfectly comfortable with updating and modifying phpBB, I don't think you should be running it on a website. Just my opinion, though.