Page 1 of 1

Search is not working

Posted: Mon Dec 30, 2019 12:47 pm
by fotioska@gmail.com
Altough I red the posts search for my webpage is not working.
Locally on my pc it seems ok but when I upload my files on godaddy site is not working.
I have chosen all options but none is not working. I am using version 14

Thanks,
fotios

Re: Search is not working

Posted: Mon Dec 30, 2019 12:48 pm
by Pablo
Did you publish all files? The search index is only published when you publish all files.
What is the URL of the page?

Re: Search is not working

Posted: Mon Dec 30, 2019 1:02 pm
by fotioska@gmail.com

Re: Search is not working

Posted: Mon Dec 30, 2019 1:20 pm
by BaconFries
Although you may have inserted a search input there is no search script installed! Please ensure that you have installed the search object and uploaded all files.

Re: Search is not working

Posted: Mon Dec 30, 2019 1:23 pm
by fotioska@gmail.com
script? How do I add that? Any istructions?

thanks

Re: Search is not working

Posted: Mon Dec 30, 2019 2:02 pm
by fotioska@gmail.com
For the search what folders are created and where is installed so i can delete them

thanks

Re: Search is not working

Posted: Mon Dec 30, 2019 3:02 pm
by Pablo
The search index is not on the server.
http://www.cookingtranquility.com/searchindex.js

Please make sure that you publish/upload all files.

Re: Search is not working

Posted: Tue Dec 31, 2019 7:23 pm
by fotioska@gmail.com
The only files I see are

wb.sitesearch.min.js
jquery-1.12.4.min.js

Even if I create a new site and add a search button I do not see searchindex.js
Please advise

Re: Search is not working

Posted: Tue Dec 31, 2019 9:42 pm
by Pablo
Did you enable 'Generate search index' in Tools->Search Index ?

Related tutorial:
http://wysiwygwebbuilder.com/sitesearch.html

Re: Search is not working

Posted: Wed Jan 01, 2020 5:57 pm
by fotioska@gmail.com
Already checked that and is enabled

Re: Search is not working

Posted: Wed Jan 01, 2020 6:07 pm
by Pablo
Are you sure you have uploaded all files?
Are there any errors in the publish log?
Does it work it locally when you do a full preview?

The reason why the search does not work is because the search index file is not on the server.
So ,you will need to make sure the files gets uploaded.
There are no known issues with search so I am sure that it can also work for you.

Re: Search is not working

Posted: Wed Jan 01, 2020 7:26 pm
by fotioska@gmail.com
I uploaded all files again on the server. Is not working

Locally seems ok

I have more sites and not working on those as well. Will try another pc but there is a problem

Re: Search is not working

Posted: Wed Jan 01, 2020 9:26 pm
by Pablo
Are there any errors in the publish log?

Can you share your project so I can look if something is wrong?

Re: Search is not working

Posted: Sat Jan 04, 2020 8:22 pm
by fotioska@gmail.com
If you provide me an email will send you the file. Mine is fotioka@gmail.com

thanks

Re: Search is not working

Posted: Sat Jan 04, 2020 9:01 pm
by BaconFries
Please read the following before sending
viewtopic.php?f=10&t=82134
support@pablosoftwaresolutions.com

I am sure that it isn't working because you have not added the search object to the page as when viewing the source code it does not show also the following is not on the server as you will see by clicking...
http://www.cookingtranquility.com/searchindex.js
Also please read the following again...
http://wysiwygwebbuilder.com/sitesearch.html

Re: Search is not working

Posted: Sat Jan 04, 2020 10:08 pm
by fotioska@gmail.com
sent file to your email.

thanks

Re: Search is not working

Posted: Sun Jan 05, 2020 8:35 am
by Pablo
Thanks for sending the file.
I cannot find anything wrong. All settings are correct and the search index (searchindex.js) is published when I publish the entire website.

Are there any errors in your publish log?

Re: Search is not working

Posted: Sun Jan 05, 2020 9:25 pm
by fotioska@gmail.com
Can you send the search file?
Unless something with the hosting

Re: Search is not working

Posted: Mon Jan 06, 2020 7:14 am
by Pablo
You should also have the file yourself.
If you do a local preview (or publish) then the file will be in the preview/publish folder.

Anyway, here is the file:
https://www.wysiwygwebbuilder.com/suppo ... hindex.zip

Re: Search is not working

Posted: Wed Apr 15, 2020 1:55 pm
by Dragos
Why i cant find pdf file name when use sitesearch???
The document.pdf are inside folder.
i search from document name.

Re: Search is not working

Posted: Wed Apr 15, 2020 2:10 pm
by Pablo
Site Search can only search text in HTML, you cannot search in PDF content.

Re: Search is not working

Posted: Wed Apr 15, 2020 2:59 pm
by pajadt
Hi Pablo
I have a different problem
I also add the Folder in the site tree and add inside it like. Insert External File. add pdf
also where the button at -page to open that pdf file, that page is protected.
The problem is that these pdf files are visible in search, although I gave the options on the right-click pdf file
- Don't sync this page to Navigation Object
- Do not include this page in the Site Map

How to solve this, or have some other idea how to do, maybe
Thank You

Re: Search is not working

Posted: Wed Apr 15, 2020 3:55 pm
by Pablo
PDFs should not be added via the Site Manager. 'External file' is only meant to include web pages.
If you want add a PDF to your project then use the 'File Publisher' object instead.