The Modal Login hangs. Must be an AJAX problem, The Login actually goes through, when I reload the page, I’m logged in, but it hangs in the UI
Demo details sent in a private message
Hello @otrok,
Hope you are well. Sorry for the inconvenience. Can you please enable/disable style/script
from Downloads > Settings > User interface
? please try also enable/disabling other plugins for checking, you may also switch theme to another for checking, please let me know then
thank you and regards
Hello again,
I checked my console: it seems the problem is the variable wpdm_asset in the file src/User/Views/modal-login-form.php, on line 115. It’s not defined anywhere. And even searching your codebase I don’t see the code that should define it.
Hope that helps to finally resolve this issue!
Ron
Hi Nayeem,
I have no idea how to solve this problem “on my side”. It seems to me, there is a bug in your codebase. In the file I mentioned above, the lines
} else {
$(‘#wpdmloginmodal-submit’).html(wpdm_asset.spinner+” “+res.message);
location.href = __lm_redirect_to;
}
But wpdm_asset is nowhere else in your codebase. I think you want to set it in download-manager.php about line 482.
$wpdm_js = array(
‘spinner’ ► ‘<i class=”fas fa-sun fa-spin”></i>’
);
$wpdm_js = apply_filters(“wpdm_js_vars”, $wpdm_js);
wp_localize_script(‘wpdm-frontjs’, ‘wpdm_url’, $this->wpdm_urls);
wp_localize_script(‘wpdm-frontjs’, ‘wpdm_js’, $wpdm_js);
I think here you use the name “wpdm_js” where in the other code you use “wpdm_asset”.
I think all you need to do is change the wpdm_asset in modal_login_form to wpdm_js. I hope this helps to resolve this issue.
Best Regards,
Ron
Hello Nayeem,
the login/registration does not work on my installation. I tried everything, but the process hangs when trying to log in or register. Not just the modal layer also the pages with the login/registration forms do not work.
Do you have an idea how to troubleshoot the problem.
The console gives me:
Uncaught TypeError: Cannot read properties of undefined (reading ‘message’)
at Object.error ((index):475)
at Object.F.error.F.error (jquery.form.min.js?ver=4.2.1:formatted:123)
at c (hdpop.js:3)
at Object.fireWith [as rejectWith] (hdpop.js:3)
at l (hdpop.js:3)
at XMLHttpRequest.<anonymous> (hdpop.js:3)
Can I get custom support, if I order the Pro-Version?
Thanks in advance!
Tom
Hello @slimmedia,
Hope you are well. And sorry for the inconvenience. can you please open a separate ticket for your issue, please? if possible, please, give your temporary wp-admin login details in a private reply for checking the issue.
Thank you and regards
please open a separate ticket for your issue and the mail issupport@wpdownloadmanager.com
. it is our formal address mail. you may use it and can give the credentials only.
Thank you and regards
Hello @slimmedia,
please check my attached image, I hope this will may help you
Thank you and regards
Hey Nayeem,
I think I found the problem. I’ll pass it on to you and the other users, so you can all have an eye out in future support sessions.
It was a plugin called “WP-SpamShield”. It was messing with der login-forms.
I thank you very much for you super quick responses and help you provided.
Greatly appreciated!
Have a great day, Tom E.
Now that Tom’s problem has been solved, we can hopefully return to the original topic of this thread: the modal login hangs because (I guess) in the file “modal-login-form.php” the name “wpdm_asset” should have been changed to “wpdm_js”. This is a one line fix, but it has prevented my from updating since 3.2.12.
Hello @otrok,
Hope you are well. Has the problem been resolved on your side? please let me know, I shall again look over your issue for solving.
Thank you and regards
This is the second time you have asked this in this thread, and my answer is the same. I think there is a bug in the code, the PHP is inconsistent with the JS. I do not think it’s a configuration problem.
I have some questions for you:
Have you looked at the files and lines I listed in my post from September 5? Are you saying that there is no problem there? Can you maybe tell me what should be setting wpdm_asset.spinner? Do you have a demo where I can see the modal login working in a version later than 3.12?
It’s really unfortunate that someone hijacked this thread, and gave it the illusion of progress being made. If I am correct in my analysis, this is something that is fixed by changing one line of code, and so it’s a bit frustrating that we are again at the “solve it on your side” stage. So I need to know if you’ve looked at the code and can confirm that the problem is on my side.
Hello @otrok,
Sorry for the inconvenience. our developers shall look over the snippet adjusted code you have provided and adjusted thereby
Thank you and regards
I have the same Problem. If I update to the latest version, the login does not work and I get the error with the “wpdm_asset”.
So I currently switched back to version 3.2.0.4 – but this is not a solution, because there are other bugs and when I try to get solutions I just should update to the latest version.
Hello everybody. I have exactly the same problem of the original thread in this topic: The Modal Login hangs. I’m using version 3.2.15 of the plugin and wordpress 5.8.1 . If somebody could share the solution it would be great. Thank you very much.
Hello @rozamorano,
Can you please open a separate ticket for your issue, please? We shall try to look over your issue
Thank you and regards
The topic ‘Modal Login Hangs’ is closed to new replies.