Support

Home Forums Community Forum Registration Checkout – could not complete, refresh browser error

Registration Checkout – could not complete, refresh browser error

Posted: November 21, 2015 at 12:29 pm

Viewing 4 reply threads


Paul

November 21, 2015 at 12:29 pm

Hello,
I am having a problem with registration checkout on this EE4 install. Everything works well but I get an error (Registration step could not be completed, refresh….) and the registration goes through after refreshing although I also get an incomplete registration. There is no caching plugins/services running on this GoDaddy hosted WordPress site.

  • WordPress 4.3.1
  • minimal plugins, some that I have turned off to debug
  • server running php5.4
  • memory set to 96MB – php max 256
  • Any help would be greatly appreciated. I am pretty stuck on this one. Thanks for your time on this.


    Lorenzo Orlando Caum

    • Support Staff

    November 23, 2015 at 9:24 am

    Hi Paul,

    Is this the managed WP hosting plan with Godaddy or another plan?


    Lorenzo


    Paul

    November 23, 2015 at 2:10 pm

    Thanks Lorenzo, This is a standard hosting account. Have you seen conflicts with some of these accounts?


    Tony

    • Support Staff

    November 24, 2015 at 4:31 am

    We’ve not had reports of issue with the standard hosting packages.

    Which version of EE4 are you using?

    It could be an error being thrown on the ajax request, you’ll need to capture the request using Chrome Dev tool and check the response to confirm.


    Josh

    • Support Staff

    December 2, 2015 at 4:09 pm

    It turned out to be this code in the active theme’s functions.php file:

    function restrict_admin()
    {
    	if ( ! current_user_can( 'manage_options' ) && '/wp-admin/admin-ajax.php' != $_SERVER['PHP_SELF'] ) {
                    wp_redirect( site_url() );
    	}
    }
    add_action( 'admin_init', 'restrict_admin', 1 );
    Viewing 4 reply threads

    The support post ‘Registration Checkout – could not complete, refresh browser error’ 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