Ich hab heute mein Board von 2.0.5 auf 2.0.6 gepatchet. In der Dokumentation stand ja:
So. Ich hab das alles gemacht, scheint auch wunderbar zu funktionieren. Ich hab nur noch zwei Fragen, die da nicht geklärt werden, der Neugierde halber7.iii. Patch file
The patch file is probably the best solution for those with many Mods or other changes who do not want to re-add them back to all the changed files. To use this you will need command line access to a standard UNIX type patch application.
A number of patch files are provided to allow you to upgrade from previous stable releases. Select the correct patch, e.g. if your current version is 2.0.2 you need the phpBB-2.0.2_to_2.0.6.patch. Place the correct patch in the parent directory containing the phpBB 2 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 phpBB2, 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 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 upgrade procedures you should run install/update_to_206.php after you have finished updating the files. This will update your database schema and data (if appropriate) and increment the version number.
1. Ist das eigentlich egal, wo install/update_to_206.php liegt? Da wird ja nichts dazu gesagt. Ich habe intuitiv die kompletten Verzeichnisse install/ und contrib/ in mein phpBB2 root Verzeichnis kopiert und das Script von dort gestartet, aber wäre es auch anders gegangen?
2. Wozu sind eigentlich die Files install.php und upgrade.php da? Sind die von irgendeiner Relevanz beim Upgrade von 2.0.5 auf 2.0.6? Oder wofür sind die da?