Re: Attachments broken in Squirrelmail 1.4.11 ?

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

 



> On 10/2/07, Pascal Maes <pascal.maes@xxxxxxxxxxxxxx> wrote:
>>
>> Le 2 oct. 07 à 21:43, Paul Lesniewski a écrit :
>>
>> > On 10/2/07, Pascal Maes <pascal.maes@xxxxxxxxxxxxxx> wrote:
>> >>
>> >> Le 2 oct. 07 à 09:03, Paul Lesniewski a écrit :
>> >>
>> >>> [...]
>> >>>
>> >>> All I can suggest is to show the HTML code for your compose screen
>> >>> after you have added one attachment.  After you capture that HTML,
>> >>> make sure adding another attachment or sending that message as is
>> >>> results in the loss of the attachment that had been added when you
>> >>> captured the HTML.
>> >
>> > Thanks for all the testing.  You didn't show the HTML, which would
>> > have been helpful.  It would be helpful to see the HTML of both after
>> > the first and second attach actions.
>> >
>> > However, some of this information was helpful, and it looks as if the
>> > problem might be in saveAttachedFiles().  I am attaching a patch to
>> > try.  Can you please revert all debugging changes and apply this
>> > patch?  I can't yet guarantee that this will solve the issue since I
>> > still cannot reproduce it.
>> >
>> >>> [...]
>>
>> Fine.
>>
>> It works.
>> I can send multiple attachments now.
>
> Thanks for the feedback.
>
> Can anyone else confirm this?

Very Good, it work for me too !

But I have an other trouble when I try to remove an attachment. When I
select an attachment to remove and clock on remove, I have this error :

Warning: filesize(): Stat failed for
/var/spool/squirrelmail/attach/gZjO5z7TQavWjVce8GufjqRzw42BSWaF (errno=2 -
No such file or directory) in /var/www/html/squirrelmail/src/compose.php
on line 1240

and after when I send the message I have :
Warning:
fopen(/var/spool/squirrelmail/attach/gZjO5z7TQavWjVce8GufjqRzw42BSWaF):
failed to open stream: No such file or directory in
/var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 180

Warning: fread(): supplied argument is not a valid stream resource in
/var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 182

Warning: fclose(): supplied argument is not a valid stream resource in
/var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 194

Warning:
fopen(/var/spool/squirrelmail/attach/gZjO5z7TQavWjVce8GufjqRzw42BSWaF):
failed to open stream: No such file or directory in
/var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 180

Warning: fread(): supplied argument is not a valid stream resource in
/var/www/html/squirrelmail/class/deliver/Deliver.class.php on line 182

Of course "gZjO5z7TQavWjVce8GufjqRzw42BSWaF" corresponding on disk to my
linked file.

The mail received contain the name of the removed file but the file is empty.

Any idea ?

regards


>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> --
> 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
>
>
>


-- 
Olivier MOULIN
http://olivier.ompm.net
ICQ N°48428547
MSN : omoulin@xxxxxxxxxxxxxxxx
Jabber : olivier@xxxxxxxx

Avec Linux tu as un Noyau, avec Windows tu as des pépins...



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
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