Re: [Re: Error on reading attachments in 1.5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>> On 5/21/07, Israel Bravo <bravo@xxxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>>  While trying to read or save attachments in SquirrelMail 1.5.1 they
>>>>> have
>>>>> some additional bytes and can't be opened. It was checked with JPEG,
>>>>> GIF,
>>>>> DOC files. HTML is opened fine.
>>>>>
>>>> SM 1.5.1 is an old unsupported development release.  Please try with
>>>> 1.5.2 and if the problem persists, repost.  Thanks.
>>>>
>>> Thank you, but the problem still persists.
>>>
>>
>> Are you sure that you have tested 1.5.2svn? SquirrelMail 1.5.2cvs fixed
>> possible corruption with linefeeds on 2006-08-02.
>>
>>
>
> Yes, I'm sure.
> It is squirrelmail-20070527_0000-SVN.devel.tar.bz2
>
>>> The difference of the image
>>> saved in Pine (Pine connects by IMAP, so it can't be dovecot error ! )
>>> and in SquirrelMail is in the first byte:
>>>
>>> Here is the file from Pine:  ff d8 ff e0 00 10 4a .....
>>> And from SM:  0a ff d8 ff e0 00 10 4a .....
>>>
>>> So the first byte is wrong.
>>>
>>
>> create backup of your SquirrelMail installation.
>>
>> check all functions/*.php files. If some file contains trailing '?>'
>> symbols, remove those two symbols.
>>
>> then do same thing for all files in class/ and include/ directories and
>> subdirectories.
>>
>> then remove trailing '?>' in src/download.php
>>
>> Test your setup and make sure that your changes haven't broke it. Then
>> check if attachments are still corrupted.
>>
>
> The "magic" manipulations didn't give any effect.
> Attached is my phpinfo file.

Please cast same magic to prepend.php script and all scripts loaded in it.
Script is somewhere in your include_path
(.:/Reserve/opt/lampstack/php/lib/php:/www/www_new/docs/incl:/Reserve/opt/lampstack/ZendFramework/library)

Could you make sure that you have same issue, when APC and eAccelerator 
extensions are disabled?

Please note that running SquirrelMail 1.4.8+ and 1.5.2+ in
register_globals = On setup is a guarantied way to get into trouble with
incorrectly coded plugins.

If you have plugins/compatibility plugin in your setup, test your setup
when plugin is renamed or removed. SquirrelMail loads it even when it is
not enabled in configuration.

-- 
Tomas


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux