Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Error when creating index
- This topic has 3 replies, 2 voices, and was last updated 10 years, 7 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 5, 2015 at 11:11 pm #6555
elwinn
ParticipantFirst of all, contact me by email to access the Website. It is not LIVE yet and you will need to tweak your hostfile.
We are having problem getting the Ajax search pro work properly and search in all sites on a multisite Network configuration. How can we set the search results page ? We also get this error while trying to create new index :
–
<br />
<b>Fatal error</b>: Cannot use object of type WP_Error as array in <b>wp-content/plugins/ajax-search-pro/includes/etc/indextable.class.php</b> on line <b>680</b><br />
–Thanks in advance for you support.
November 6, 2015 at 10:29 am #6557Ernest Marcinko
KeymasterHi!
This was a known issue with Multisite and WPML in previous versions. Please download the latest version from Codecanyon (currently 4.5.5) and install it safely by following the safe update instructions: https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/update_notes.html
The index should build up afterwards without any error messages.
November 6, 2015 at 3:53 pm #6560elwinn
ParticipantThank you,
I download version 4.5.5 and build my index. Now, when I click on ‘More Results’, how can I choose the search results page !?
Right now, a search result page of one of my sites is selected and only results for that site are showing. Is there a way to set a results page showing results for all sites in my network base on my search query when I click on ‘More results’ ?
regards,
November 6, 2015 at 4:02 pm #6561Ernest Marcinko
KeymasterHi!
There is no way to “choose” your search page. It’s a theme feature, whereas the search.php file in your theme directory displays the results. You can change the url, if the default search redirect to a different location on the Layout Options -> Results Layout panel the Show more results URL option: http://i.imgur.com/SKJXbTo.png
There is an option to override the results, but it might not work with multiste. (it’s hard to get cross-site posts correctly as they can have matching IDs per site) On the General Options -> Behavior panel, the Override the default WordPress search results page? option: http://i.imgur.com/L8sPa4N.png
-
AuthorPosts
- You must be logged in to reply to this topic.