Global search is not working

Greetings to all! There is a clean installation of 7.14.3. WAMP server. Apache 2.4.58, PHP 7.4.33, MySQL 8.2.0. There are two Modules created from scratch that have been added to the search engine (basic search +full-text search is included). Cron is configured and running, indexing is completed. The global search does not work (very strangely, when adding % at the end, some results are displayed, but very rarely). Other system files were not changed manually. Please tell me which way to look.

In the suitecrm.log and in the php_errors.log.

[03-Apr-2024 07:10:34 UTC] PHP 1. {main}() C:\wamp64\www\digitaleconomy\index.php:0
[03-Apr-2024 07:10:34 UTC] PHP 2. SugarApplication->execute() C:\wamp64\www\digitaleconomy\index.php:52
[03-Apr-2024 07:10:34 UTC] PHP 3. SugarController->execute() C:\wamp64\www\digitaleconomy\include\MVC\SugarApplication.php:101
[03-Apr-2024 07:10:34 UTC] PHP 4. SugarController->processView() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:363
[03-Apr-2024 07:10:34 UTC] PHP 5. SugarView->process() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:432
[03-Apr-2024 07:10:34 UTC] PHP 6. SugarView->displayFooter() C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php:247
[03-Apr-2024 07:11:49 UTC] PHP Notice: Undefined variable: attribLinkImg in C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php on line 1111
[03-Apr-2024 07:11:49 UTC] PHP Stack trace:
[03-Apr-2024 07:11:49 UTC] PHP 1. {main}() C:\wamp64\www\digitaleconomy\index.php:0
[03-Apr-2024 07:11:49 UTC] PHP 2. SugarApplication->execute() C:\wamp64\www\digitaleconomy\index.php:52
[03-Apr-2024 07:11:49 UTC] PHP 3. SugarController->execute() C:\wamp64\www\digitaleconomy\include\MVC\SugarApplication.php:101
[03-Apr-2024 07:11:49 UTC] PHP 4. SugarController->processView() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:363
[03-Apr-2024 07:11:49 UTC] PHP 5. SugarView->process() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:432
[03-Apr-2024 07:11:49 UTC] PHP 6. SugarView->displayFooter() C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php:247
[03-Apr-2024 07:11:52 UTC] PHP Notice: Undefined variable: attribLinkImg in C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php on line 1111
[03-Apr-2024 07:11:52 UTC] PHP Stack trace:
[03-Apr-2024 07:11:52 UTC] PHP 1. {main}() C:\wamp64\www\digitaleconomy\index.php:0
[03-Apr-2024 07:11:52 UTC] PHP 2. SugarApplication->execute() C:\wamp64\www\digitaleconomy\index.php:52
[03-Apr-2024 07:11:52 UTC] PHP 3. SugarController->execute() C:\wamp64\www\digitaleconomy\include\MVC\SugarApplication.php:101
[03-Apr-2024 07:11:52 UTC] PHP 4. SugarController->processView() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:363
[03-Apr-2024 07:11:52 UTC] PHP 5. SugarView->process() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:432
[03-Apr-2024 07:11:52 UTC] PHP 6. SugarView->displayFooter() C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php:247
[03-Apr-2024 07:11:55 UTC] PHP Notice: Undefined variable: attribLinkImg in C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php on line 1111
[03-Apr-2024 07:11:55 UTC] PHP Stack trace:
[03-Apr-2024 07:11:55 UTC] PHP 1. {main}() C:\wamp64\www\digitaleconomy\index.php:0
[03-Apr-2024 07:11:55 UTC] PHP 2. SugarApplication->execute() C:\wamp64\www\digitaleconomy\index.php:52
[03-Apr-2024 07:11:55 UTC] PHP 3. SugarController->execute() C:\wamp64\www\digitaleconomy\include\MVC\SugarApplication.php:101
[03-Apr-2024 07:11:55 UTC] PHP 4. SugarController->processView() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:363
[03-Apr-2024 07:11:55 UTC] PHP 5. SugarView->process() C:\wamp64\www\digitaleconomy\include\MVC\Controller\SugarController.php:432
[03-Apr-2024 07:11:55 UTC] PHP 6. SugarView->displayFooter() C:\wamp64\www\digitaleconomy\include\MVC\View\SugarView.php:247

Wed Apr 3 07:10:12 2024 [19940][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:10:12 2024 [19940][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:11:11 2024 [8116][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:11:11 2024 [8116][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:11:11 2024 [8116][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:12:11 2024 [16672][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:12:11 2024 [16672][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:12:11 2024 [16672][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:13:11 2024 [21268][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:13:11 2024 [21268][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:13:11 2024 [21268][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:14:11 2024 [14160][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:14:11 2024 [14160][1][FATAL] Email Reminder: error sending email, system smtp server is not set
Wed Apr 3 07:14:11 2024 [14160][1][FATAL] Email Reminder: error sending email, system smtp server is not set

I suspect that the problem is in the encoding of the system. If I add to the same module (created by me from scratch) Latin text - global search works correctly in all fields. It does not work when searching in Cyrillic.

SuiteCRM v7.14.x does not support PHP 7.4 :melting_face:

1 Like

Can you switch from PHP 7.4 to PHP 8.1 or 8.2, and try it again.

1 Like

I’m still a beginner and I’m mastering this certainly powerful system. For some reason, a version mismatch error occurs during a clean installation if it is enabled above 7.4. Indeed, I changed the PHP version to 8.1.26 and the search worked, thank you! But now there are two new problems:

  1. When searching, all the results are displayed (conditionally there are 250 records, and 152 are displayed in the search).
  2. After performing the search, incorrect links to records are formed, leading nowhere when you click edit.