Page 1 of 2
Search Button Not Working
Posted: Sun Jan 31, 2016 1:19 pm
by chinraam
Hi,
The search button in the GUI does not slide for the text box option to enter the strings when mouse is placed over the search button.
Can anyone help be to fix this as users are not able to enter any search strings.
Thank You.
Re: Search Button Not Working
Posted: Mon Feb 01, 2016 10:54 am
by skurudo
Looks and works fine on my server:
Tell us more about your OS, Vesta version and what browser you use?
Re: Search Button Not Working
Posted: Mon Feb 01, 2016 6:57 pm
by chinraam
Yes in one of my server it works fine but in another server I have the issue.
OS : Cent OS
Vesta Version : Latest (0.9.8 (x86_64) Release 15)
Browser : Same in every browser.
In your image I can see you have typed admin in the search text box but for me I dont get the slide text box option when my mouse is over the search button.
Re: Search Button Not Working
Posted: Mon Feb 01, 2016 7:08 pm
by chinraam
Also if manually search URL query used I get the results.
I tried to find the code inside vestacp Web folder and compared with my another server but could not find the exact function.
It would be a great help if you can suggest me which file or some file to be replaced.
Re: Search Button Not Working
Posted: Mon Feb 01, 2016 8:46 pm
by tjebbeke
Can you check if there are errors in your browser?
In chrome: F12, Ctrl + Shift + I Or Cmd + Opt + I
Re: Search Button Not Working
Posted: Tue Feb 02, 2016 11:26 am
by skurudo
chinraam wrote:
Browser : Same in every browser.
It'll be nice to know browser and version.
Do you use plugins like NoJS or something blocking js-scripts?
Re: Search Button Not Working
Posted: Fri Feb 05, 2016 7:34 am
by chinraam
Chrome 48.0.2564.97
Firefox 43
IE 11
I have two CP installations and in the same browser with one server panel the search works and in another CP it does not work. I hope then browser is not blocking or browser issues.
Both servers are identical installations.
Re: Search Button Not Working
Posted: Sat Feb 06, 2016 11:23 am
by chinraam
<input class="search-input" type="text" value="" name="q">
if i change the class manually to "search-input activated" the search box appears. But this is not automatically changing class when i keep the mouse pointer over the search box.
In another vestacp installation the auto class change happens which enables the search text box to appear.
How to fix this css or script issue so search appears.
Re: Search Button Not Working
Posted: Sun Feb 07, 2016 6:53 pm
by skurudo
Try to get original css and js from github -
https://github.com/serghey-rodin/vesta/ ... er/web/css
and replace yours - /usr/local/vesta/web/css/
?
Re: Search Button Not Working
Posted: Sun Feb 07, 2016 10:57 pm
by tjebbeke
Have you checked the error log in your browser console? Maybe some of the javascript files are not loaded properly or not working.