Speedy059 Posted June 18, 2009 Share Posted June 18, 2009 For some strange reason all of our clients attachments to their tickets or emails are being loaded as 0 bytes in size. This makes every attachment corrupt. Why aren't our clients able to upload their attachments into our WHMCS ticketing system? Any ideas what I can do to fix this, perhaps there is a module needed? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted June 18, 2009 Share Posted June 18, 2009 Hi, Are the files appearing in your attachments dir, and are you able to download them to view the attachments? If so it may be a simple permissions error. 0 Quote Link to comment Share on other sites More sharing options...
bubbasheeko Posted June 19, 2009 Share Posted June 19, 2009 Check the permissions on downloads folder in the whmcs installation directory. Also, check to make sure that the file type that was sent is an approved file type. Check Settings -> General -> Support. You will see the different allowed file types. 0 Quote Link to comment Share on other sites More sharing options...
Speedy059 Posted June 21, 2009 Author Share Posted June 21, 2009 I have the folder set to 0644 permission. The attachments are allowed as specified in the settings. And the attachments seem to be be fine as well, but in WHMCS they are showing up as 0 bytes. 0 Quote Link to comment Share on other sites More sharing options...
bubbasheeko Posted June 24, 2009 Share Posted June 24, 2009 Hi Speedy, 644? That's not writable. Try setting it to 766 and if that doesn't work 777 and see if it makes any difference. 0 Quote Link to comment Share on other sites More sharing options...
andrademc Posted June 30, 2009 Share Posted June 30, 2009 Hi! with me the problem is the same Any solution? 0 Quote Link to comment Share on other sites More sharing options...
nihkiruks Posted July 9, 2009 Share Posted July 9, 2009 Hi, If you change the permissions to files manually -- you'll be fine, but that doesn't fixes the problem. New attachments will be with wrong permissions: -rw------- 1 vpopmail wheel 4585 Jul 9 03:14 177332_korablik.jpg Any ideas? Regards, Sergey ------------------- SiteValley.com 0 Quote Link to comment Share on other sites More sharing options...
nihkiruks Posted July 21, 2009 Share Posted July 21, 2009 This is what solved it for us: | (umask 022; /usr/local/bin/php -q /www/DOMAINNAME/clients/pipe/pipe.php) We're using FreeBSD 7.2 + Qmail + Vpopmail. 0 Quote Link to comment Share on other sites More sharing options...
chrismfz Posted July 22, 2009 Share Posted July 22, 2009 We use suPHP. So 777 isn't necessary and it doesn't working at all. I have all directories including attachments and downloads with those perms: drwxr-xr-x 2 user group 4096 Jul 22 16:45 attachments/ drwxr-xr-x 2 user group 4096 May 24 01:32 downloads/ but still any attachment is a zero byte file. 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.