Support

Home Forums Multiple Event Registration Add-on Multiple registration issues

Multiple registration issues

Posted: December 7, 2012 at 5:58 pm

Viewing 11 reply threads


oxtal

December 7, 2012 at 5:58 pm

Hi,

I’m using ESPRESSO_CART_LINK short code in my articles.
Everything work fine until I check out, it give me a msg that my reservation as been made instead of sending me to my Paypal Pro check out.

Here a url if you want to check it out : https://cabareteastman.com/billeterie/

Regards


Josh

  • Support Staff

December 7, 2012 at 6:16 pm

There appears to be something wrong with the URL on the payment page.

Normally, this should be something like:

https://cabareteastman.com/billeterie/?page_id=4&regevent_action=post_multi_attendee

but instead it is:

https://cabareteastman.com/billeterie/?regevent_action=post_multi_attendee

You could try checking to see if there are any plugin conflicts by deactivating other plugins. It may also help narrow down the issue if you can try switching to the default WordPress permalink structure in WordPress>Settings>Permalinks.


oxtal

December 7, 2012 at 6:37 pm

Well nothing seams to work,

I’ve tried to deactivate all the plugins and the chart just don’t work.
I’m suspecting the news EE version because it all worked fine before.

Any work around you could propose ?


Josh

  • Support Staff

December 7, 2012 at 6:52 pm

If it were the new version, wouldn’t it not work on all other sites? It’s working as expected on all of my test sites.

You could try deactivating and reactivating Event Espresso to make sure the database update script is run on plugin activation.

Another thing to check for is template files from an older version in the /uploads directory.

If you have modified templates in there, they need to be updated to use the new template files included with the current version of the plugin.

If you haven’t made any modifications to the files in the /uploads/espresso/templates or in /wp-content/uploads/espresso/gateways they can be removed. If you are not sure if there were modifications made to these files, you can back these up or rename that folder just in case.

You can automatically rename the /wp-content/uploads/espresso/templates folder by going to Event Espresso>Template Settings and clicking the “Rename templates directory” button near the bottom of the page.


oxtal

December 7, 2012 at 7:33 pm

Hi,

I did deactivated and activated EE.
Now i have a 404 error before I go to my PayPal pro Gateway.


oxtal

December 7, 2012 at 7:41 pm

Hi,

I currently have EE as the only active plugin.
The permalink is set as WP default.

Still it’s giving me a 404.

Thanks for your help


oxtal

December 7, 2012 at 7:49 pm

I switch my theme back to twentyteen and it fixed it.
Any clue what it could be ?

JS conflict ?


oxtal

December 8, 2012 at 8:21 am

It seams that the form validation generate the 404.


oxtal

December 8, 2012 at 8:39 am

The weirdest thing … if I reaload the page (404) it reload with my confirmation table !


oxtal

December 8, 2012 at 10:20 am

All right I found the conflict!

It was cause by a search field widget.
I removed the widget and no more 404.

In the multiple event registration (from cart), the field validation does not work.

Well at lease i can sale ticket for now.

Thanks


Josh

  • Support Staff

December 11, 2012 at 1:49 pm

Hi there,

I spent the support token time looking for possible causes of these issues and found this in the theme’s columns-shortcodes.php file:

// Disabling WordPress wpautop and wptexturize filters

function columns_formatter($content) {
    $new_content = '';

    /* Matches the contents and the open and closing tags */
    $pattern_full = '{(\[raw\].*?\[/raw\])}is';

    /* Matches just the contents */
    $pattern_contents = '{\[raw\](.*?)\[/raw\]}is';

    /* Divide content into pieces */
    $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);

    /* Loop over pieces */
    foreach ($pieces as $piece) {
        /* Look for presence of the shortcode */
        if (preg_match($pattern_contents, $piece, $matches)) {

            /* Append to content (no formatting) */
            $new_content .= $matches[1];
        } else {

            /* Format and append to content */
            $new_content .= wptexturize(wpautop($piece));
        }
    }

    return $new_content;
}

// Remove the 2 main auto-formatters
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');

// Before displaying for viewing, apply this function
add_filter('the_content', 'columns_formatter', 99);
add_filter('widget_text', 'columns_formatter', 99);

While it may make the shortcode generated columns look nicer, it will break other plugin shortcodes.
So as a workaround, I wrapped the [ESPRESSO_EVENTS] shortcode with the [raw] short tag.


oxtal

December 11, 2012 at 2:18 pm

All right thanks !

Btw the 404 error was caused by a search area widget.

Best regards

Viewing 11 reply threads

The support post ‘Multiple registration issues’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso