Page 1 of 1

Huge problem with search module!

Posted: Fri Nov 30, 2012 2:16 am
by lprintz
Hello all!

I've installed CMSMS for at least a dozen clients and have never had an issue with the search module...until now!

I'm getting some serious problems. After upgrading to the latest CMSMS version, I simply added {search} to my home page and I would always get 'no results found'

I then uninstalled/reinstalled the search module and IT'S WORSE! I get a huge error page with:

Error: at line 702 in file /home/jdkco/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Syntax Error in template "tpl_body:23" on line 34 "{search}" unknown tag "search"

I've searched and was surprised that nobody else had this issue...can somebody please bail me out?

CMSMS Ver 1.11.3
Search Ver 1.5.4

Thanks so much!

Len

Re: Huge problem with search module!

Posted: Fri Nov 30, 2012 2:55 am
by calguy1000
First... I would recommend using {Search} instead of {search}. because the actual name of the module is "Search". and CMSMS is largely case sensitive.

Second... I would uninstall and re-install the module again, and clear the cache.

Re: Huge problem with search module!

Posted: Fri Nov 30, 2012 1:31 pm
by lprintz
Thanks Calguy!

Followed your instructions and nada:

1) corrected to {Search}
2) uninstall / reinstall Search module
3) emptied cache and templates_c folders

Still getting this error on the crash page:

Error: at line 702 in file /home/jdkco/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Syntax Error in template "tpl_body:23" on line 34 "{Search}" unknown tag "Search"

Re: Huge problem with search module!

Posted: Mon Dec 03, 2012 2:09 pm
by lprintz
Hello all!

My search function's still 'dead in the water!'

Can anybody bail me out?

I've installed dozens of CMSMS sites and this module usually 'plug n play'...I've never had an issue like this and I hope it's not a bug with the latest version!

Thanks so much!

Len

Re: Huge problem with search module!

Posted: Sun Feb 17, 2013 3:45 am
by milehigh
Wondering if you ever found anything more on this. I transferred a site from one server to another (something I've done MANY times so I know to clear cache, etc.) and I had this happen with both {search} and {news}.

I had transferred version 10.2 to new server...at first glance everything looked good so subsequently upgraded to 11.4 and then noticed this. I was going to retry the transfer and check things more closely on the 10.2 version before upgrading this time but I wanted to check in and see if I can find any clues to what may be happening.

Re: Huge problem with search module!

Posted: Sun Feb 17, 2013 4:35 am
by milehigh
Ok..here's what I found...

{cms_module module="News"} works {News} or {news} does not.

This fixed my issue on both News and Search. Googling smarty/sysplugins/smarty_internal_templatecompilerbase.php I found another 11.x CMSMS site with the same problem (I don't think the owner realized it).

So...it appears to be 11.4 at least for my configuration and a couple others here. I have many sites on 11.4 on another (shared) server where this isn't a problem so this was a little strange to come across this.

This particular problem is showing up on a dedicated server running PHP 5.3.21
apache/2.2.23 (unix)
linux 2.6.32-279.11.1.el6.x86_64 on x86_64

I'll retry the install and report back if I find anything that might be helpful to someone.

Re: Huge problem with search module!

Posted: Mon Feb 18, 2013 2:07 pm
by milehigh
If this helps anybody including OP I found a couple other references search module plugin.

When upgrading from 1.10.x directly to 1.11.4 the RegisterModulePlugin(); was moved to method.install.php for core modules like search and news. Even after updating and upgrading the modules, the module plugins still were not registered. I had to completely uninstall and re-install the search module to register the plugin.

Not an option on the News module for me because I've got about a 100 articles I don't want to reenter if I uninstall the news module so i'll simply just use {cms_module} to call in the News module and hope it gets fixed properly in a future point release.

I missed the impact of this in the 1.11.x release notes and reread the 'what we broke' thread and missed it there to so I'm off to update some modules as I see RegisterModulePlugin and SetParameters are now depreciated.