Re: Question about Horde_String::ipos in turba/lib/Api.php
Roman Fischer <[email protected]> Fri, 02 Jan 2015 17:35:52 +0100
| Newsgroups | gmane.comp.horde.turba |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>: > Quoting Roman Fischer <[email protected]>: > >> 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 -- turba mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]