Hello everyone,
today I updated my Revo from 2.4.2 to 2.5 rc1.
I have a advanced installation.
There was a conflict with PEAR_Autoloader after the first setup step (path). I saw a blank page.
php-errorlog:
PHP Fatal error: Method PEAR_Autoloader::__call() must take exactly 2 arguments in /usr/local/pear/PEAR/Autoloader.php on line 211
The
require_once 'Autoloader.php'; call during setup is in:
core/model/smarty/Smarty.class.php
near row 80:
if (!class_exists('Smarty_Autoloader', false)) {
if (!class_exists('Smarty_Internal_Data', true)) {
require_once 'Autoloader.php';
Smarty_Autoloader::registerBC();
}
}
I solved it by changing my php.ini. I removed the PEAR path.
php.ini
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/usr/local/php/lib/php:/usr/local/php/lib/php/PEAR" <-- before
include_path = ".:/usr/local/php/lib/php" <-- after that
But not everyone is allowed to change the php.ini
Perhaps there are other solutions for people with the same problem and a hosting with no access to the php.ini ?
After that the update went smoothly and now the Revo 2.5 rc1 setup works nice with PHP7.
Big thank you for this version!