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

Michael J Rubinsky mrubinsk at horde.org
Mon Dec 8 16:24:06 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/turba/attachments/20141208/9dd57fa4/attachment.bin>


More information about the turba mailing list