Fekra IT Posted August 10, 2009 Share Posted August 10, 2009 My clients are not able to upload any type of attachments , upload is success but when i open the attached file it shows ' blank ' , What you think reason from ? I have submit ticket to WHMCS staff said upgrade your version to latest version am sure there is alternate solution , please share with me your experience with this 0 Quote Link to comment Share on other sites More sharing options...
Fekra IT Posted August 14, 2009 Author Share Posted August 14, 2009 ??????????????????????? 0 Quote Link to comment Share on other sites More sharing options...
WebWorker Posted September 16, 2009 Share Posted September 16, 2009 Under General Settings -> Support there is a field called "Allowed File Attachment Types" that you need to set to allow different file extensions. 0 Quote Link to comment Share on other sites More sharing options...
kipperjp Posted September 18, 2009 Share Posted September 18, 2009 I have the setting enabled with all the ext. but when I download them they are always corrupted. -John 0 Quote Link to comment Share on other sites More sharing options...
gupi Posted September 19, 2009 Share Posted September 19, 2009 As far as I have tested, it seems that if "attachments" folder is not writable, the file is not saved there, although an entry in the database (in tbltickets table) is created. Therefore, when trying to download the attachment, the "dl.php" function searches for an inexistant file, thus resulting a zero bytes download. In my case, setting the "attachments" folder to be writable by the web server solved the issue. 0 Quote Link to comment Share on other sites More sharing options...
kipperjp Posted September 19, 2009 Share Posted September 19, 2009 Attatchments are working now. The attachments folder itself was chmod 777 but the folder it was in was not. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted September 20, 2009 Share Posted September 20, 2009 Attatchments are working now. The attachments folder itself was chmod 777 but the folder it was in was not. Thanks! The permissions of the parent folder shouldn't affect the child folder - and realistically you should be able to get by with 755 permissions unless the provider is running WHMCS as DSO or CGI without any sort of suEXEC. 0 Quote Link to comment Share on other sites More sharing options...
kipperjp Posted September 20, 2009 Share Posted September 20, 2009 uhm, thats what I thought originally, but might be due to the fact the folder is outside of the web root. 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted September 21, 2009 Share Posted September 21, 2009 uhm, thats what I thought originally, but might be due to the fact the folder is outside of the web root. In the case: /home/youraccount/somefolder/attachments You can set /home/youraccount/somefolder to 000 permissions and set the /attachments to 755 and still access attachments. If the parent folder also affected the child folder then everything all the way down to / would have to be 755 or 777. I do guess that it's a moot point as long as it's working 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.