Error on file upload: The filename is not acceptable

After successfully installing the plugin, when I upload a file with an acceptable name like “a.txt”, I get this error:

“The filename is not acceptable”

I see this error no matter what the filename is. Names that worked previously don’t work.

How do I fix this issue? Thanks!

One Response to Error on file upload: The filename is not acceptable

  1. George December 29, 2021 at 1:29 pm #

    Hi Suresh,

    Many thanks for using Groups File Access plugin on your site.

    Sorry to hear that you have issues when uploading files, but the error message you get appears when the filename is not valid, its filename length is zero or in general if it consists of invalid characters.
    Please enable WP debugging, then rename a file for upload and try to upload it again. Is there anything logged in your debug.log file?

    To enable debugging, edit your wp-config.php file and replace this line: 

    define( ‘WP_DEBUG’, false );

    with these lines:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    All logs will be stored in your site’s root folder under wp-content/debug.log file.

    Kind regards,

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account