[Tickets #9644] Re: Every message displays as empty
bugs at horde.org
bugs at horde.org
Tue Mar 15 02:50:14 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9644
------------------------------------------------------------------------------
Ticket | 9644
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Every message displays as empty
Queue | IMP
Version | 5.0-ALPHA1
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2011-03-15 02:50) wrote:
> Confirmed, problem and solution. This is on Ubuntu 8.04 LTS eg. PHP
> 5.2.4-2ubuntu5.14
Now we're getting somewhere... namely that your PHP installations are broken.
There is NO need to rewind the data stream at the code location
mentioned. I have verified that the stream is not rewound on my
installation, and I see everything just fine. The stream is only
rewound when needed in Horde_Imap_Client_Data_Fetch.
Can you try running this test script on your machine?
<?php
$a = fopen('php://temp', 'w+');
fwrite($a, 'A');
print stream_get_contents($a, -1, 0) . "\n";
This should return 'A'. I'm guessing on your machine it will return
nothing (i.e. stream_get_contents() is broken).
More information about the bugs
mailing list