Search module not displaying results
Posted: Sat Jan 31, 2015 4:45 pm
I have recently upgraded a site from 1.9.x to 1.11.12. Somewhere between the 1.11.11 and the 1.11.12 versions, no search results are appearing on my results page. Part of my upgrade process b/t 1.11.11 and 1.11.12 included going from PHP5.3 to 5.4, updating CGExtensions all the way to 1.45, which required the addition of the CGSimpleSmarty 1.7.4. Complete system info is at the bottom of my post.
This is my tag in my site template:
This is what I get on my results page:
"0 results for "" returned:
No Results Found!"
This is my URL when I search for "membership"
For fun, I put a few things in the results template to see if any information was being returned from action.dosearch.php:
And this is what shows up on my screen:
Array ( ) 1
0.004657
0
Array ( ) 1
All variables are empty except for $timetook. It's as if action.dosearch.php just jumps straight to the else statement on line 302.
I'm stumped and any help would be appreciated!
-Jon
SYSTEM INFO:
Cms Version: 1.11.12
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.14.4
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.45
jQuery: 1.2.0
FormBuilder: 0.8.1.1
Captcha: 0.5.0
CGCalendar: 1.14.6
youtubeplayer: 1.3
CMSPrinting: 1.0.5
MicroTiny: 1.2.8
CGSimpleSmarty: 1.7.4
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.4.36
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 300M
max_execution_time: 200
output_buffering: 0
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 65M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.39
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found
This is my tag in my site template:
Code: Select all
{search resultpage='search-results'}
"0 results for "" returned:
No Results Found!"
This is my URL when I search for "membership"
Code: Select all
<path>/index.php?mact=Search%2Ccntnt01%2Cdosearch%2C0&cntnt01returnid=222&cntnt01searchinput=membership&submit=go&cntnt01origreturnid=221
Code: Select all
{$searchwords|@print_r}<br>
{$phrase}<br>
{$timetook}<br>
{$itemcount}<br>
{$results|@print_r}<br>
Array ( ) 1
0.004657
0
Array ( ) 1
All variables are empty except for $timetook. It's as if action.dosearch.php just jumps straight to the else statement on line 302.
I'm stumped and any help would be appreciated!
-Jon
SYSTEM INFO:
Cms Version: 1.11.12
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.14.4
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.45
jQuery: 1.2.0
FormBuilder: 0.8.1.1
Captcha: 0.5.0
CGCalendar: 1.14.6
youtubeplayer: 1.3
CMSPrinting: 1.0.5
MicroTiny: 1.2.8
CGSimpleSmarty: 1.7.4
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.4.36
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 300M
max_execution_time: 200
output_buffering: 0
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 65M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.39
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found