Created a search index on local dev box (CentOS) which works fine. But
after copying the index to our Solaris production server, searching the
index fails with this error.

<b>Notice</b>:  iconv_strlen() [<a
href='function.iconv-strlen'>function.iconv-strlen</a>]: Unknown error
(22) in
<b>/usr/local/Zend/apache2/oeportal/Zend/Search/Lucene/Search/QueryLexer
.php</b> on line <b>346</b>
 
I tried recreating the index on the Solaris box and got about a dozen or
so "iconv() unknown error" messages per document. We are running Zend
Core for Oracle on both boxes but I noticed the libraries were a little
different from php_info(). Both have lib version 1.9, but there
implementation is different.
 
On Solaris: iconv implementation libiconv
On Linux:   iconv implementation glibc
 
Is this the real issue? I found the following note in the docs as it
appears relevant:
 
"Note that the iconv function on some systems may not work as you
expect. In such case, it'd be a good idea to install the > GNU libiconv
<http://www.gnu.org/software/libiconv/>  library. It will most likely
end up with more consistent results."

 

 

Craig Duncan

PH: 919.379.9144

6501 Weston Parkway

Suite 340

Cary, NC 27513

 

Reply via email to