Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Upload profile image not working, javacript error
- This topic has 6 replies, 3 voices, and was last updated 10 years, 1 month ago by jaune8.
-
AuthorPosts
-
October 12, 2014 at 3:20 pm #11609jaune8Member
Hi,
I have a problem with the upload button in the profil page, i can see it.
In Safari i have this error message “TypeError: undefined is not a function (evaluating ‘$(“#adherent-rfcp”).validationEngine(‘attach’)’)”
I can see the empty div
<div class=”emember-file-uploader”>
<noscript>
<p>Please enable JavaScript to use file uploader.</p> <!– or put a simple form for upload here –>
</noscript>
I try to desactivate all the plugin and to change theme to the basic twenty twelve, i have the same error.
I take the last version and nothing change.
The Url is :http://rfcp.fr and the password because i hide the site is : help-tips
And if you want to connect to the site, to see the page error just clic on connexion button in the header :
user: jaune8
pw: help-tips
the page error is the profil page: [http://rfcp.fr/profil/]
I already look for solution in the forum but i find nothing.
Thanks for help.
Jonathan
October 12, 2014 at 3:51 pm #66054wzpModeratorPlease disable the site password protection. The site password does not work, and the site password requirement is probably contributing to the problem.
October 12, 2014 at 7:41 pm #66055wzpModeratorUsing IE and Chrome, if I login, and go to the profile page; I do not see the error you describe. Other than logging in and going to the profile page, is there a specific action I must do to see the error (besides doing it with Safari)? Also, what kind of device are you running Safari on?
October 12, 2014 at 8:30 pm #66056jaune8MemberAh, you see the button for upload the image profile ?
I test on Firefox and Chrome and it’s the same, no button.
It’s not [http://rfcp.fr/espace-adherent/]
It’ ‘s this page [http://rfcp.fr/profil/]
Even in Chrome when i inspect htlm i see the error
October 12, 2014 at 10:05 pm #66057adminKeymasterThe javascript error is coming from the following line of code. That is not something we have in our plugin:
$(“#adherent-rfcp”).validationEngine(‘attach’);
Have you customized the code and introduced errors?
Please do the following:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
October 13, 2014 at 8:34 am #66058jaune8MemberYes this is this line
But i notice that is link to the add on form builder for Emember because “adherent-rfcp” is a form for this membership.
I also try with an other membership (jaune18) link to an other form builder “devenir adherent” :
TypeError: undefined is not a function (evaluating ‘$(“#devenir-membre”).validationEngine(‘attach’)’)
But in this form i don’t display the profile image so it’s not a problem this, but with the edit profile page
I continue to look for the solution.
October 13, 2014 at 9:44 am #66059jaune8MemberI find the problem ! wahouu
It was this line in my function.php
wp_register_script(‘jquery’,’http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js’, false, ”);
Now i see the button, fantastique !
Cool
-
AuthorPosts
- You must be logged in to reply to this topic.