Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: SANKAR on October 23, 2001, 07:49:53 AM

Title: Webmail Upload not working in SME 5
Post by: SANKAR on October 23, 2001, 07:49:53 AM
I am getting the following error when I try to upload an attachment which is
more than 2mb. I changed the upload_size to 10mb,max_execution_time to
100sec(PHP Script), in php.ini file. But still the error appears. Any help is
appreciated.

Error
-------

Fatal error: Maximum execution time of 30 seconds exceeded in /home/httpd/html/horde/lib/horde.lib on line 1126
Title: Re: Webmail Upload not working in SME 5
Post by: Darrell May on October 23, 2001, 08:52:06 AM
Follow this Howto:

http://myezserver.com/docs/mitel/webmail-attachment-size-howto.html

Darrell
Title: Re: Webmail Upload not working in SME 5
Post by: SANKAR on October 25, 2001, 10:27:51 AM
Darrell,

          I tried the following after following the URL you gave
# Settings to increase PHP webmail attachment size
post_max_size = 10M
upload_max_filesize = 10M
max_execution_time = 1800
memory_limit = 100M

Then restart httpd:

/etc/rc.d/init.d/httpd-e-smith restart

It works for files less than 1 meg. But If I try more than 1 meg I get
"Navigation Cancelled" .
Title: Re: Webmail Upload not working in SME 5
Post by: SANKAR on October 25, 2001, 10:33:40 AM
Darrell,

         After the "Navigation Cancelled" message I get a email from
root@xxx.com to my inbox with  Cc "recipient list not shown"@, @.

Sankar
Title: Re: Webmail Upload not working in SME 5
Post by: SANKAR on October 25, 2001, 10:58:42 AM
Sometimes after I hit the "Send Message" tab I have to wait for long time.
Then I will get the popup menu "New mail from root@xxx.com". When I hit
Ok to that and then I try again to hit the "Send Message" tab I get the
following error. The attachment I am trying upload is 5meg.

Warning: fopen("/tmp/att.SX5MgP","r") - No such file or directory in /home/httpd/html/horde/imp/compose.php3 on line 586

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/html/horde/imp/compose.php3 on line 587

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/html/horde/imp/compose.php3 on line 588

Warning: Unlink failed (No such file or directory) in /home/httpd/html/horde/imp/compose.php3 on line 589
Title: Re: Webmail Upload not working in SME 5
Post by: vnt on October 25, 2001, 02:54:19 PM
Sankar,

I also have the same problem.  Hopefully, this bug will be fix soon.
Title: Re: Webmail Upload not working in SME 5
Post by: Miguel on October 30, 2001, 02:47:57 PM
Anyone solved this problem after all? Or this is a serios bug and have no chance to upload files bigger than 100K.? Because I have the same problem uploading files on top of that size.

Thanks
Title: Re: Webmail Upload not working in SME 5
Post by: Gert-Jan Verheij on November 27, 2001, 12:47:31 AM
Hello,

I have the problem also.... do anyone have a solution?

Gert-Jan