Invalid dir path on protected files

Viewing 16 posts - 1 through 16 (of 16 total)
#195040

jan wit
Participant

Hi,
When i try to download a password protected file i get this error: Invalid dir path

After removing the password protection, the file downloads without issue.

#195067

Tahasin
Moderator

Hello, jan wit

I hope you are doing well and sorry for the inconvenience.

Could you please deactivate all plugins temporarily except WPDM and see if that solves the problem. Then, activate the plugins one by one to see which plugin is causing the problem.

If the problem still persists then share the wp-login credential in a private reply to check the issue.

Regards

#195072

jan wit
Participant
This reply has been marked as private.
#195073

Tahasin
Moderator
This reply has been marked as private.
#195076

jan wit
Participant

Thanks, we just used a button with a link to the file.

You can see it on this page: https://www.sfeerrijk.nl/carneol-glass/

When you click the button (see image) the error appears.

button location

the page with the image https://nimb.ws/OAJfSjT

#195078

Tahasin
Moderator

Could you please tell me for which package you are using this button and did you uploaded it from here?

#195085

jan wit
Participant

No we did not, client just uploaded it into the media library, added the password and added the link to the file to the button.

Probably that is not the correct way to do this?

Regards

#195092

Tahasin
Moderator

Yes, this is not the recommended way. The directory path is not matching with the actual directory path mentioned here which causing the problem.

Regards

#195102

jan wit
Participant

i removed the last part of the path, so now it is only /home/sfeerrijk/public_html/

the file is at https://sfeerrijk.nl/wp-content/uploads/2024/04/Dutch-Order-Form-2024-jo-vegleges-2.xlsx

However i still get the issue.

#195106

Tahasin
Moderator
This reply has been marked as private.
#195133

jan wit
Participant

what do you mean by package name?
we just uploaded the file in the medialibrary, there was no ‘download package’ created

#195135

Tahasin
Moderator

Your problem has been resolved, kindly check

#195137

jan wit
Participant

now nothing happens when i click the button on the page, it is not downloading and not asking for the password

#195138

Tahasin
Moderator
This reply has been marked as private.
#195162

jan wit
Participant

sorry, was my popup blocker
i see it works on other browser
many thanks

#195180

Tahasin
Moderator

If you find my assistance valuable, I would greatly appreciate your support with a 5-star review here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post , it will inspire us a lot.

Viewing 16 posts - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.