I found this error on squrrel web mail when attaching a file.
Cause:
This is a PHP problem of temporary upload directory.
Solution:
1. Go to the file php.ini
(you may find the file using command "locate php.ini") in ubuntu I found it at "/etc/php5/apache2/"
2 Open and search the file for word "upload"
(I used the command at terminal "nano /etc/php5/apache2/php.ini" | to search press "ctrl+w" | type "upload" | press enter.)
3 Uncomment the line "upload_tmp_dir" (remove semicolon ";" in front of line)
4 edit the line to show as "upload_tmp_dir = /tmp" (just type)
5 Save and exit ("ctrl+x" | press Y | press enter )
6 Make /tmp as writeable by apache or every one ("chmod 777 /tmp")
7 restart apache or whole machine.(/etc/init.d/apache2 restart)
Try attaching a file - should work :)
Ref : http://linux-as.blogspot.com/
Cause:
This is a PHP problem of temporary upload directory.
Solution:
1. Go to the file php.ini
(you may find the file using command "locate php.ini") in ubuntu I found it at "/etc/php5/apache2/"
2 Open and search the file for word "upload"
(I used the command at terminal "nano /etc/php5/apache2/php.ini" | to search press "ctrl+w" | type "upload" | press enter.)
3 Uncomment the line "upload_tmp_dir" (remove semicolon ";" in front of line)
4 edit the line to show as "upload_tmp_dir = /tmp" (just type)
5 Save and exit ("ctrl+x" | press Y | press enter )
6 Make /tmp as writeable by apache or every one ("chmod 777 /tmp")
7 restart apache or whole machine.(/etc/init.d/apache2 restart)
Try attaching a file - should work :)
Ref : http://linux-as.blogspot.com/