Search error on fresh CMSms install

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
minneapolisite
Forum Members
Forum Members
Posts: 24
Joined: Sat Feb 23, 2008 1:15 pm

Search error on fresh CMSms install

Post 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!
alby

Re: Search error on fresh CMSms install

Post 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
minneapolisite
Forum Members
Forum Members
Posts: 24
Joined: Sat Feb 23, 2008 1:15 pm

Re: Search error on fresh CMSms install

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

Re: Search error on fresh CMSms install

Post by calguy1000 »

go into Extensions >> Modules and uninstall the search module and re-install
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.
minneapolisite
Forum Members
Forum Members
Posts: 24
Joined: Sat Feb 23, 2008 1:15 pm

Re: Search error on fresh CMSms install

Post by minneapolisite »

No such luck.  :(  Do I need to actually "Remove" it, or should it have been enough to uninstall/reinstall?
minneapolisite
Forum Members
Forum Members
Posts: 24
Joined: Sat Feb 23, 2008 1:15 pm

Re: Search error on fresh CMSms install

Post by minneapolisite »

I entirely removed and re-added the module.  Success!
Locked

Return to “[locked] Installation, Setup and Upgrade”