Login Hangs

Viewing 25 posts - 1 through 25 (of 27 total)
#98477
#98479

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

#98481

CUNY K16
Member
This reply has been marked as private.
#98503
This reply has been marked as private.
#98509

Hi Andy,

Please check, its solved now.

I have just cleared the cache, things are working fine now.

Salahuddin Ahmed

#98572

CUNY K16
Member

THANK YOU SO MUCH!

#112563

Barry Costa
Participant

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!!!

Home

Thanks!
Barry

#112585

Tobias Battenberg
Participant

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!

#112591

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???

#112593

Barry Costa
Participant

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 🙁

#112598

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.

#112600

Barry Costa
Participant

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

#112603

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

#112691

Shahriar
Moderator

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.

#112696

Tobias Battenberg
Participant

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 …

#112705

Barry Costa
Participant

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.

#112706

Tobias Battenberg
Participant

@Berry: What does the browser console tell you – when you try a login?

#112707

Barry Costa
Participant
This reply has been marked as private.
#112708

Barry Costa
Participant

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
#112709

Tobias Battenberg
Participant

@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!

#112710

Barry Costa
Participant

Ok, thanks Tobias. Much appreciate your thoughtfulness.

#112711

Tobias Battenberg
Participant

@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

#112738

Shafayet
Moderator

@Barry Costa, we have fixed the issue, also updated in your site. The new update of wpdm will be released with next 24 hours.


@Tobias
Battenberg, Thanks 🙂

#112770

Barry Costa
Participant

Ok, thanks Shafayet. What was the issue or code causing the problem. Mostly curious is all. Thanks again for your assistance!

#112972

CUNY K16
Member

it’s been couple days. Still waiting for that update.

Viewing 25 posts - 1 through 25 (of 27 total)

The topic ‘Login Hangs’ is closed to new replies.