Support

Home Forums Event Espresso Premium Checkout hangs with wrong password registered users

Checkout hangs with wrong password registered users

Posted: July 5, 2018 at 8:14 am

Viewing 25 reply threads


ardiaful

July 5, 2018 at 8:14 am

Registered users that fill out an event booking form without login are asked to login first with a popup window. This popup windows disappears after a lapse of a few seconds and a warning text box shows up inside registration form with a Login button.

After clicking the “Login” button, registered users that input a wrong password are not allowed to continue with the checkout, and the spinning wheel keeps on turning up until checkout flow hangs and users abandon.

Definitely the process must warn users that their password is wrong and redirect them to the login section to the site, can you please help to fix this?

Check screenshot: https://imgur.com/a/l5xVlGu


Josh

  • Support Staff

July 5, 2018 at 2:58 pm

Hi,

I’m not able to replicate the same issue on a testing site. So the fix I advised in your other topic might also fix this issue.


ardiaful

July 6, 2018 at 1:50 am

After a update reCAPTCHA the issue still continues when registered users try to make bookings and input a wrong password in registration form.
Let me know how I can send you my website reference so that you can test yourself. Thanks


Tony

  • Support Staff

July 6, 2018 at 3:55 am

You can send details using this form:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

July 6, 2018 at 10:28 am

There’s a JS error on the site, which prevents other JavaScrip from running.

If you temporarily remove this code from the site – http://take.ms/LJ6NQ

Does it work then?


ardiaful

July 10, 2018 at 4:51 am

I have removes this code:

jQuery.fn.stars = function() {
    return jQuery(this).each(function() {
        // Get the value
        var val = parseFloat(jQuery(this).html());
        // Make sure that the value is in 0 - 5 range, multiply to get width
        var size = Math.max(0, (Math.min(5, val))) * 16;
        // Create stars holder
        var $span = jQuery('<span />').width(size);
        // Replace the numerical value with stars
        jQuery(this).html($span);
    });
}

But the problem continues.


ardiaful

July 10, 2018 at 5:05 am

I have also removed other related js code related to the same event stars reviews, and now there is no js warning in console. However, the problem with checkout hanging continues. Check screenshot: https://imgur.com/a/7NJYX8a


ardiaful

July 10, 2018 at 5:10 am

Please test yourself with the credentials provided in contact form.


Josh

  • Support Staff

July 10, 2018 at 7:14 am

Can you try deactivating the Popup Maker plugin to rule out whether it’s causing some interference there?


ardiaful

July 10, 2018 at 8:01 am

After deactivating Popup Maker, issue continues the same.


Josh

  • Support Staff

July 10, 2018 at 8:45 am

You may need to rule out all plugins and the theme, because we can’t replicate the issue locally.


ardiaful

July 10, 2018 at 10:31 am

Well, after changing current theme to Twenty Fourteen the registered user popup login window shows a warning “an invalid user or incorrect password”, which does not appear in my theme….guess now how to fix this


ardiaful

July 10, 2018 at 10:35 am

this is the screenshot with Twenty Fourteen popup login window after registered user inputs a wrong password in checkout: https://imgur.com/a/136UxrC. With my theme there is not such an alert window and the checkout process hangs indefinetely.


Josh

  • Support Staff

July 10, 2018 at 10:41 am

Can you contact the theme developer for support?


ardiaful

July 10, 2018 at 10:47 am

Yes I can, but my experience with them is very poor and my expectation for a solution is low.


Josh

  • Support Staff

July 10, 2018 at 10:51 am

It would be best if the theme developer can fix their theme. We generally cannot support code from third party themes/plugins.

We can take a quick look at the theme’s code if there’s a URL where we can download the theme from, but we cannot guarantee a fix when it’s not code developed and supported by Event Espresso.


Josh

  • Support Staff

July 10, 2018 at 2:18 pm

Hi,

The copy of the theme you sent works OK on my site. There’s no hanging at checkout if the wrong password is entered:

https://slack-files.com/T02SY781D-FBN4CU91R-9fab77b847

Two things you can check: Is the copy you sent the same as what’s on your site? Also, if the server hits a memory limit during the AJAX request, that will cause the hangup. So the reason the breakage didn’t occur on your site with the default theme could be the default theme’s lower resource needs. In which case you can bump the amount of memory available to WordPress by following this guide:

https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/


ardiaful

July 11, 2018 at 2:18 am

The copy of the theme I sent you is the one I’m using, more precisely a child version of the theme.
I added the line define( 'WP_MEMORY_LIMIT', '256M' ); to my wp-config.php file but the problem persists.


ardiaful

July 11, 2018 at 2:21 am

As a matter of fact, the problem with the hangup remains with the original theme activated or child theme version in my live server.


ardiaful

July 11, 2018 at 2:24 am

However, test with Twenty Fourteen theme in live server solves the issue.


ardiaful

July 11, 2018 at 2:31 am

Could this issue be due to a problem with redirecting users after clicking on the Login button in the checkout registration popup windows?


Josh

  • Support Staff

July 11, 2018 at 7:41 am

No because it’s not an issue when you have the twentyfourteen theme activated.

Does the issue occur if all plugins are deactivated while the Aventura theme is activated?


ardiaful

July 11, 2018 at 10:26 am

It seems I’m closer to the problem. Issue does not occur when plugin Redux Framework is deactivated (while Aventura Theme is activated). The bad news is that the theme seems to need Redux plugin to work…


Josh

  • Support Staff

July 11, 2018 at 12:55 pm

This information about the Redux plugin helps narrow things down a bit. If you go to the WP dashboard’s Appearance → Customize page, you’ll find a “Login and Register” menu item. The “Login and Register” menu item is added by the Aventura theme, but only if the Redux plugin is activated (because it depends on the Redux framework to add that option).

Are any of the options on the Login and Register panel set? If so, you can unset the options there and that should fix the problem.


ardiaful

July 12, 2018 at 6:22 am

I get the issue fixed anytime my custom Login page is left empty in the custom “Login and Register” options panel. However, after doing this, the WP default login page (wp-login.php) appears in situations like /?login=failed&user=xxxx@gmail.com, which I don’t want. My question now is how to keep my theme’s custom login pages without showing WP default pages?


Josh

  • Support Staff

July 12, 2018 at 7:18 am

You might need to contact the theme support for that question, as we do not support the Aventura theme.

Viewing 25 reply threads

The support post ‘Checkout hangs with wrong password registered users’ 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