• I just installed it on WordPress 2.7. I entered my organization info, then info for an event. But the event is not showing up when I click on the menu item “Event Registration”. It says at the top of the screen “SELECT EVENT TO VIEW ATTENDEES:” but there is no event to choose from. I tried entering a second event, to be sure, and it also does not show up. I created a new page for the registration form, and it displays the form but it says “Event Registration For” at the top, without naming the event. (see this: https://dancebix.com/?page_id=4)

    Any ideas what might be going wrong here? I will try to remove and re-upload the plugin files, but it is almost like it is not connecting to wherever it is that it stores the Event data… (I am not getting any error warnings when I use the plugin.)

    Thank you so much! I am so excited to use this plugin; I hope someone can help me get around this problem. ??

Viewing 1 replies (of 1 total)
  • Very often you will work in situations where single quotes ‘, double quotes “, and backslashes \ can cause problems – databases, files, and some protocols require that you escape them with \, making \’, \”, and \\ respectively.

    Addslashes() takes a string as its only parameter, and returns the same string with these offending characters escaped so that they are safe for use.

    In php.ini there is an option “magic_quotes_gpc” that you can set to enable “magic quotes” functionality. If enabled, PHP will automatically call addslashes() on every piece of data sent in from users.

    If you have addslashes in your code and it is also enabled on the server, it will add double escapes creating problems. Therefore I did not add it to the code.

    In your php.ini file (on your server) set it to on and it will resolve your issue.

    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = On

    An alternative if you cannot enable magic_quotes_gpc, place this code block in front of each post calls.

    //create array to temporarily grab variables
    $input_arr = array();
    //grabs the $_POST variables and adds slashes
    foreach ($_POST as $key => $input_arr) {
    $_POST[$key] = addslashes($input_arr);
    }

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Event Registration] events not showing up?’ is closed to new replies.