Huge problem with search module!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
lprintz
Forum Members
Forum Members
Posts: 76
Joined: Thu Jun 19, 2008 5:59 pm

Huge problem with search module!

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Huge problem with search module!

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
lprintz
Forum Members
Forum Members
Posts: 76
Joined: Thu Jun 19, 2008 5:59 pm

Re: Huge problem with search module!

Post 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"
lprintz
Forum Members
Forum Members
Posts: 76
Joined: Thu Jun 19, 2008 5:59 pm

Re: Huge problem with search module!

Post 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
milehigh

Re: Huge problem with search module!

Post 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.
milehigh

Re: Huge problem with search module!

Post 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.
milehigh

Re: Huge problem with search module!

Post 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.
Post Reply

Return to “CMSMS Core”