WordPress.org

Ready to get started?Download WordPress

Forums

Booking Calendar
[resolved] AJAX Problems (2 posts)

  1. Jonathan Lundström
    Member
    Posted 8 months ago #

    Hello!

    Thanks for the plugin, it's perfect for booking of our shared apartment abroad. I've configured everything and started using it, but I've noticed that all AJAX actions just hang there, and there is no response back. For instance, when I add a booking I just get the spinner, but no confirmation what so ever.

    No matter how long I wait, I don't get any feedback. Same goes for actions within the WP-admin. I notice that the actions work, and they do what they're supposed to but the lack of feedback is quite annoying.

    I'm guessing that this is a bug, and as a PHP developer I'd be happy to assist you in debugging if you need my help.

    Best regards,
    Jonathan

    http://wordpress.org/plugins/booking/

  2. wpdevelop
    Member
    Plugin Author

    Posted 8 months ago #

    Hello.
    1) This issues is possible, when you try to load the page, where DNS is different from that you are configured at the WordPress General settings.
    For example.

    If you are request the site on the following URL http://www.server.com/my-booking-page/

    but main part of your scripts are loading from this URL (without "www") : http://server.com

    so then you will have that type of issue. You are also can see the "0 error" in the browser.

    The Ajax request (its the request when we are making new booking) is possible to execute only to the same site, which is loaded in the browser URL, so thats why we are get this error.

    Probably you are need to set the correct URL at the WordPress Settings General at the WordPress Address and Site Address.

    2) Please check other similar issues at the FAQ here http://wpbookingcalendar.com/faq/ at the troubleshooting section.

Reply

You must log in to post.

About this Plugin

About this Topic