hello,
busy and been sick these days
test this fix, that detects PHP version (so that you do not to wait for this to be tested/commited):
1. in files:
administrator\components\com_flexicontent\controllers\import.php(117)
administrator\components\com_flexicontent\controllers\import.raw.php(48)
administrator\components\com_flexicontent\views\import\view.html.php(71)
replace:
Code:
$conf = unserialize( $conf ? zlib_decode(base64_decode($conf)) : "" );
with
Code:
$has_zlib = version_compare(PHP_VERSION, '5.4.0', '>=');
$conf = unserialize( $conf ? ($has_zlib ? zlib_decode(base64_decode($conf)) : base64_decode($conf)) : "" );
2. in file:
administrator\components\com_flexicontent\controllers\import.php
replace:
Code:
$conf = base64_encode(zlib_encode(serialize(null), -15));
with:
Code:
$has_zlib = version_compare(PHP_VERSION, '5.4.0', '>=');
$conf = $has_zlib ? base64_encode(zlib_encode(serialize(null), -15)) : base64_encode(serialize(null));
and replace:
Code:
$session->set('csvimport_config', base64_encode(zlib_encode(serialize($conf), -15)), 'flexicontent');
with:
Code:
$has_zlib = version_compare(PHP_VERSION, '5.4.0', '>=');
$session->set('csvimport_config',
( $has_zlib ? base64_encode(zlib_encode(serialize($conf), -15)) : base64_encode(serialize($conf)) ),
'flexicontent');