Page 1 of 1
search input field missing after upgrading to 1.5.1
Posted: Sat Dec 06, 2008 1:20 pm
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
Re: search input field missing after upgrading to 1.5.1 [solved]
Posted: Tue Dec 09, 2008 3:32 pm
by johnbmcdonald
fyi...
I uninstalled the search module 1.5.2 and used module manager to install 1.5 and its working again..
Re: search input field missing after upgrading to 1.5.1
Posted: Sun Jan 04, 2009 11:33 pm
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.
Re: [solved] search input field missing after upgrading to 1.5.1
Posted: Sun Jan 04, 2009 11:42 pm
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.
Re: search input field missing after upgrading to 1.5.1
Posted: Mon Jan 05, 2009 12:18 am
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?...
Re: search input field missing after upgrading to 1.5.1
Posted: Mon Jan 05, 2009 2:03 am
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
Re: search input field missing after upgrading to 1.5.1
Posted: Fri Jun 19, 2009 2:30 pm
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.
Re: search input field missing after upgrading to 1.5.1
Posted: Sun Jul 19, 2009 7:41 pm
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...