As stated in the documentation, Geeklog 1.3.10 now requires at least PHP 4.1.0. What has been overlooked, however, is that the PEAR packages that we're shipping with Geeklog now require at least PHP 4.2.0.
Here's how to work around this problem:
- Download the updated PEAR packages (direct download link - 154 KByte). Remove the contents of the system/pear directory that's included in the 1.3.10 tarball and unpack the new PEAR packages inside that directory.
- Edit lib-common.php and insert the following piece of code at approx. line 140 (right after the
if
block that starts with if( !$_CONF['have_pear'] )
):
Text Formatted Code
if( !function_exists( 'is_a' ))
{
require_once( 'PHP/Compat.php' );
PHP_Compat::loadFunction( 'is_a' );
}
This has been tested on PHP 4.1.2 (Thanks, Tom) and will be included in future releases.
bye, Dirk
[ edit: Just to make that clear: The new piece of code has to be inserted after the
if block, not just after that one
if statement quoted above. The
if block ends in line 139 (in the lib-common.php for Geeklog 1.3.10), so the new piece of code should be inserted in line 140 |