Your cart is currently empty!
Error on file upload: The filename is not acceptable
—
by
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!
Posted in Groups File Access
Comments
One response to “Error on file upload: The filename is not acceptable”
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,
George