I’m using [wpdm_user_dashboard signup=1] and there is a login window. After typing in username / password… login just keeps hanging with “Logging in…..”.
What do I need to do to fix this?
Hi Andy,
I am feeling sorry that you are experiencing such an issue.
Try updating your WordPress to the latest version and then check.
If that doesn’t help, would you please share your WP Admin login in a private message/reply and let me check the issue for you?
Looking forward to hearing from you.
Cheers!
Salahuddin Ahmed
Hi Andy,
Please check, its solved now.
I have just cleared the cache, things are working fine now.
Salahuddin Ahmed
I am having the same problem. Whenever a user tries to login the login just hangs loading and logading and the icon rotates on the login button but never passes them to the next page after login. If they refresh the browser it works fine and shows them logged in, but does not pass them to the correct next page as set up in the shortcode [wpdm_login_form redirect="https://macce.biz/members/file-library/"] …
This happens for admins or subscriber account levels.
I have emptied the cache in both browser and LiteSpeed caching plugin. Disabled various plugins, and also deactivated and reactivated WPDML plugin.
Please help!!!
Thanks!
Barry
Hi, I have the same problem too. I worked for a year, but since some days it hangs.
The console says:
TypeError: res.match is not a function. (In 'res.match(/success/)', 'res.match' is undefined)
Thanks for help!
I too have this issue and posted about it here: https://www.wpdownloadmanager.com/support/topic/login-hanging/
Still waiting for fix. But, there was an update today so maybe they fixed the issue???
Thanks for sharing Ryan and Tobias. I’m glad I’m not the only one. That said I hope this gets resolved ASAP! My users are getting frustrated 🙁
Thanks for sharing Ryan and Tobias. I’m glad I’m not the only one. That said I hope this gets resolved ASAP! My users are getting frustrated ?
Did you update the plugin and test again? I’m curious if the update from today resolved this.
I don’t see an update. Just refreshed the plugin in the settings section and don’t see any update available. I saw an update the other week, but not as of today. I am running version 5.0.1
I don’t see an update. Just refreshed the plugin in the settings section and don’t see any update available. I saw an update the other week, but not as of today. I am running version 5.0.1
There was an update to the FREE version today (11hrs ago) in the WP Repository:
3.0.2
• Improved asset manager root directory option
• Improved stats export options
• Fixed file sorting issue with all downloads table
Hi Barry & Tobias,
Please send temporary wp-admin login info in private reply to check the issue. If anyone else facing this issue please create a separate ticket or just keep an eye on this ticket.
Thanks.
I fixed it by myself … in wpmd-login-form.php i changed the following:
From:
if (!res.match(/success/)) {
To:
if (!res['success'] == true) {
Old:
success: function (res) {
if (!res.match(/success/)) {
$('form .alert-danger').hide();
$('#loginform').prepend("<div class='alert alert-danger' data-title='<?php _e('ERROR!','download-manager');?>'><?php _e('Login failed! Please re-check login info.','download-manager');?></div>");
$('#loginform-submit').html(llbl);
} else {
location.href = "<?php echo esc_attr(esc_url($log_redirect)); ?>";
}
}
New:
success: function(res) {
if (!res['success'] == true) {
$('form .alert-danger').hide();
$('#loginform').prepend("<div class='alert alert-danger' data-title='<?php _e('ERROR!','download-manager');?>'><?php _e('Login failed! Please re-check login info.','download-manager');?></div>");
$('#loginform-submit').html(llbl);
} else {
location.href = "<?php echo esc_attr(esc_url($log_redirect)); ?>";
}
}
But you have to know, that i use this file from an old version cause i have copied it into my theme-directory to customise the form.
But now it works …
That’s awesome Tobias!
I see the code if (!res.match(/success/)) {
is in two files named wpdm-be-memeber.php
Located here:
/download-manager/tpls/wpdm-be-memeber.php
And here:
/download-manager/tpls4/wpdm-be-memeber.php
I changed code and it still did not fix on my site. Glad it works for yours!
Shahriar, I will send you login credentials in private message next.
@Berry: What does the browser console tell you – when you try a login?
Hi Tobias. It shows this
(index):290 Uncaught ReferenceError: wpdm_asset is not defined
at Object.success ((index):290)
at Object.b.success (jquery.form.min.js?ver=4.2.1:1)
at i (jquery.min.js?ver=3.1.1:2)
at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.1.1:2)
at A (jquery.min.js?ver=3.1.1:4)
at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.1.1:4)
success @ (index):290
b.success @ jquery.form.min.js?ver=4.2.1:1
i @ jquery.min.js?ver=3.1.1:2
fireWith @ jquery.min.js?ver=3.1.1:2
A @ jquery.min.js?ver=3.1.1:4
(anonymous) @ jquery.min.js?ver=3.1.1:4
load (async)
send @ jquery.min.js?ver=3.1.1:4
ajax @ jquery.min.js?ver=3.1.1:4
a.ajax @ jquery-migrate-3.0.0.min.js?ver=3.0.0:2
a.fn.ajaxSubmit @ jquery.form.min.js?ver=4.2.1:1
(anonymous) @ (index):282
dispatch @ jquery.min.js?ver=3.1.1:3
q.handle @ jquery.min.js?ver=3.1.1:3
@Berry: Ok, this seems to be different to my problems! Maybe there is a conflict with your jQuery version. Maybe you can try to use a lower version of jQuery? But this is only an idea … please share your solution if the plugin-developer helped you successfully!
Ok, thanks Tobias. Much appreciate your thoughtfulness.
@Berry: In /tpls/wpdm-login-form.php you can try to comment out the following line. Just add // in front of the line.
//$('#loginform-submit').html(wpdm_asset.spinner+" "+res.message);
And please make these changes also in the /tpls4/wpdm-login-form.php
Ok, thanks Shafayet. What was the issue or code causing the problem. Mostly curious is all. Thanks again for your assistance!
it’s been couple days. Still waiting for that update.
The topic ‘Login Hangs’ is closed to new replies.