[horde] test.php error

Arjen de Korte build+horde at de-korte.org
Sat Jan 25 10:54:36 UTC 2020


Citeren Ferdinand Gruber <fer.grub at yahoo.de>:

> I have a local instance of horde for test purposes.
>
> When trying to login now I suddenly get the message that the session  
> has timed out.
>
> Therefore I tried horde/test.php
>
> Now I got the following stack trace:
>
> HORDE[6050]: [horde] ParseError: syntax error, unexpected 'new'  
> (T_NEW) in /usr/share/php7/PEAR/File/Fstab.php:110
> Stack trace:
> #0 /usr/share/php7/PEAR/Horde/Autoloader.php(65):  
> Horde_Autoloader->_include('/usr/share/php7...')
> #1 [internal function]: Horde_Autoloader->loadClass('File_Fstab')
> #2 [internal function]: spl_autoload_call('File_Fstab')
> #3 /srv/www/htdocs/horde/lib/Test.php(646): class_exists('File_Fstab')
> #4 /srv/www/htdocs/horde/test.php(135): Horde_Test->pearModuleCheck()
> #5 {main} [pid 6050 on line 74 of  
> "/usr/share/php7/PEAR/Horde/ErrorHandler.php"]
>
> What can I do? Please help.

Uninstall File_Stab by running

     pear uninstall File_Fstab

This PEAR package is not compatible with PHP-7 and in all likelihood,  
you're running that version. The package isn't required anymore.



More information about the horde mailing list