[horde] 'Class IMP_Factory_Imap does not exist' Error with IMP 6.2.7, PHP 5.5 and Turkish Language
B.Baransel BAĞCI
bagcib at itu.edu.tr
Fri May 22 11:08:17 UTC 2015
Alinti Jan Schneider <jan at horde.org>
> Zitat von B.Baransel BAĞCI <bagcib at itu.edu.tr>:
>
>> Alinti Jan Schneider <jan at horde.org>
>>
>>> Zitat von Aras Yorgancı <yorgancia at itu.edu.tr>:
>>>
>>>> -----Original Message-----
>>>> From: Aras Yorgancı [mailto:yorgancia at itu.edu.tr]
>>>> Sent: Thursday, May 14, 2015 11:33 AM
>>>> To: 'Jan Schneider'
>>>> Subject: RE: [horde] 'Class IMP_Factory_Imap does not exist'
>>>> Error with IMP 6.2.7, PHP 5.5 and Turkish Language
>>>>
>>>> Hello,
>>>>
>>>> I tried to find fixes you committed but i couldn't. I have still
>>>> error with Gollem. Can you share links please?
>>>>
>>>> -----Original Message-----
>>>> From: Jan Schneider [mailto:jan at horde.org]
>>>> Sent: Tuesday, April 28, 2015 3:44 PM
>>>> To: Aras Yorgancı
>>>> Cc: horde at lists.horde.org
>>>> Subject: Re: [horde] 'Class IMP_Factory_Imap does not exist'
>>>> Error with IMP 6.2.7, PHP 5.5 and Turkish Language
>>>>
>>>>
>>>> Zitat von Aras Yorgancı <yorgancia at itu.edu.tr>:
>>>>
>>>>> -----Original Message-----
>>>>> From: horde [mailto:horde-bounces at lists.horde.org] On Behalf Of Jan
>>>>> Schneider
>>>>> Sent: Monday, April 20, 2015 4:18 PM
>>>>> To: horde at lists.horde.org
>>>>> Subject: Re: [horde] 'Class IMP_Factory_Imap does not exist' Error
>>>>> with IMP 6.2.7, PHP 5.5 and Turkish Language
>>>>>
>>>>>
>>>>> Zitat von Aras Yorgancı <yorgancia at itu.edu.tr>:
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: horde [mailto:horde-bounces at lists.horde.org] On Behalf Of Jan
>>>>>> Schneider
>>>>>> Sent: Monday, April 20, 2015 1:19 PM
>>>>>> To: horde at lists.horde.org
>>>>>> Subject: Re: [horde] 'Class IMP_Factory_Imap does not exist' Error
>>>>>> with IMP 6.2.7, PHP 5.5 and Turkish Language
>>>>>>
>>>>>>
>>>>>> Zitat von Aras Yorgancı <yorgancia at itu.edu.tr>:
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: horde [mailto:horde-bounces at lists.horde.org] On Behalf Of Jan
>>>>>>> Schneider
>>>>>>> Sent: Thursday, April 16, 2015 1:44 PM
>>>>>>> To: horde at lists.horde.org
>>>>>>> Subject: Re: [horde] 'Class IMP_Factory_Imap does not exist' Error
>>>>>>> with IMP 6.2.7, PHP 5.5 and Turkish Language
>>>>>>>
>>>>>>>
>>>>>>> Zitat von Aras Yorgancı <yorgancia at itu.edu.tr>:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I wanted to update our Horde version to 5.2.4. I made a fresh
>>>>>>>> installation with PEAR over Fedora 20 Server with Apache 2.4 and
>>>>>>>> PHP
>>>>>>>> 5.5 (for Turkish
>>>>>>>> support) and used CentOS 7.1 Server with MariaDB 5.5 as database.
>>>>>>>>
>>>>>>>> I installed Horde 5.2.4 and IMP 6.2.7. When I configure IMP Module
>>>>>>>> and open interface for login and choose Turkish language, I take an
>>>>>>>> error like this:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Bir ölümcül hata oluştu
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> exception 'ReflectionException' with message 'Class
>>>>>>>> IMP_Factory_Imap does not exist' in
>>>>>>>> /usr/share/pear/Horde/Injector/Binder/Implementation.php:65
>>>>>>>> Stack trace: #0
>>>>>>>> /usr/share/pear/Horde/Injector/Binder/Implementation.php(65):
>>>>>>>> ReflectionClass->__construct('IMP_Factory_Ima...') #1
>>>>>>>> /usr/share/pear/Horde/Injector/Binder/AnnotatedSetters.php(78):
>>>>>>>> Horde_Injector_Binder_Implementation->create(Object(Horde_Injector)
>>>>>>>> )
>>>>>>>> #2
>>>>>>>> /usr/share/pear/Horde/Injector.php(238):
>>>>>>>> Horde_Injector_Binder_AnnotatedSetters->create(Object(Horde_Injecto
>>>>>>>> r
>>>>>>>> )
>>>>>>>> )
>>>>>>>> #3
>>>>>>>> /usr/share/pear/Horde/Injector.php(272):
>>>>>>>> Horde_Injector->createInstance('IMP_Factory_Ima...') #4
>>>>>>>> /var/www/html/imp/lib/Application.php(121):
>>>>>>>> Horde_Injector->getInstance('IMP_Factory_Ima...') #5
>>>>>>>> /usr/share/pear/Horde/Registry/Application.php(87):
>>>>>>>> IMP_Application->_bootstrap() #6
>>>>>>>> /usr/share/pear/Horde/Registry.php(843):
>>>>>>>> Horde_Registry_Application->__construct('imp') #7
>>>>>>>> /usr/share/pear/Horde/Core/Auth/Application.php(419):
>>>>>>>> Horde_Registry->getApiInstance('imp', 'application') #8
>>>>>>>> /usr/share/pear/Horde/Core/Auth/Application.php(152):
>>>>>>>> Horde_Core_Auth_Application->hasCapability('authenticate') #9
>>>>>>>> /usr/share/pear/Horde/Auth/Base.php(160):
>>>>>>>> Horde_Core_Auth_Application->_authenticate('', Array) #10
>>>>>>>> /usr/share/pear/Horde/Core/Auth/Application.php(129):
>>>>>>>> Horde_Auth_Base->authenticate('', Array, true) #11
>>>>>>>> /usr/share/pear/Horde/Core/Auth/Application.php(126):
>>>>>>>> Horde_Core_Auth_Application->authenticate('', Array, true) #12
>>>>>>>> /var/www/html/login.php(155):
>>>>>>>> Horde_Core_Auth_Application->authenticate(NULL, Array) #13 {main}
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Ayrıntılar yönetici için günlük olarak kaydedildi.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> This error appears before login screen and there is no error when I
>>>>>>>> chose English or other languages.
>>>>>>>>
>>>>>>>> I couldn't try any solutions.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks for all help.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Aras Yorgancı
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Horde mailing list
>>>>>>>> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe,
>>>>>>>> mail: horde-unsubscribe at lists.horde.org
>>>>>>>
>>>>>>> https://bugs.horde.org/ticket/13855
>>>>>>>
>>>>>>> --
>>>>>>> Jan Schneider
>>>>>>> The Horde Project
>>>>>>> http://www.horde.org/
>>>>>>> https://www.facebook.com/hordeproject
>>>>>>>
>>>>>>> --
>>>>>>> Horde mailing list
>>>>>>> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe,
>>>>>>> mail: horde-unsubscribe at lists.horde.org
>>>>>>>
>>>>>>> Thanks for reply. I have applied code changes at this article:
>>>>>>> https://github.com/horde/horde/commit/57e80a9e87dd85ffb6fb48457b116b
>>>>>>> 8
>>>>>>> 6
>>>>>>> 7ad3789e
>>>>>>>
>>>>>>> Now there is no error at imp like above. I can authenticate with
>>>>>>> Turkish language and check mails. After that I have installed
>>>>>>> samba-client-4.1.17 and gollem 3.0.3 module for connect to home
>>>>>>> direcroty. But now when i click for home directory, an
>>>>>>> authentication screen appears again and it doesn't accept my
>>>>>>> username and password.
>>>>>>> This happens for only usernames include letter "i" . There is no
>>>>>>> problem for other usernames or other languages.
>>>>>>
>>>>>> And is this only a problem with the Gollem login screen, or with the
>>>>>> Horde login screen too? Do you bye chance have a user name hook
>>>>>> configured?
>>>>>>
>>>>>> --
>>>>>> Jan Schneider
>>>>>> The Horde Project
>>>>>> http://www.horde.org/
>>>>>> https://www.facebook.com/hordeproject
>>>>>>
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe,
>>>>>> mail: horde-unsubscribe at lists.horde.org
>>>>>>
>>>>>> Problem is just with the Gollem. There is no problem with Horde,
>>>>>> other modules or other languages. I can login to Horde with no
>>>>>> problem but when I click the File Manager, it forwards to new
>>>>>> authentication screen and refuses the same username and password. I
>>>>>> don't use any hook configuration.
>>>>>>
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe,
>>>>>> mail: horde-unsubscribe at lists.horde.org
>>>>>
>>>>> I have a few more fixes to issues with Turkish locales committed
>>>>> locally, maybe one of those will fix that issue. I will commit them
>>>>> shortly, you may have to apply them manually to your installed
>>>>> packages. This only affects framework packages for now, I didn't have
>>>>> the time to audit the applications yet.
>>>>>
>>>>> --
>>>>> Jan Schneider
>>>>> The Horde Project
>>>>> http://www.horde.org/
>>>>> https://www.facebook.com/hordeproject
>>>>>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe,
>>>>> mail: horde-unsubscribe at lists.horde.org
>>>>>
>>>>> Thanks for reply and sorry for late message. I will be waiting for
>>>>> fixes. When could you commit them? Is there any work plan for it?
>>>>
>>>> They have already been commited.
>>>>
>>>> --
>>>> Jan Schneider
>>>> The Horde Project
>>>> http://www.horde.org/
>>>> https://www.facebook.com/hordeproject
>>>>
>>>> Hello,
>>>>
>>>> I tried to find fixes committed but i couldn't. I have still
>>>> error with Gollem. Can you share please?
>>>
>>> Which error?
>>>
>>> Like I said, I only looked after the libraries so far, so it's
>>> possible that there are still issues in the applications. All
>>> library fixes have been released already.
>>>
>>
>> I can confirm this error too. With php5.5 and turkish languages
>> selection, some users cannot login Gollem. When I collect usernames
>> I noticed that all failed usernames contains the letter "i". Gollem
>> throw simple "authentiation fail" log about that, nothing more
>> useful.
>>
>> We have been using Horde since version 3 with Turkish languages
>> enabled. Before php 5.5, I have manipulated the locale setting to
>> allow Turkish languages at least for user interface. With our
>> manipulated code, Gollem works in Horde 5.0.6, but in 5.2.4 this
>> workaround doesn't seem work for Gollem.
>>
>> So, I think in the gollem login methods, there must be an error
>> like you fixed in the libraries.
>> --
>> B.Baransel BAĞCI
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
> Which VFS backend do you use in Gollem, or is it independent from
> the backend type?
>
$backends['smb'] = array(
'disabled' => false,
'name' => 'smb.example.org',
'driver' => 'smb',
'hordeauth' => true,
'params' => array(
'hostspec' => 'smb.example.org',
'port' => 139,
'share' => '',
'smbclient' => '/usr/bin/smbclient',
),
'loginparams' => array(
),
'attributes' => array(
'type',
'name',
'edit',
'download',
'modified',
'size'
)
);
I didn't try with another backend.
--
B.Baransel BAĞCI
More information about the horde
mailing list