[turba] Question about Horde_String::ipos in turba/lib/Api.php

Roman Fischer romanf at trash.net
Fri Jan 2 16:35:52 UTC 2015


Hi Mike,

Sorry for the late reply... but you were right on track! :)
I had two versions of the pear libraries (one under /usr/local/lib and  
one under /usr/local/lib64). After getting rid of the old one and  
fixing the php.ini, it's now OK.

Thanks a lot for your help, really apreciate it!

Rgds
Roman


Quoting Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Roman Fischer <romanf at trash.net>:
>
>> Hi Everybody,
>>
>> I hope that somebody on this list can help me. :)
>> I'm seeing the error-message
>>
>> "<b>Fatal error</b>:  Call to undefined method Horde_String::ipos()  
>> in  
>> <b>/data/wwwroot/mybabey.ch/htdocs_secure/hordewebmail/turba/lib/Api.php</b> on line <b>1271</b><br  
>> />"
>>
>> when IMP issues a Ajax-Call to find contacts for names entered in  
>> the To: field.
>>
>> I think this commit introduced this problem:
>> https://github.com/horde/horde/commit/76f51c2f57110e2d694e369629e7b6553603856b , at least it was not there before and if I revert back to stripos(), the error goes away and the lookup works  
>> again...
>>
>> For the time being, I just manually patched line 1272 of Api.php  
>> back to stripos()... but I'd like to know if it's caused by a bug  
>> or a configuration-error on my side.
>
> If you have the most recent version of Horde_Util installed already,  
> it might be an issue with include_path? Do you have another PEAR  
> install on the same server perhaps?
>
> -- 
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject




More information about the turba mailing list