Jump to content

Invalid upload filename. Valid filenames contain only alpha-numeric, dot, hyphen and underscor


mtk

Recommended Posts

Hey,

this started after the upgrade to 5.2.13. the server settings where not change and should not be changed (as suggested here: http://forum.whmcs.com/showthread.php?81942-problem-in-attachments-after-upgrading-to-5-2-13)

 

WHMCS does not accept 123.pdf or invoice.pdf, which are valid filenames!

 

Invalid upload filename. Valid filenames contain only alpha-numeric, dot, hyphen and underscore characters.

 

 

if a change was made to the software that requires a change on the server, then this should be publicly known!

Link to comment
Share on other sites

  • WHMCS CEO

Hi,

 

Please check to make sure that you don't have the "escapeshellcmd" function disabled in your PHP configuration. If you do, that is the most likely cause for seeing this error message with seemingly valid filenames. If you can enable it again that should take care of it for you.

 

Matt

Link to comment
Share on other sites

Hey,

this started after the upgrade to 5.2.13. the server settings where not change and should not be changed (as suggested here: http://forum.whmcs.com/showthread.php?81942-problem-in-attachments-after-upgrading-to-5-2-13)

 

WHMCS does not accept 123.pdf or invoice.pdf, which are valid filenames!

 

Invalid upload filename. Valid filenames contain only alpha-numeric, dot, hyphen and underscore characters.

 

 

if a change was made to the software that requires a change on the server, then this should be publicly known!

 

Try to update your PHP to 5.4.

Link to comment
Share on other sites

  • 2 weeks later...

HI,

 

I have same problem. This is the solution:

 

Please ensure that the escapeshellcmd function is not disabled by the disable_functions setting in your server's php.ini configuration file, as it is currently used during the attachment process and disabling it will cause this error. If you are unsure of how to check this, please contact your hosting provider/server administrator.

 

B.r.

Robert

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated