[horde] Error message "does not have an API" and no login

Jan Schneider jan at horde.org
Wed Apr 24 15:03:52 UTC 2019


Do you have Horde_Autoloader_Cache installed? If yes, try running  
horde-autoloader-cache-prune.

Zitat von Carlo Todeschini (Metarete) <c.todeschini at metarete.it>:

> Looking into "/var/log/messages" I see another strange error "Class  
> Turba_Factory_Shares does not exist" never seen before the last  
> reboot:
>
> Apr 23 19:19:16 mailserver HORDE: [turba] exception  
> 'ReflectionException' with message 'Class Turba_Factory_Shares does  
> not exist' in  
> /usr/share/pear/Horde/Injector/Binder/Implementation.php:61#012Stack  
> trace:#012#0  
> /usr/share/pear/Horde/Injector/Binder/Implementation.php(61):  
> ReflectionClass->__construct('Turba_Factory_S...')#012#1  
> /usr/share/pear/Horde/Injector/Binder/AnnotatedSetters.php(69):  
> Horde_Injector_Binder_Implementation->create(Object(Horde_Injector))#012#2  
> /usr/share/pear/Horde/Injector.php(224):  
> Horde_Injector_Binder_AnnotatedSetters->create(Object(Horde_Injector))#012#3  
> /usr/share/pear/Horde/Injector.php(258):  
> Horde_Injector->createInstance('Turba_Factory_S...')#012#4  
> /usr/share/pear/Horde/Injector.php(253):  
> Horde_Injector->getInstance('Turba_Factory_S...')#012#5  
> /usr/share/pear/Horde/Injector/Binder/Factory.php(111):  
> Horde_Injector->getInstance('Turba_Factory_S...')#012#6  
> /usr/share/pear/Horde/Injector.php(224):  
> Horde_Injector_Binder_Factory->create(Object(Horde_Injector))#012#7  
> /usr/share/pear/Horde/Injector.php(258):  
> Horde_Injector->createInstance('Turba_Shares')#012#8  
> /var/www/horde/turba/lib/Turba.php(623):  
> Horde_Injector->getInstance('Turba_Shares')#012#9  
> /var/www/horde/turba/lib/Turba.php(448): Turba::listShares()#012#10  
> /var/www/horde/turba/lib/Application.php(91):  
> Turba::getConfigFromShares(Array)#012#11  
> /usr/share/pear/Horde/Registry/Application.php(105):  
> Turba_Application->_init()#012#12 [internal function]:  
> Horde_Registry_Application->init()#012#13  
> /usr/share/pear/Horde/Registry.php(1213):  
> call_user_func_array(Array, Array)#012#14  
> /usr/share/pear/Horde/Registry.php(1601):  
> Horde_Registry->callAppMethod('turba', 'init')#012#15  
> /usr/share/pear/Horde/Registry.php(1145):  
> Horde_Registry->pushApp('turba', Array)#012#16  
> /usr/share/pear/Horde/Registry.php(1105):  
> Horde_Registry->callByPackage('turba', 'sources', Array)#012#17  
> /var/www/horde/imp/config/hooks.php(29):  
> Horde_Registry->call('contacts/source...')#012#18 [internal  
> function]: IMP_Hooks->prefs_init('search_sources', '',  
> 'user123 at dom....',
>
> Thanks for the help,
> Carlo
>
> --
> Carlo Todeschini
> Project Manager
>
> Metarete Srl
> Via Mantova, 71 - 26100 Cremona - Italy
> C.F/P.I. e N. Iscr. Reg. Imprese di Cremona: 01219750195
> Capitale Sociale: 32.000€ i.v. - PEC info at pec.metarete.it
> Tel: +39 0372 432228 - Fax: +39 0372 590617
> http://www.metarete.it - todeschini at metarete.it
>
> ----- Messaggio originale -----
> Da: "Carlo Todeschini (Metarete)" <c.todeschini at metarete.it>
> A: "mrubinsk" <mrubinsk at horde.org>
> Cc: "horde" <horde at lists.horde.org>
> Inviato: Martedì, 23 aprile 2019 19:01:17
> Oggetto: Re: [horde] Error message "does not have an API" and no login
>
> Yes, it's installed in "/var/www/horde/trean/".
>
> And configured in "registry.php":
>
>     'trean' => array(
>         'name' => _("Bookmarks"),
>         'provides' => 'bookmarks',
>         'menu_parent' => 'others'
>     ),
>
>     'trean-menu' => array(
>         'status' => 'topbar',
>         'app' => 'trean',
>         'menu_parent' => 'trean',
>     ),
>
> Before the last accidental reboot horde worked well,
> thanks,
> Carlo
>
> --
> Carlo Todeschini
> Project Manager
>
> Metarete Srl
> Via Mantova, 71 - 26100 Cremona - Italy
> C.F/P.I. e N. Iscr. Reg. Imprese di Cremona: 01219750195
> Capitale Sociale: 32.000€ i.v. - PEC info at pec.metarete.it
> Tel: +39 0372 432228 - Fax: +39 0372 590617
> http://www.metarete.it - todeschini at metarete.it
>
> ----- Messaggio originale -----
> Da: "Michael J Rubinsky" <mrubinsk at horde.org>
> A: "Carlo Todeschini (Metarete)" <c.todeschini at metarete.it>, "horde"  
> <horde at lists.horde.org>
> Inviato: Martedì, 23 aprile 2019 18:49:58
> Oggetto: Re: [horde] Error message "does not have an API" and no login
>
> Is Trean (bookmarks) installed?
>
> --
> Mike
> Sent from mobile
> ________________________________
> From: "Carlo Todeschini (Metarete)" <c.todeschini at metarete.it>
> Sent: Tuesday, April 23, 2019 5:37 AM
> To: horde at lists.horde.org
> Subject: [horde] Error message "does not have an API" and no login
>
>>
>> Hi,
>> after a server reboot (Linux CentOS 6.5, apache 2.2.5) our users
>> can't login to horde webmail anymore.
>>
>> With correct credentials (tested in /test.php/?app=imp and are OK)
>> the user can't login and the messages we obtain are:
>>
>> [...]
>> HORDE: [horde] trean does not have an API [pid 14500 on line 891 of
>> "/usr/share/pear/Horde/Registry.php"]
>> HORDE: [ingo] trean does not have an API [pid 17120 on line 891 of
>> "/usr/share/pear/Horde/Registry.php"]
>> [...]
>>
>> All the check in /test.php seems OK:
>>
>> - Horde 5.1.6
>> - PHP Version: 5.3.3
>> [...]
>> - PEAR Search Path (PHP's include_path):
>> /var/www/horde/lib:/var/www/horde/lib:.:/usr/share/php:/usr/share/pear
>> - PEAR: Yes
>> - File_Fstab: Yes
>> - Net_DNS2: Yes
>> - Services_Weather: Yes
>>
>> Some PHP modules are not loaded:
>> - LZ4 Compression Support (PECL extension)
>> - MongoDB support (PECL extension)
>> - PAM Support (PECL extension)
>> - PostgreSQL Support:
>>
>> Sorry, I'm not expert in horde framework.
>> How can I dig more in deep this problem?
>>
>> Thanks for any help,
>> Carlo
>>
>> --
>> Carlo Todeschini
>> Project Manager
>>
>> Metarete Srl
>> Via Mantova, 71 - 26100 Cremona - Italy
>> C.F/P.I. e N. Iscr. Reg. Imprese di Cremona: 01219750195
>> Capitale Sociale: 32.000€ i.v. - PEC info at pec.metarete.it
>> Tel: +39 0372 432228 - Fax: +39 0372 590617
>> http://www.metarete.it - todeschini at metarete.it
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the horde mailing list