Downloads via Groups File Access do not work.

When trying to load a file via a link, such as https://gefra-lennestadt.com/?gfid=27, nothing happens. The Developer Tools show the error “[HTTP/2 500 Internal Server Error 360ms]”.
If I take the user or file from the authorized group, the correct error message “Forbidden – You don’t have permission to access this resource on this server.” appears.
Downloads that are not protected by Groups File Access work fine. e.g. https://gefra-lennestadt.com/wp-content/uploads/2022/04/Broschüre-GEFRA-Wohn-Flex-Konzept.pdf.

For testing you can register here: https://gefra-lennestadt.com/registrierung/
The login is here: https://gefra-lennestadt.com/login/
The protected downloads are here: https://gefra-lennestadt.com/exposes/

Do you have any advice on how to fix this error?

Thank you very much for your support.

Best regards
Jochen


Comments

2 responses to “Downloads via Groups File Access do not work.”

  1. Eugen Bleck Avatar
    Eugen Bleck

    Hi Jochen,

    Good afternoon. I trust you are well and safe!

    The server issue seems to be fixed. I also went ahead to update the permalinks. Please watch the screen recording below.

    * Video

    Once again, I must thank you for reaching out and I remain available to help if you have any further inquiries.

    STAY SAFE and I wish you a very fine and productive day ahead!
    Best,
    Eugen.

  2. Eugen Bleck Avatar
    Eugen Bleck

    Hi Jochen,

    Good afternoon. I trust you are well and safe!

    Thank you so much for reaching out and for asking your question.

    Regarding your inquiry, the HTTP 500 response code indicates something might be wrong at the server level. Please can you share admin logins to the site here: eugen [at] itthinx [dot] com. I would like to take a closer look. Furthermore, please can you enable WordPress debugging on the site and share the debug.log file with me.

    If you are not familiar with WordPress debugging, here’s how to go about it:

    In your site’s wp-config.php (this file is located in the root folder of your site) enable WordPress debugging and specific debugging for the extension by adding these lines:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    This will log any PHP notices, warnings, and errors to the log file. The log file typically resides in wp-content/debug.log.

    Once again, I must thank you for reaching out and I remain available to help if you have any further inquiries.

    STAY SAFE and I wish you a very fine and productive day ahead!
    Best,
    Eugen.

Share