Error when creating index

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6555
    elwinn
    elwinn
    Participant

    First 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.

    Attachments:
    You must be logged in to view attached files.
    #6557
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #6560
    elwinn
    elwinn
    Participant

    Thank 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,

    #6561
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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: https://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: https://i.imgur.com/L8sPa4N.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.