WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Can't make bookings (16 posts)

  1. ajbeaven
    Member
    Posted 2 years ago #

    Hi there,

    I'm having problems with bookings - when I try to submit a booking with an anonymous account (I assume this is where you don't log in with an email and password), the page refreshes and has the message, "Sorry, there are no events that matched your search.".

    Has this happened to anyone else before? What did you look at to fix it?

    Thanks for any help you can give.

    Andrew

    http://wordpress.org/extend/plugins/events-manager/

  2. ajbeaven
    Member
    Posted 2 years ago #

    Actually, the message occurs even when I'm logged in and try to make a booking (with my administration wp account).

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    I think this has been mentioned before (admins having issues with the form shortcode).

    is it only admins or other user types this happens to you with?

  4. ajbeaven
    Member
    Posted 2 years ago #

    It happens when I'm logged in as an administration but also if I'm not logged in at all and submit a guest booking (sorry I called in anonymous before but I think I meant guest).

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    need to really revisit the shortcode and retest that

  6. ajbeaven
    Member
    Posted 2 years ago #

    Anything I can do in the interim?

  7. agelonwl
    Member
    Posted 2 years ago #

    is it possible for you to find out if there's any php error?

  8. ajbeaven
    Member
    Posted 2 years ago #

    No php errors surrounding events manager that I can see by turning on wp_debug. I note that the form that the "Send your booking" button is posting doesn't have an action - which might explain why it's coming up with the "No events" page since it would be simply posting the current page. Or is that what it's supposed to do?

    You can go here to view the booking form.

  9. agelonwl
    Member
    Posted 2 years ago #

    upon checking the site it looks like you have a problem with your js. I've use firebug > console > persist then upon clicking booking it throws

    $ is not a function
    [Break On This Error] $(window).load(function() {
    (line 81)
    $ is not a function
    [Break On This Error] $('a.tool_tip').animate({'opacity' : .5}).hover(function() {

    you might want to deactivate temporarily your other plugins and change to default theme in this way you can check if the problem still occurs it could be your theme or plugin that causes the js conflict. It seems like that cause the problem.

  10. ajbeaven
    Member
    Posted 2 years ago #

    Did actually see that but didn't think that a post action should be dependent on js. Does events manager need js to function properly?

  11. agelonwl
    Member
    Posted 2 years ago #

    yes, events manager is working on js for its ajax function; you have to ensure that your js works properly without any conflict with other jquery function. Please check if you have duplicates on loading jquery

    have you tried deactivate temporarily your other plugins and changing to wp default theme if its working ok.

  12. ajbeaven
    Member
    Posted 2 years ago #

    Thanks, it was indeed a conflict with another plugin. Now that's fixed, I'm getting another problem when booking:
    http://wordpress.org/support/topic/plugin-events-manager-you-must-request-at-least-one-space-but-no-option-to?replies=1

  13. ajbeaven
    Member
    Posted 2 years ago #

    Ah, having another problem - again, it's a javascript issue. The form itself is now posting, the account created and booking made, except there is no feedback from the site that the booking has been successful - the spinner just continues to spin indefinitely.

    I believe an error occurs sometime after the booking is made which means the ajax function never gets a response. I tried using the firefox console but the error message isn't very helpful:

    unterminated regular expression literal
    <b>Warning</b>: fsockopen() [<a href=...connected host has failed to respond.

    It says the error is at line 1 of my html, which obviously isn't correct.

    Where is the .php file for the javascript function that comes after bookingform/login.php? That's where the ajax function is being called - I'd like to see if I can fiddle around with that to get it working but I can't seem to find it...

  14. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    that's an email issue i think (happens if your mail settings aren't right). it's saying your server can't connect to whatever server you've got there.

    try using PHP Mail or WP Mail in your event email settings.

    if you disable php error_reporting that should return with a confirmation but say that email isn't working properly.

  15. ajbeaven
    Member
    Posted 2 years ago #

    You guys are legends - all working now. Will be upgrading to pro in a few days.

  16. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    see you there! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic