Page 1 of 1

Search error on fresh CMSms install

Posted: Sat Feb 23, 2008 1:34 pm
by minneapolisite
Systems Info

I'm running CMS Made Simple 1.2.3. I'm using PHP 5, and MySQL 5.0. As this is a client site and not my own, I am uncertain of the other server information, but the webhost’s website may provide additional information, if needed.

I'm using a fresh install of CMms, with no modules installed beyond the default ones which come with CMSms.

Problem Info

Where the search box should be in the template, I get the error message:
string(75) "Smarty error: unable to read resource: module_db_tpl:Search;displaysearch""
Code surrounding search field in the template (using the default “Left simple navigation + 1 column” template with no modification.)
  {* Start Search *}
 
          {search}
 
  {* End Search *}
How to reproduce: Visit the site http://www.hmixedup.com/ and look in the top right corner where the search box should be.

Note: Someone else asked this question on Dec 18, 2007—their CMSms magically fixed itself—I’m not that lucky!  It’s possible this problem is similar to mine, but the information provided by chechogr is insufficient to determine if our problems are related.

Please let me know if you need any additional information to help decipher the problem.  Thanks so much for any knowledge or troubleshooting tips you can provide!

Re: Search error on fresh CMSms install

Posted: Sat Feb 23, 2008 3:31 pm
by alby
minneapolisite wrote:
string(75) "Smarty error: unable to read resource: module_db_tpl:Search;displaysearch""
As nivekiam said, active debug in config.php and check for sql error or check in your DB for [cms_prefix]modules_templates table and look if exist a row with displaysearch and module Search

Alby

Re: Search error on fresh CMSms install

Posted: Sat Feb 23, 2008 4:44 pm
by minneapolisite
I did do that prior to posting, but was unsuccessful. 

Here is the debug log around the search area:
Debug: (0.234795) - (6908512)


(mysql): SELECT content from cms_module_templates WHERE module_name = 'Search' and template_name = 'displaysearch'
Error (0):

Debug: (0.235273) - (6909736)


(mysql): SELECT modified_date from cms_module_templates WHERE module_name = 'Search' and template_name = 'displaysearch'
Error (0):
You can see this in action here:  http://hmixedup.com/

Do you see anything that could help point me in the right direction?  Thanks!

Re: Search error on fresh CMSms install

Posted: Sat Feb 23, 2008 4:52 pm
by calguy1000
go into Extensions >> Modules and uninstall the search module and re-install

Re: Search error on fresh CMSms install

Posted: Sun Feb 24, 2008 2:41 pm
by minneapolisite
No such luck.  :(  Do I need to actually "Remove" it, or should it have been enough to uninstall/reinstall?

Re: Search error on fresh CMSms install

Posted: Wed Feb 27, 2008 12:02 am
by minneapolisite
I entirely removed and re-added the module.  Success!