<?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>Message Previews causing blank page</title> 
  <pubDate>Fri, 10 Apr 2026 19:46:51 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8332</link> 
  <atom:link rel="self" type="application/rss+xml" title="Message Previews causing blank page" href="https://bugs.horde.org/ticket/8332/rss" /> 
  <description>Message Previews causing blank page</description> 
 
   
   
  <item> 
   <title>imp/lib/Mailbox.php - Line 189



For what reason i dont kno</title> 
   <description>imp/lib/Mailbox.php - Line 189



For what reason i dont know, when i have message previews turned on, i run out of php memory, ive tried allocating more ram to the php processes but when i get to around 256 it seems it gets into a loop and 100% cpu. Turning off php previews all is good again.



Ive been able to get previews to work again once i comment out line 189 in the file listed above to do with masks, im not sure what this is exactly for but it makes my previews work correctly.</description> 
   <pubDate>Mon, 08 Jun 2009 14:38:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54477</link> 
  </item> 
   
  <item> 
   <title>This makes no sense.  There is no way previews can be genera</title> 
   <description>This makes no sense.  There is no way previews can be generated *unless* those masks are set.  The preview generation function is only called within the MessageCache library, and only if those masks are set.



For us to debug, you will have to provide the exact location where this is failing for you since this works fine for everyone else.  Telling us that skipping a section of code works for you doesn&#039;t give us enough to debug,.</description> 
   <pubDate>Mon, 08 Jun 2009 18:20:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54487</link> 
  </item> 
   
  <item> 
   <title>This is the error line that happens when php.ini max mem is </title> 
   <description>This is the error line that happens when php.ini max mem is set to 32M



[Mon Jun 08 13:50:49 2009] [error] [client 10.0.0.5] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 33916424 bytes) in /var/www/html/horde/imp/lib/MIME/Contents.php on line 201, referer: http://mail.wenn.com/services/portal/sidebar.php







This is the error line that happens when php.ini max mem is set to 128M



[Mon Jun 08 13:51:50 2009] [error] [client 10.0.0.5] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 33916424 bytes) in /var/www/html/horde/lib/Horde/MIME/Part.php on line 305, referer: http://mail.wenn.com/services/portal/sidebar.php



When i put it to 256M to just check, apache hung with 100% cpu load until it timed out or i killed it.

</description> 
   <pubDate>Mon, 08 Jun 2009 18:48:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54489</link> 
  </item> 
   
  <item> 
   <title>&gt; This is the error line that happens when php.ini max mem i</title> 
   <description>&gt; This is the error line that happens when php.ini max mem is set to 32M

&gt;

&gt; [Mon Jun 08 13:50:49 2009] [error] [client 10.0.0.5] PHP Fatal error: 

&gt;  Allowed memory size of 33554432 bytes exhausted (tried to allocate 

&gt; 33916424 bytes) in /var/www/html/horde/imp/lib/MIME/Contents.php on 

&gt; line 201, referer: http://mail.wenn.com/services/portal/sidebar.php



You most likely have a bad message (or an excessively large, embedded MIME message) in your mailbox.  The IMAP/MIME support has been rewritten in 5.0 to help in situations like this, but this code will not be ported back to IMP 4.</description> 
   <pubDate>Mon, 08 Jun 2009 19:01:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54490</link> 
  </item> 
   
  <item> 
   <title>how do i get IMP5 i cant see it on the site, it is still dev</title> 
   <description>how do i get IMP5 i cant see it on the site, it is still devel</description> 
   <pubDate>Mon, 08 Jun 2009 19:16:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54491</link> 
  </item> 
   
  <item> 
   <title>I just checked though my mailbox, i had a 32Mb email.

Is th</title> 
   <description>I just checked though my mailbox, i had a 32Mb email.

Is there any way to limit and protect imp from trying excessivly large messages?</description> 
   <pubDate>Mon, 08 Jun 2009 19:22:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54492</link> 
  </item> 
   
  <item> 
   <title>&gt; I just checked though my mailbox, i had a 32Mb email.

&gt; I</title> 
   <description>&gt; I just checked though my mailbox, i had a 32Mb email.

&gt; Is there any way to limit and protect imp from trying excessivly 

&gt; large messages?



Only in IMP 5.  There is no way to limit the length of bodytext string returned from the IMAP server in IMP 4.</description> 
   <pubDate>Mon, 08 Jun 2009 19:56:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54493</link> 
  </item> 
   
  <item> 
   <title>I&#039;m not sure if this is the right place to put this, as the </title> 
   <description>I&#039;m not sure if this is the right place to put this, as the ticket is marked resolved, but we&#039;re having the same problem.  We upgraded from Horde 3.1 to 3.3.4 and Imp 4.2 to 4.3.4.  The problem is specifically tied to the preview function as when we turn that off everything is fine.  We&#039;ve tested previews on both setups and the older version works fine even when we include large messages in the test sample.</description> 
   <pubDate>Thu, 02 Jul 2009 21:47:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8332#t54778</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
