Registration Form doesn't work > Undifined when submit

This topic contains 14 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 5 months ago
Viewing 14 Posts - 1 through 14 (of 14 total)
Author Posts
November 5, 2013 at 12:12 am 9746
Tareq Hasan Hi guys, I have a problem with my registration form. When I want to submit a registration I got the error "undefined". Any idea? Thanks, Jhon
November 5, 2013 at 1:38 am 9747
Tareq Hasan Tareq Hasan

May be some plugin is generating some unwanted output and it’s messing with the JSON ajax response.

Can you please provide your site url, user login and password so we can check it. Also mark your reply as Private reply to keep it safe.

November 5, 2013 at 1:51 am 9748
Bauwens Bauwens This reply has been marked as private.
November 5, 2013 at 2:00 am 9750
Tareq Hasan Tareq Hasan

I guess you forgot the site url.

November 5, 2013 at 2:01 am 9751
Bauwens Bauwens This reply has been marked as private.
November 5, 2013 at 2:11 am 9752
Tareq Hasan Tareq Hasan

The register form is somehow being blocked and it’s getting no ajax
response it should. I don’t suspect it’s some plugin, but might be the
theme. Is it custom made? Can you check it perhaps?

November 5, 2013 at 2:12 am 9754
Bauwens Bauwens This reply has been marked as private.
November 5, 2013 at 2:15 am 9755
Tareq Hasan Tareq Hasan

I believe the error is coming from your themes functions.php and the
function name is *pu_blank_login*, please consult with your developer.

November 5, 2013 at 2:17 am 9757
Bauwens Bauwens

i’m the developper, let me look at this !

November 5, 2013 at 2:23 am 9758
Bauwens Bauwens

just tried to remove the fonction. Does not work !

November 5, 2013 at 2:42 am 9759
Bauwens Bauwens

Any idea?

November 5, 2013 at 2:49 am 9760
Bauwens Bauwens

Got the problem. It’s here:

function restrict_admin()
{
if ( ! current_user_can( ‘manage_options’ ) ) {
wp_redirect( site_url() );
}
}
add_action( ‘admin_init’, ‘restrict_admin’, 1 );

How to restrict admin in an other way?

Thanks a lot !

November 5, 2013 at 2:56 am 9762
Tareq Hasan Tareq Hasan

WPUF has a restriction functionality in it’s settings and you can block users by role. Check it in the plugin settings.

November 5, 2013 at 2:59 am 9764
Bauwens Bauwens

Great thanks !

And another question: Select the page where [wpuf_edit] is located

What’s that page? Who can access? I don’t know which page to choose!

Cheers

November 5, 2013 at 3:07 am 9765
Tareq Hasan Tareq Hasan

Take a look at the setting up video, that pretty much explains it.

Viewing 14 Posts - 1 through 14 (of 14 total)