1

Topic: PHP 5.4.5 new Indicia 0.8.1b install

Configuration Check reports the following error:

A bug in PHP has been detected which prevents the Kohana framework used by the Indicia Warehouse from running. This bug can be fixed by upgrading to PHP 5.3 or higher or by disabling safe mode on the server. For more information see https://bugs.php.net/bug.php?id=43530.

Just to confirm I'm running PHP 5.4.5 which has depreciated safe mode so doesn't look as if there is a way forward with this, short of downgrading PHP install or waiting for code to be fixed to run with new PHP versions.

Best wishes

Ian

2

Re: PHP 5.4.5 new Indicia 0.8.1b install

Hi Ian
The problems caused by failing that configuration check have now been worked around elsewhere in the code, unfortunately the subsequent removal of the configuration check itself did not make it into 0.8.1. You can remove it yourself by going to http://indicia.googlecode.com/svn/core/ … g_test.php then saving the contents of the page on top of your existing modules/indicia_setup/helpers/config_test.php file in the warehouse installation folder.

However, we have not yet tested Indicia on PHP 5.4.5 so I cannot guarantee it will work - you might like to consider a PHP 5.3 install for this reason.

Best wishes

John van Breda
Biodiverse IT

3

Re: PHP 5.4.5 new Indicia 0.8.1b install

Thanks, John.

I'll probably go with 5.3.  I had to alter some of the PHP to even get the configuration check page to appear as the following:

Error converted to exception. Array to string conversion at line 142 in file /system/libraries/drivers/Cache/File.php

kept appearing in the log in /application/logs/

Leaving me with a blank page in my browser and the following url:

http://localhost/indicia/index.php/setup_check

The problem appears to be with the $tags variable in line 142 of /system/libraries/drivers/Cache/File.php:

$newFile = $id.'~'.$tags.'~'.$lifetime;

I just added $tags='~' just above the above line and it went through to the configuration check page.

Best wishes

Ian