[horde] Is Horde_ActiveSync not available any longer?

Hans-Peter Straub straub at i-netpartner.de
Fri Jul 16 10:17:28 UTC 2021


Hello all,

i removed the File_Fstab from pear and now i can call the test.php page. 
I also have installed the recommended parts from the pest.php page.

Now all looks good for login as all users with admin-rights. When i want 
to login as user that isn't inserted in the $conf[auth][admins] -field i 
get the following error:

----


  Ein schwerer Fehler ist aufgetreten:


      Uncaught Horde_Exception_PushApp: User hape at straub.de is not
      authorized for Horde (Host: core-intern-stpgp.i-netpartner.net).
      in /usr/share/php/Horde/Registry.php:1583 Stack trace: #0
      /usr/share/php/Horde/Registry.php(1193): Horde_Registry->pushApp()
      #1 /usr/share/php/Horde/Registry.php(2117):
      Horde_Registry->callAppMethod() #2
      /usr/share/php/Horde/ErrorHandler.php(30):
      Horde_Registry->clearAuthApp() #3
      /var/www/horde/imp/lib/Application.php(620):
      Horde_ErrorHandler::fatal() #4 [internal function]:
      IMP_Application->exceptionHandler() #5 {main} thrown


      Details wurden für den Administrator mitgeloggt.

----

Is this a bug or has it also an effect of the broken installation routine?

Should i reinstall the whole pear branch and how can i do this, or how 
can i proceed?

Regards

Hans-Peter Straub


Am 15.07.21 um 21:50 schrieb Michael J Rubinsky:
>
> Quoting Hans-Peter Straub <straub at i-netpartner.de>:
>
>> Good morning everybody,
>>
>> there was still the bcmath PHP-Module missing, thats why the Mapi & 
>> ActiveSync module wasn't installed by default.
>>
>> Now all is up and running. But when i activate the test.php and call 
>> the check i get the following error-output:
>>
>> ----
>>
>>
>>      syntax error, unexpected 'new' (T_NEW)
>>
>> in /usr/share/php/File/Fstab.php:110
>>
>> 1. Horde_Test->pearModuleCheck() /var/www/horde/test.php:135
>> 2. class_exists() /var/www/horde/lib/Test.php:646
>> 3. spl_autoload_call()
>> 4. Horde_Autoloader->loadClass()
>> 5. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:65
>>
>>
>>      Details
>>
>>
>>        Die vollständige Fehlermeldung wurde in Hordes Logdatei
>>        geschrieben und für Administratoren weiter unten ausgegeben.
>>        Benutzer, die keine Administratoren sind, bekommen diese Details
>>        nicht zu sehen.
>>
>> ParseError Object
>> (
>>     [message:protected] => syntax error, unexpected 'new' (T_NEW)
>>     [string:Error:private] => ParseError: syntax error, unexpected 
>> 'new' (T_NEW) in /usr/share/php/File/Fstab.php:110
>
> PEAR's File_Fstab is obsolete and not supported in PHP recent-ish 
> versions of PHP, you should uninstall it from PEAR.
>
>
>
>> Stack trace:
>> #0 /usr/share/php/Horde/Autoloader.php(65): Horde_Autoloader->_include()
>> #1 [internal function]: Horde_Autoloader->loadClass()
>> #2 [internal function]: spl_autoload_call()
>> #3 /var/www/horde/lib/Test.php(646): class_exists()
>> #4 /var/www/horde/test.php(135): Horde_Test->pearModuleCheck()
>> #5 {main}
>>     [code:protected] => 0
>>     [file:protected] => /usr/share/php/File/Fstab.php
>>     [line:protected] => 110
>>     [trace:Error:private] => Array
>>         (
>>             [0] => Array
>>                 (
>>                     [file] => /usr/share/php/Horde/Autoloader.php
>>                     [line] => 65
>>                     [function] => _include
>>                     [class] => Horde_Autoloader
>>                     [type] => ->
>>                 )
>>
>>             [1] => Array
>>                 (
>>                     [function] => loadClass
>>                     [class] => Horde_Autoloader
>>                     [type] => ->
>>                 )
>>
>>             [2] => Array
>>                 (
>>                     [function] => spl_autoload_call
>>                 )
>>
>>             [3] => Array
>>                 (
>>                     [file] => /var/www/horde/lib/Test.php
>>                     [line] => 646
>>                     [function] => class_exists
>>                 )
>>
>>             [4] => Array
>>                 (
>>                     [file] => /var/www/horde/test.php
>>                     [line] => 135
>>                     [function] => pearModuleCheck
>>                     [class] => Horde_Test
>>                     [type] => ->
>>                 )
>>
>>         )
>>
>>     [previous:Error:private] =>
>> )
>>
>> ----
>>
>> Is this error relevant for a normal production use?
>>
>>
>> Regards
>>
>> Hans-Peter Straub
>>
>>
>> Am 14.07.21 um 15:39 schrieb Michael J Rubinsky:
>>>
>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>
>>>> ----- Nachricht von Hans-Peter Straub <straub at i-netpartner.de> 
>>>> ---------
>>>>   Datum: Wed, 14 Jul 2021 12:53:48 +0200
>>>>     Von: Hans-Peter Straub <straub at i-netpartner.de>
>>>> Betreff: Re: [horde] Is Horde_ActiveSync not available any longer?
>>>>      An: horde at lists.horde.org
>>>>
>>>>
>>>>> Hello again,
>>>>>
>>>>> i now saw that in the github repository ActiveSync is available.
>>>>
>>>> Isn't it pulled automatically, when you install Horde with IMP via 
>>>> pear?
>>>>
>>>>> Is now git the preferred way to get the current code and updates 
>>>>> instead of pear?
>>>>
>>>> I always installed Horde via pear. Works great.
>>>
>>>
>>> It's an optional dependency, so it may not be pulled automatically, 
>>> depending on exactly how horde was installed. It can be installed 
>>> after the fact by install horde/Horde_ActiveSync via pear.
>>>
>>>
>>>
>>>
>>>
>>>
>> -- 
>> I-NetPartner GmbH
>> Hans-Peter Straub
>> Fraunhoferstraße 4
>> D-73037 Göppingen-Stauferpark
>> -- 
>> Phone: +49 7161 9849955
>> Fax: +49 7161 9849956
>> -- 
>> eMail:straub at I-NetPartner.de
>> Web:https://www.I-NetPartner.de
>> -- 
>> Geschäftsführer: Birgit Straub, Hans-Peter Straub
>> Registergericht: AG Ulm HRB Nr. 532737
>> Ust-Ident-Nummer: DE 190981030
>> -- 
>> *******************************
>> ** Informieren Sie Sich über
>> **  -->> GigaLan <<--
>> ** das Funknetz im Filstal
>> **https://www.GigaLan.de
>> *******************************
>> -- 
>> PGP-ID: F060871A
>> PGP-Key:http://www.i-netpartner.de/extern/gnupg/hps.asc
>> PGP-Fingerprint: 05A1 4731 120F 12C0 B5B0 89A2 08ED DEC8 F060 871A
>> -- 
>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
>
-- 
I-NetPartner GmbH
Hans-Peter Straub
Fraunhoferstraße 4
D-73037 Göppingen-Stauferpark
--
Phone: +49 7161 9849955
Fax: +49 7161 9849956
--
eMail: straub at I-NetPartner.de
Web: https://www.I-NetPartner.de
--
Geschäftsführer: Birgit Straub, Hans-Peter Straub
Registergericht: AG Ulm HRB Nr. 532737
Ust-Ident-Nummer: DE 190981030
--
*******************************
** Informieren Sie Sich über
**  -->> GigaLan <<--
** das Funknetz im Filstal
** https://www.GigaLan.de
*******************************
--
PGP-ID: F060871A
PGP-Key: http://www.i-netpartner.de/extern/gnupg/hps.asc
PGP-Fingerprint: 05A1 4731 120F 12C0 B5B0 89A2 08ED DEC8 F060 871A
--



More information about the horde mailing list