PHPbb 2.0.17 to 2.0.18

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
Webdummy
Registered User
Posts: 46
Joined: Sun Oct 09, 2005 8:39 pm

Post by Webdummy » Tue Nov 01, 2005 3:55 am

bluetooth78 wrote: It's very simple:

• Upload the new patched or changed files to your server
• Run the script. http://www.yourdomain.com/phpbb/install ... latest.php

Delete the /install and /contrib folders from your server.

Done.


Thanks! Just followed these basic instructions and had a troublefree install. The whole thing took less than 5 mins!

Protostar
Registered User
Posts: 7
Joined: Tue Nov 01, 2005 3:14 am
Location: Raleigh
Contact:

Post by Protostar » Tue Nov 01, 2005 4:30 am

Alright I copied the files to my web server and tried to update it but get this error:

404 Not Found


The requested URL /phpbb/install/update_to_latest.php was not found on this server.



Then when I go to the www/phpBB22/install directory the update to latest.php file is right there. What gives?

User avatar
3Di
Former Team Member
Posts: 13776
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di » Tue Nov 01, 2005 4:33 am

check locations.. :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

Protostar
Registered User
Posts: 7
Joined: Tue Nov 01, 2005 3:14 am
Location: Raleigh
Contact:

Post by Protostar » Tue Nov 01, 2005 4:40 am

3Di wrote: check locations.. :)


Check what locations?

Iced Coffee
Registered User
Posts: 79
Joined: Mon Sep 26, 2005 11:47 am

Post by Iced Coffee » Tue Nov 01, 2005 5:21 am

Thanks, just done it well, yes, less than 3 minutes for it.

However, I did not have to take the step 4 in this instruction. Why?
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.14 you need the phpBB-2.0.14_to_2.0.17.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.
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

cybrid23
Former Team Member
Posts: 9877
Joined: Wed Jun 29, 2005 5:55 am
Location: Somewhere in the Midwest...
Contact:

Post by cybrid23 » Tue Nov 01, 2005 6:13 am

Protostar wrote: Alright I copied the files to my web server and tried to update it but get this error:

404 Not Found


The requested URL /phpbb/install/update_to_latest.php was not found on this server.



Then when I go to the www/phpBB22/install directory the update to latest.php file is right there. What gives?


First, note the different urls.

Second, note the CaSe...It is CaSe SeNsItIvE. Make sure you are going to the correct folder. phpbb is not the same as phpBB....
---Never leave home without a towel and your peril sensitive sunglasses.
---Do Not PM Me For Support. It will go unanswered.
Thanks.

Protostar
Registered User
Posts: 7
Joined: Tue Nov 01, 2005 3:14 am
Location: Raleigh
Contact:

Post by Protostar » Tue Nov 01, 2005 6:15 am

That actually was a typo. There is only supposed to be one 2 (BB2).

Protostar
Registered User
Posts: 7
Joined: Tue Nov 01, 2005 3:14 am
Location: Raleigh
Contact:

Post by Protostar » Tue Nov 01, 2005 6:17 am

Still the same error:

The requested URL /phpBB2/install/update to latest.php was not found on this server.

cybrid23
Former Team Member
Posts: 9877
Joined: Wed Jun 29, 2005 5:55 am
Location: Somewhere in the Midwest...
Contact:

Post by cybrid23 » Tue Nov 01, 2005 6:18 am

I was not referring to the 2.

It was looking for requested url (what you put in the address bar) /phpbb/install

You posted that it's in phpBB2/install

See the difference?
---Never leave home without a towel and your peril sensitive sunglasses.
---Do Not PM Me For Support. It will go unanswered.
Thanks.

Protostar
Registered User
Posts: 7
Joined: Tue Nov 01, 2005 3:14 am
Location: Raleigh
Contact:

Post by Protostar » Tue Nov 01, 2005 6:31 am

God, I'm stupid. I was forgetting to put the underscores between words.
Instead of update_to_latest.php I was typing update to latest.php. Everything updated and is fine now. Thanks for the help.

gasteropod
Registered User
Posts: 270
Joined: Thu Mar 24, 2005 10:37 am
Location: Hampshire, UK

Post by gasteropod » Tue Nov 01, 2005 11:11 am

Iced Coffee wrote: Thanks, just done it well, yes, less than 3 minutes for it.

However, I did not have to take the step 4 in this instruction. Why?
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.14 you need the phpBB-2.0.14_to_2.0.17.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.
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

If you didn't do step 4, then you have probably just updated the database and the database version number but have not updated any of the files! In effect this means you have not updated your system at all, just told the database it's now 2.0.18 when in reality all the code is 2.0.17.
Use the Support Request Template when asking for help.

4rum
Registered User
Posts: 60
Joined: Sun Jul 04, 2004 3:21 am

Thank you markus_petrux

Post by 4rum » Tue Nov 01, 2005 5:14 pm

:D Just had a look at the changes.

I prefer to do it all manually. Heavily modded board . :wink:

Just like to say a big thank you to markus_petrux . 8)

The phpbb_2.0.17_to_2.0.18\phpbb_2.0.17_to_2.0.18\html\index.html file
included in the html folder within the Code Changes is brilliant.

Well done, so easy to use and easy to follow . :D

Cheers . 8)

User avatar
freddie
Registered User
Posts: 404
Joined: Sun Mar 31, 2002 1:40 pm
Location: Estes Park, USA
Contact:

Post by freddie » Tue Nov 01, 2005 5:23 pm

hello,

i had phpbb 2.0.17 and made the change to 2.0.18, but i had some problems.

it wasn't possible anymore to make posts

the error was in this line in posting.php

Code: Select all

#-----[ FIND ]---------------------------------------------
# NOTE --- This is a partial match, the whole line on a fresh installation looks like this:
#		$user_sig = ( $post_info['user_sig'] != '' && $board_config['allow_sig'] ) ? $post_info['user_sig'] : '';
#
		$user_sig = ( $post_info['user_sig'] != ''

#
#-----[ AFTER, ADD ]---------------------------------------------
#
		$userdata['user_sig_bbcode_uid'] = $post_info['user_sig_bbcode_uid'];
when i don't use this piece of code, everything works. Is that a big problem or not ?

Locked

Return to “2.0.x Support Forum”

cron