Page 1 of 1

phpBB 2.0.21 released

Posted: Wed Jun 07, 2006 7:57 pm
by Graham
Hi everyone,

phpBB Group announces the release of phpBB 2.0.21, the "Bertie's Summer Vacation" edition. This release is a cumulative bug fix update, as well as including a number of minor security fixes. We have altered the visual confirmation system used on servers without zlib enabled to bring it up to the same level as that used elsewhere and made a few small performance improvements.

As with all new releases we urge you to update as soon as possible. You can of course find this download available on our downloads page. As per usual four packages are available to simplify your update.
  • Full Package
    Contains entire phpBB2 source and English language package
  • Changed Files Only
    Contains only those files changed from previous versions of phpBB. Please note this archive contains changed files for each previous release
  • Patch Files
    Contains patch compatible patches from the previous versions of phpBB.
  • Code Changes
    Contains step-by-step instructions in MOD format for updating heavily MODified installs
Select whichever package is most suitable for you.

Please ensure you read the INSTALL and README documents in docs/ before proceeding with installation or updates!.


It is important that you carry out both parts of the update - updating the files and running the database update script - for updates to be complete.


What has changed in this release?

The changelog (contained within this release) is as follows:
  • [Fix] Changes to random number generator code to explicitly truncate the length of the string
  • [Fix] Quoting on boards with HTML enabled
  • [Fix] Special characters on boards with HTML enabled
  • [Fix] Redirect to list if cancelling deletion of ranks, smilies or word censors
  • [Fix] Missing error message if an inactive user tried to login (Bug #1598)
  • [Fix] Do not alter post counts when just removing a poll (Bug #1602)
  • [Fix] Correct error in removal of old session keys
  • [Fix] Changed filtering of short search terms
  • [Sec] Improved filtering on language selection (also addresses a number of bug reports related to missing languages)
  • [Change] Backported more efficient highlighting code from Olympus
  • [Change] Backported zlib emulation code so that there is only a single confirmation image even if zlib is not available

Posted: Thu Jun 08, 2006 8:48 pm
by Graham
It has come to my attention that there may be a bug in this release which will affect those who run a forum with multiple languages installed and in use and lead to the default language being changed under some circumstances.

If this issue is affecting you, the following change should resolve it.

OPEN
includes/functions.php

FIND (near line 371)

Code: Select all

		$board_config['default_lang'] = $default_lang;
		$userdata['user_lang'] = $default_lang;
REPLACE WITH

Code: Select all

		$userdata['user_lang'] = $default_lang;
FIND (near line 374)

Code: Select all

	elseif ( $board_config['default_lang'] !== $default_lang )
REPLACE WITH

Code: Select all

	elseif ( $userdata['user_id'] === ANONYMOUS && $board_config['default_lang'] !== $default_lang )
FIND (near line 384)

Code: Select all

		$board_config['default_lang'] = $default_lang;
	}
REPLACE WITH

Code: Select all

	}

	$board_config['default_lang'] = $default_lang;
We apologize for any inconvenience this may cause those of you who are affected.

Posted: Fri Jun 09, 2006 3:58 pm
by Graham
All download packages have now been updated to include this change, although it might take some time for this to propogate out to all the mirrors.

If you still have an old copy of the download package and are affected by this issue, it can be resolved via the 3 simple changes above.

We apologize again for any inconvenience this causes those of you who are affected by this issue