could anybody help me with serious problems with the search module! Thanks – for making CMSms and for helping here.
I have installed about fifty systems of CMSms over the years – but with the last three or four I have run into serious problems with search module. I simply can't get it to work – usually it does report that is has no results. But the searched terms definitely are multiple times in the content.
I already tried:
- debugging mode
several php versions from 7.2 to 7.4
changing probably all parameters that are possible for search
changing search templates and result templates
changing page templates
reinhardmohr-indexing
changing text encoding
searched this forum and the internet
copied and installed older versions of search module from working installations
…
But sometimes search finds results – but oddly enough it‘s results from file names or from protected pages!
Please help. Here are some informations from the latest installation:
----------------------------------------------
Cms Version: 2.2.15
Installed Modules:
AdminSearch: 1.0.5
CGExtensions: 1.65.2
CGSimpleSmarty: 2.2.1
CMSContentManager: 1.1.9
CmsJobManager: 0.1.3
DesignManager: 1.1.9
FileManager: 1.6.12
FilePicker: 1.0.5
FormBuilder: 1.1
FrontEndUsers: 3.2.2
MenuManager: 1.50.3
MicroTiny: 2.2.5
ModuleManager: 2.1.8
Navigator: 1.0.9
News: 2.51.11
Search: 1.52
TinyMCE: 3.3.2
Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
auto_alias_content: true
locale: de_DE.UTF-8
set_names: true
timezone: Europe/Berlin
permissive_smarty: false
Php Information:
phpversion: 7.2.34
md5_function: An (Ja)
json_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 256M
max_execution_time: 240
register_globals: Aus (Nein)
output_buffering: An
disable_functions:
open_basedir:
test_remote_url: Erfolgreich abgeschlossen
file_uploads: An (Ja)
post_max_size: 76M
upload_max_filesize: 64M
session_save_path: /var/tmp (1733)
session_use_cookies: An (Ja)
xml_function: An (Ja)
xmlreader_class: An (Ja)
check_ini_set: An (Ja)
curl: An
Performance Information:
allow_browser_cache: An (Ja)
browser_cache_expiry: 60
php_opcache: An (Ja)
smarty_cache: Aus (Nein)
smarty_compilecheck: Aus (Nein)
auto_clear_cache_age: An (Ja)
Server Information:
Server Software: Apache/2.4.43 (Unix)
Server Api: cgi-fcgi
Server Os: SunOS SunOS localhost 5.10 Generic_150401-49 i86pc An SunOS localhost 5.10 Generic_150401-49 i86pc
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.42
Server Db Grants: „Alles gewähren“-Anweisung gefunden, die als geeignet scheint
Permission Information:
tmp: /mnt/web321/a1/28/52629428/htdocs/KITA-HP-2021/tmp (0750)
tmp_cache: /mnt/web321/a1/28/52629428/htdocs/KITA-HP-2021/tmp/cache (0750)
templates_c: /mnt/web321/a1/28/52629428/htdocs/KITA-HP-2021/tmp/templates_c (0750)
modules: /mnt/web321/a1/28/52629428/htdocs/KITA-HP-2021/modules (0750)
uploads: /mnt/web321/a1/28/52629428/htdocs/KITA-HP-2021/uploads (0750)
Maske zum Erstellen von Dateien (umask): /mnt/web321/a1/28/52629428/htdocs/KITA-HP-2021/tmp/cache (0750)
config_file: 0444
----------------------------------------------
When I tried debug mode I got a few search related lines:
----------------------------
SELECT count FROM cms_module_search_words WHERE word = 'eltern' LIMIT 1
Debug: (1,521357) - (net usage: 2056928) - (peak: 2484376)
UPDATE cms_module_search_words SET count=count+1 WHERE word = 'eltern'
Debug: (1,521746) - (net usage: 2056832) - (peak: 2484376)
SELECT DISTINCT i.module_name, i.content_id, i.extra_attr, COUNT(*) AS nb, SUM(idx.count) AS total_weight FROM cms_module_search_items i INNER JOIN cms_module_search_index idx ON idx.item
--------------------------
I‘d be really thankful if somebody could help!
Thanks
Reinhard