• Resolved mlapl1

    (@mlapl1)


    Hello
    Thanks for what I hope will help a lot.
    The secret link generated takes me to a “Hello world” post, not to the uploaded file.
    I am using WP 5.0.2 and PHP 7.2

    Thanks for any help.
    Andrew

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Please recheck your error.log in your server configuration, about any relative errors. If you can not find error.log file, please contact support of your hosting company about helping in finding this file.

    Please open the Secure downloads > Settings page and recheck that you correctly configured there settings, like secure key or secure hash for folder.

    Otherwise , probably, its because of conflict with some other plugin or actual theme.

    Please try to deactivate one by one all your active plugins at the WordPress > Plugins menu and make testing after each plugin deactivation.
    If its not help, please deactivate all your plugins and active the default WordPress theme. And then retest it again.
    We just need to find the reason of this issue.

    Kind Regards.

    Thread Starter mlapl1

    (@mlapl1)

    Thank you so much for your prompt answer. I do get an error message in my logs. Here it is (edited):

    [Sat Dec 22 13:51:19.599484 2018] [access_compat:error] [pid 7126:tid 140586526947072] [client XX.XX.XX.XX:34374] AH01797: client denied by server configuration: /var/www/vhosts/XYZ.com/httpdocs/zzzz/wp-content/uploads/opsd_VjYHcdpTCSxKBeWWLyfe/2018/12/XYZ-pdf-207×300.jpg, referer: https://XYZ.com/zzzz/wp-admin/admin.php?page=opsd-files&tab=add-files

    Thread Starter mlapl1

    (@mlapl1)

    Despite the error message: The files appear to have been correctly uploaded to: /var/www/vhosts/XYZ.com/httpdocs/zzzz/wp-content/uploads/opsd_VjYHcdpTCSxKBeWWLyfe/2018/12

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    It’s seems that during requesting this file from that folder via php request, there exist some restrictions. Probabaly it’s in the .htaccess or in php.ini file of your server configuration.
    As some other suggestion, please try to set different version of php (like php 7.0 or 7.1 and test it), may be issue, relative this this.
    Kind Regards.

    • This reply was modified 5 years, 11 months ago by wpdevelop.
    Thread Starter mlapl1

    (@mlapl1)

    The error message seems to occur when I upload the file (even though the file seems stored correctly). No error appears when I try to download the file (at least not in error_log).

    The LifterLMS plugin creates the problem with the Hello World post- but even when I deactivate it I get no file download or any activity. No error message as far as I can tell.

    Plugin Author wpdevelop

    (@wpdevelop)

    Just to recheck. Do you try to download this file via secret link from email (which you was sent from admin panel of plugin)?
    Otherwise, please try my suggestion about php versions to check, if possible.
    Kind Regards.

    Thread Starter mlapl1

    (@mlapl1)

    maybe in php.ini – not .htaccess (there is no .htaccess for the entire site).
    I will try to check the different versions of php

    Thread Starter mlapl1

    (@mlapl1)

    Tried to download from inside email and also directly. WIll try different versions of php

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.

    You need to use only the links from the emails for downloading such files. And. It the direct links to this file.

    The shortcodes for getting secret links on your emails you can check at the help section at the Settings > Emails page.
    Kind Regards.

    Thread Starter mlapl1

    (@mlapl1)

    Tried php 5.6.39 (FastCGI served by Apache). No change. Nothing seems to work. Sorry, I have run out of time. May try again later. Thanks for the help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Secret link creates Hello World Post’ is closed to new replies.