<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Attachment upload errors are not handled</title> 
  <pubDate>Fri, 10 Apr 2026 03:39:21 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7255</link> 
  <atom:link rel="self" type="application/rss+xml" title="Attachment upload errors are not handled" href="https://bugs.horde.org/ticket/7255/rss" /> 
  <description>Attachment upload errors are not handled</description> 
 
   
   
  <item> 
   <title>If I upload an attachment which leads of one of the followin</title> 
   <description>If I upload an attachment which leads of one of the following errors during upload, no error message is shown to the user:



PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 14340020 bytes



or



PHP Warning:  POST Content-Length of 35076780 bytes exceeds the limit of 33554432 bytes



Even if the upload itself worked it is still possible that the first error occurs while you send the mail. It would be nice if the user gets an error message shown.

</description> 
   <pubDate>Fri, 29 Aug 2008 07:58:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7255#t48541</link> 
  </item> 
   
  <item> 
   <title>It&#039;s a fatal error. That means that any PHP execution halts.</title> 
   <description>It&#039;s a fatal error. That means that any PHP execution halts. Nothing we can do about it.</description> 
   <pubDate>Fri, 29 Aug 2008 09:52:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7255#t48545</link> 
  </item> 
   
  <item> 
   <title>The warning is fatal too?



I thought it is possible with j</title> 
   <description>The warning is fatal too?



I thought it is possible with java script to get the size of the upload before it is completely uploaded. With this value DIMP could check against the maximum it can handle and stop the upload within seconds and report an error message to the user. Or the admin could configure a maximum upload size, against this is checked. Specially the post size warning would not happen if the system is configured correctly.</description> 
   <pubDate>Fri, 29 Aug 2008 09:59:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7255#t48546</link> 
  </item> 
   
  <item> 
   <title>This has nothing to do with attachments sizes directly, the </title> 
   <description>This has nothing to do with attachments sizes directly, the problem is the POST limit. Check the mailing list archives.</description> 
   <pubDate>Fri, 29 Aug 2008 10:13:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7255#t48548</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
