Search results do not display on locally hosted site

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search results do not display on locally hosted site

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2495
    cogsinfosys
    cogsinfosys
    Participant

    Hello,

    I’m sure you hear this a lot but I love the plugin and all of the options. However, I seem to have one issue. When I’m on a computer on our local work network, the search results do not display. I tried multiple computers and multiple browsers with the same results.

    We host our wordpress site on a local centos server and we have gig connectivity from each machine and 10 gig from the server. I read another post that seemed like it may be similar: http://wp-dreams.com/forums/topic/search-results-not-showing-due-to-css/ but I’m not sure what to change.

    Interestlingly, if I connect into our network via VPN the results show correctly.

    I currently have version 3.0 of the plugin.

    Also, I attempted to troubleshoot as much as I’m skilled to do, and when I inspect element using firefox, I find that the div id ajaxsearchprosettings2_1 class=searchsettings style setting visibility: hidden; is set. Under that particular div id is the search results.

    For some reason, it appears that the results are there but they are not showing up. The site is locally hosted therefore remote access would be limited.

    I appreciate any help you might be able to give on this issue.

    #2518
    cogsinfosys
    cogsinfosys
    Participant

    I wanted to also add, that If I search for something that does not match then the “no results” box does show up properly. It’s only when something matches and on the local network that it does not work properly.

    #2536
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Sorry for the late answer, something was very wrong with the support system.

    Is the site url same on the VPN as it’s on the local server? I’m not sure if this is a client side or a server side issue, it can be both. But if the urls are different on local and VPN, then the ajax request fails because of the same origin policy. (the url of the wordpress installation is set to http://xxx.xxx and if you try to access it from the same virtual host address, for example http://yyy.yyy then the site may work, but the ajax requests fail because the site url tells a different address)

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.