调用未定义的函数iconv()致命错误 - Suitecrm

bha*_*vya 8 sugarcrm fatal-error suitecrm

使用suitecrm 7.9.1

每当我尝试创建一个潜在客户时,即在提交创建潜在客户表单后,我将面临以下错误.

每当我尝试导入csv文件时都面临同样的错误.仅在实时服务器上发生此错误

致命错误:未捕获错误:调用/home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene/Field.php:222中的未定义函数iconv()堆栈跟踪:#0/home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentWriter/DocumentWriter.php(131):Zend_Search_Lucene_Field-> getUtf8Value()#1/home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene/Index/Writer.php(244):Zend_Search_Lucene_Index_SegmentWriter_DocumentWriter-> addDocument(Object(Zend_Search_Lucene_Document))

2 /home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene.php(1410):

Zend_Search_Lucene_Index_Writer-> addDocument(Object(Zend_Search_Lucene_Document))#3 /home/testsite/public_html/modules/AOD_Index/AOD_Index.php(310):Zend_Search_Lucene-> addDocument(Object(Zend_Search_Lucene_Document))

4 /home/testsite/public_html/modules/AOD_Index/AOD_LogicHooks.php(36):

AOD_Index->​​ index('Leads','b81874eb-1233-5 ...')#5 /home/testsite/public_html/include/utils/LogicHook.php(262):AOD_LogicHooks-> saveModuleChanges(Object in L in/222号线上的home/testsite/public_html/modules/AOD_Index/Lib/Zend/Search/Lucene/Field.php

导致此错误的原因是什么.新手到suitecrm,如何解决它.

Ami*_*ini 8

在CPanel上安装Iconv模块.

  1. 打开WHM
  2. EasyApache 4
  3. 定制
  4. PHP扩展
  5. 找到iconv.启用与您的PHP版本匹配的版本
  6. 评论
  7. 规定


Sta*_*tar 6

iconv是一个PHP扩展.在php.ini中查找可以取消注释的条目,或者查看以下链接

https://www.hackersgarage.com/iconv-php-extension-installation-without-recompiling-php.html

  • 为cpanel添加了iconv扩展,现在工作正常..非常感谢你...... !! (4认同)