2

Centos 6.5 で SugarCRM CE 6.5.16 を使用しています。

このエラーが発生しています:

Wed Apr 9 15:37:10 2014 [10389][1][ERROR] Unable to load custom logic file: include/SugarSearchEngine/SugarSearchEngineQueueManager.php

本当の問題は、受信メールからメールが届かないことです。

それらはすべてセットアップされています。cronジョブをcrontabに追加しました。実際、100 件から 3 件または 4 件のメールを受け取ります。スケジューラでは、ジョブのステータスは「実行中」で、最後に成功した実行は「なし」です。

他のすべてのスケジューラ ジョブのステータスは「完了」で、最後に正常に実行されています。受信メール、スケジューラ ジョブを修復しましたが、効果はありませんでした。

私が見つけた唯一のものはこれです:

http://suitecrm.com/forum/search?query=SugarSearchEngineQueueManager&searchdate=all&childforums=1

したがって、このコードをコメントアウトすると、エラーは表示されなくなりましたが、それでもメールは受信されません。

他に何をすべきかわかりません。

できれば助けてください!ありがとう!

編集

「このファイルは PRO 版にのみ含まれており、Community Edition では役に立ちません。

コード修正: 1. /custom/Extension/application/Ext/LogicHooks/SugarFTSHooks.php のコードをコメント化

  1. 管理から高速再構築を行います (index.php?module=Administration&action=repair)。このプロセスは、SugarCRM を使用して存在しないファイル SugarSearchEngineQueueManager /custom/application/Ext/LogicHooks/logichooks.ext.php を呼び出すコードを再構築します。

だから私はコードをコメントアウトし、再構築を行いました(ええ、私は前にそれをしましたが、このファイルがSugarcrm CEにあるべきではないことを確信しています)エラーはもう表示されませんが、私のスケジューラはまだ「実行中」のままで何も起こりませんただし、これを行ったとき (Matthew Poer の発言)、以前と同じように 4 通のメールを受け取りました...何か問題が発生しています。

delete from job_queue where scheduler_id = 'THE_SCHEDULER_ID';

update schedulers set last_run = subdate(now(),360) where id = 'THE_SCHEDULER_ID';

編集2:これはphp error_logからのものです

[Sun Apr 13 03:34:27 2014] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 13 03:34:27 2014] [notice] Digest: done
[Sun Apr 13 03:34:33 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_nss/2.2.15 NSS/3.14.0.0 Basic ECC PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Sun Apr 13 12:22:52 2014] [error] [client 122.155.18.51] File does not exist: /usr/share/phpMyAdmin/translators.html
[Sun Apr 13 13:45:31 2014] [error] [client 122.155.18.51] File does not exist: /usr/share/phpMyAdmin/translators.html
[Sun Apr 13 15:43:39 2014] [error] [client 66.249.66.74] File does not exist:     /opt/otrs/var/httpd/htdocs/js/js-cache/ModuleJS_784dc12bf89d72db064caa6e8690168b.js
[Sun Apr 13 15:43:40 2014] [error] [client 66.249.66.74] File does not exist: /opt/otrs/var/httpd/htdocs/skins/Customer/default/css-cache/CommonCSS_b1f924c426a0e1a9f1553197a2ce25a4.css
[Sun Apr 13 15:43:41 2014] [error] [client 66.249.66.74] File does not exist: /opt/otrs/var/httpd/htdocs/js/js-cache/CommonJS_7f98ddff2f339e3b515f7901d82600bb.js
[Mon Apr 14 11:09:04 2014] [error] [client 192.168.10.1] PHP Warning:  file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/share/phpMyAdmin/version_check.php on line 16, referer: http://support.expert-m.net/phpmyadmin/main.php?token=d2e60372f8b5d6d53f0c3c80a536be27
[Mon Apr 14 11:09:04 2014] [error] [client 192.168.10.1] PHP Warning:  file_get_contents(http://www.phpmyadmin.net/home_page/version.json): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/share/phpMyAdmin/version_check.php on line 16, referer: http://support.expert-m.net/phpmyadmin/main.php?token=d2e60372f8b5d6d53f0c3c80a536be27
[Mon Apr 14 12:45:25 2014] [error] [client 178.235.72.68] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)

これは、SugarCRM のログ フォルダー、error.log からのものです。

[Mon Apr 14 08:58:59 2014] [error] [client 192.168.10.1] PHP Notice:  Undefined index: 8854a79c-6171-036c-e7df-534548e8bc81 in /var/www/sugarcrm/public_html/modules/Emails/EmailUIAjax.php on line 879, referer: http://sugarcrm.support.expert-m.net/index.php?module=Emails&action=index&parentTab=All
[Mon Apr 14 08:58:59 2014] [error] [client 192.168.10.1] PHP Notice:  Undefined index: 8854a79c-6171-036c-e7df-534548e8bc81 in /var/www/sugarcrm/public_html/modules/Emails/EmailUIAjax.php on line 880, referer: http://sugarcrm.support.expert-m.net/index.php?module=Emails&action=index&parentTab=All
[Mon Apr 14 11:22:17 2014] [error] [client 192.168.10.1] PHP Notice:  Undefined index: 8854a79c-6171-036c-e7df-534548e8bc81 in /var/www/sugarcrm/public_html/modules/Emails/EmailUIAjax.php on line 879, referer: http://sugarcrm.support.expert-m.net/index.php?module=Emails&action=index&parentTab=All
[Mon Apr 14 11:22:17 2014] [error] [client 192.168.10.1] PHP Notice:  Undefined index: 8854a79c-6171-036c-e7df-534548e8bc81 in /var/www/sugarcrm/public_html/modules/Emails/EmailUIAjax.php on line 880, referer: http://sugarcrm.support.expert-m.net/index.php?module=Emails&action=index&parentTab=All
[Mon Apr 14 11:24:47 2014] [error] [client 192.168.10.1] File does not exist: /var/www/sugarcrm/public_html/favicon.ico

ログからすべての情報を貼り付けたわけではありません。もっとありますが、エラーが繰り返されています。

4

1 に答える 1

1

include/SugarSearchEngine/SugarSearchEngineQueueManager.phpPro+ の機能であるため、ファイルはシステムに存在しません。

「スタック」したスケジューラ エントリをリセットするには、データベースのジョブ キューからスケジューラ情報を削除し、last_run 値をリセットします。SugarCRM 内の URL または で、スケジューラーの ID を見つけますselect id,name from schedulers。このスケジューラの ID を取得したら、次の 2 つのクエリを実行します。

delete from job_queue where scheduler_id = 'THE_SCHEDULER_ID';
update schedulers set last_run = subdate(now(),360) where id = 'THE_SCHEDULER_ID';
于 2014-04-10T14:35:46.460 に答える