Hi,
When we attempted to send email with an attachment, we see an error message.
Warning: mime_content_type(cache/upload/7e513217-5a9c-eda4-3fc5-4a002a843228) [function.mime-content-type]: failed to open stream: No such file or directory in /var/www/html/sugarcrm/modules/Emails/Email.php on line 317
while(1);/*{"composeLayoutId":"composeLayout1"}*/
The recipient can receive emails although the "compose email" screen does not change, giving the impression that the email is not sent successfully. There is no problem if the email does not have an attachment.
We then checked the cache directory and found the following file appears to have sufficient permissions rw-r--r apache:apach.
cache/upload/7e513217-5a9c-eda4-3fc5-4a002a843228
Chmod will not work in this case as the file appears to be generated every time when we attempted to send an email with an attachment. A refresh file will be re-generated with similar permissions when we tried to send the email again.
We checked our sugarcrm/config.php, we have the following default permissions.
default_permissions' =>
array (
'dir_mode' => 1528,
'file_mode' => 432,
'user' => 'apache',
'group' => 'apache
This appears to be correct. I also have run the following in the sugarCRM root directory.:
chown -R apache:apache *
chmod -R 770 *
Any idea how we can fix the problem?
regards
Brian


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks