upgrade from phpBB 2.0.21 to phpBB 2.0.22???????

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
lawlessSaturn
Registered User
Posts: 5
Joined: Thu Jun 15, 2006 3:57 pm
Location: Florida
Contact:

upgrade from phpBB 2.0.21 to phpBB 2.0.22???????

Post by lawlessSaturn » Sun Jan 07, 2007 10:11 am

ok i wanna upgrade but my forums have alot of forum mods will upgrading take them away?
Image
Image

buntyindia
Registered User
Posts: 69
Joined: Tue Mar 01, 2005 4:23 pm
Location: India
Contact:

Re: upgrade from phpBB 2.0.21 to phpBB 2.0.22???????

Post by buntyindia » Sun Jan 07, 2007 10:17 am

lawlessSaturn wrote: ok i wanna upgrade but my forums have alot of forum mods will upgrading take them away?


No At all buddy...just use code changes

http://prdownloads.sourceforge.net/phpb ... hanges.zip
=====================
Knowledge Is Power Share It

gansert
Registered User
Posts: 581
Joined: Wed Mar 08, 2006 8:48 pm
Location: KÖLN, GERMANY
Contact:

Post by gansert » Sun Jan 07, 2007 10:35 am

Last edited by gansert on Sun Jan 07, 2007 11:00 am, edited 1 time in total.

hc2995
Registered User
Posts: 229
Joined: Tue Jun 20, 2006 1:25 am
Contact:

Post by hc2995 » Sun Jan 07, 2007 10:46 am

This will help for the actual upgrade process:
Update

Before starting with updating, you should first disable your board to prevent problems while updating. To do so you'll have to go to your board's admin panel, click Configuration in the navigation panel, and set 'Disable board' to True. Then click OK to confirm the changes.


If you have MODs installed
There are two ways of updating your board in case you have MODs installed (or modified the script files of your board in any other way)

.patch files

Unix users: to use this way of upgrading you will need command line access to a standard UNIX type patch application

Windows users: there also is a Win32 version of the patch tool available, which allows you to run patch files on Windows. You can download it here. Two topics at phpBB.com describe some minor problems which users encountered while using the patch tool: How to apply a patch on windows?, and [RESOLVED] Patching Problem.

Step 1
Download the “Patch file only” package from the phpBB.com download page, and extract it to a folder somewhere at your hard drive

Step 2
Select the correct patch, e.g. if your current version is 2.0.15 you need the phpBB-2.0.15_to_2.0.20.patch. Place the correct patch in the parent directory of your board (the one containing the phpBB core files like index.php, viewforum.php, etc.)

Step 3
Upload the update_to_latest.php file to the /install directory of your board. If the directory doesn't exist you'll have to create it

Step 4
Run the following command using the command line:
Code:
patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME]
where PHPBB DIRECTORY is the directory name your phpBB board resides in and where PATCH NAME is the filename of the patch file which you would like to execute.
Note: When executing, don't type in the brackets
This should complete quickly, hopefully without any HUNK FAILED comments.

If you do get failures you'll have to try the next update method described in this article. Alternatively if you know how you can examine the .rej files to determine what failed where and make manual adjustments to the relevant source

Step 5
Delete the patch file (or files)

Step 6
Run install/update_to_latest.php trough your browser (using http://www.domain.com/phpBB2/install/up ... latest.php, for example)
This will update your database schema and data (if appropriate) and increment the version number

Step 7
Delete the /install directory from your board's root directory

Code Changes MODs
The code changes are also available in MOD-format, here: http://www.phpbb.com/phpBB/catdb.php?cat=48. This is particularly useful if you don't have command line access to your host, and if you have EasyMOD installed. Of course you can apply the changes by hand, but EasyMOD will do it in less then a minute Wink

When using the MOD files you'll have to upgrade version after version, e.g. if you're currently running phpBB 2.0.16 and you want to upgrade to phpBB 2.0.20, you'll have to execute the 2.0.16 to 2.0.17 MOD, then the 2.0.17 to 2.0.18 MOD, then the 2.0.18 to 2.0.19 MOD, and finally the 2.0.20 MOD.

Okay, let's get to the actual updating (I assume that you're using EasyMOD for this):

Step 1
Download the zip file containing the Code Changes of the version from which you're upgrading, and unzip it to a folder at your hard drive.

Step 2
You'll see a bunch of files; the ones we need to concentrate on are phpbb_2.0.xx_to_2.0.xx.txt and update_to_latest.php (replace the xx with the version number you're upgrading to/from).

Step 3
Upload the phpbb_2.0.xx_to_2.0.xx.txt file and any other .php files except for update_to_20xx.php to /admin/mods/phpbb_20xx_to_20xx (replace the xx with the version number you're upgrading to/from).

Step 4
Go to the EasyMOD control panel in your ACP, and install the MOD. If everything works well you should get no error messages at all. If you do get error messages you'll have two options: ask in the support topic of the Code Changes MOD which you're trying to execute for help, or reinstall – but you'll have to keep in mind that you'll have to add all MODs again. How to reinstall phpBB without loosing your data is explained in the next section in this article.

Step 5
Upload the update_to_latest.php file to the /install directory of your board. If the directory doesn't exist you'll have to create it

Step 6
Run install/update_to_latest.php trough your browser (using http://www.domain.com/phpBB2/install/up ... latest.php, for example)
This will update your database schema and data (if appropriate) and increment the version number

Step 7
Delete the /install directory from your board's root directory

Locked

Return to “2.0.x Support Forum”