This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Broken preview, calling wrong site URL

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1741
    Dominic SelfDominic Self
    Participant

    I’ve just bought and installed this plugin, but the preview in the Admin area isn’t working. I checked and it seems like it’s trying to load resources from the ‘public’ URL (http://dominicself.co.uk) rather than the WordPress installation directory (http://dominicself.co.uk/wordpress/). See attached screenshot. Can you help?

    #1742
    Dominic SelfDominic Self
    Participant

    Oops, attachment doesn’t seem to have shown up…

    #1744
    Dominic SelfDominic Self
    Participant

    Ah, I think I’ve found the bug!

    In ajax-search-pro/backend/search.php, line 23:

    var ajaxurl = ‘<?php bloginfo(“url”); ?>’ + “/wp-content/plugins/ajax-search-pro/ajax_search.php”;

    it should say:

    var ajaxurl = ‘<?php bloginfo(“wpurl”); ?>’ + “/wp-content/plugins/ajax-search-pro/ajax_search.php”;

    🙂

    • This reply was modified 10 years, 4 months ago by Dominic SelfDominic Self.
    #1747
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Thank you for the information! I haven’t updated the preview box for a while 🙂 I will surely fix this in the upcoming version!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.