search input field missing after upgrading to 1.5.1

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
User avatar
johnbmcdonald
Forum Members
Forum Members
Posts: 60
Joined: Mon May 14, 2007 8:01 pm
Location: Edmond, OK, USA

search input field missing after upgrading to 1.5.1

Post by johnbmcdonald »

I ugraded several CMSMS sites yesterday to 1.5.1, and in each case, after a successful upgrade, the search text input field is missing.

my

Code: Select all

   <div id="search">
          {search}
   </div>
is still in place. but the resulting HTML does not contain a input type="text" field

Code: Select all

 <div id="search">
          <form id="cntnt01moduleform_1" method="get" action="index.php">

<div class="hidden">
<input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" />
<input type="hidden" name="cntnt01returnid" value="15" />
</div>


<label for="cntnt01searchinput">Search</label>: <input name="submit" value="Submit" type="submit" />

</form>

   </div>
anyone run across this?

Thanks
John
User avatar
johnbmcdonald
Forum Members
Forum Members
Posts: 60
Joined: Mon May 14, 2007 8:01 pm
Location: Edmond, OK, USA

Re: search input field missing after upgrading to 1.5.1 [solved]

Post by johnbmcdonald »

fyi...

I uninstalled the search module 1.5.2 and used module manager to install 1.5 and its working again..
mportuesi
New Member
New Member
Posts: 6
Joined: Thu Jan 24, 2008 3:39 am

Re: search input field missing after upgrading to 1.5.1

Post by mportuesi »

I also experienced the same issue after upgrading my site to 1.5.1.

I tried following the suggestion here - downgrading the Search module to 1.5 - but unfortunately the module manager does not permit me to download the old 1.5 version.

Did you have to do something special in order to downgrade?

Finally, is there a bug filed on this issue with the CMS dev team?  I checked the bug listings in the Dev Forge and did not find one, but I have to admit I'm not very swift with the bug system on those pages.
mportuesi
New Member
New Member
Posts: 6
Joined: Thu Jan 24, 2008 3:39 am

Re: [solved] search input field missing after upgrading to 1.5.1

Post by mportuesi »

I've found a workaround for the problem.

It looks like the search module has a bug.  If the searchtext attribute isn't specified, the search module doesn't produce an input field in the form output.

To work around the problem, I specify a default searchtext like so:

{search searchtext=""}

and life is good.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: search input field missing after upgrading to 1.5.1

Post by Dr.CSS »

I've upgraded a few sites to 1.5.1 and have had no problems, did you have a custom search template or default, have you tried to restore to default in the search admin?...
User avatar
johnbmcdonald
Forum Members
Forum Members
Posts: 60
Joined: Mon May 14, 2007 8:01 pm
Location: Edmond, OK, USA

Re: search input field missing after upgrading to 1.5.1

Post by johnbmcdonald »

I didn't intentionally downgrade. I just uninstalled the search module and then reinstalled the search module. (using the version offered by the module manager) sorry If I gave the impression that I downgraded.

John
User avatar
fatlizard
Forum Members
Forum Members
Posts: 71
Joined: Thu Jun 18, 2009 1:24 pm

Re: search input field missing after upgrading to 1.5.1

Post by fatlizard »

I had this issue with 1.5.4

Adding searchtext='' made no difference.

Via the modules interface (NOT module manager) I simply uninstalled Search, then re-installed, and voila, I have an input box.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: search input field missing after upgrading to 1.5.1

Post by Dr.CSS »

The search module you see in the module manager, older, is not the same as the one in the core, newer any more, the newer ver. is not available in module manager at this time...

If you have a problem with search you have 2 fixes...

1) extensions > search > search template hit the restore to default button to remake the template into the new one...

2) Go to extensions > modules uninstall install...
Post Reply

Return to “CMSMS Core”