Re: Attachments broken in Squirrelmail 1.4.11 ?

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

 



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Olivier
>
>> Olivier MOULIN wrote:
>>> 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
>
>> This would suggest that it did delete the attachment, but didn't update
>> the associated attachment array in the compose screen.  Can you try some
>> debug code for me?
>
> I've not received any updates on this issue, can you please provide
> some feedback?

Hi Jon,

  Sorry but I didn't have enough time to test...
I took time this WE.

Below the results :

Array
(
    [0] => 1
)


Array
(
    [0] => message Object
        (
            [rfc822_header] =>
            [mime_header] => messageheader Object
                (
                    [type0] => text
                    [type1] => html
                    [parameters] => Array
                        (
                            [name] => Chroot-BIND-HOWTO.html
                        )

                    [id] => 0
                    [description] =>
                    [encoding] =>
                    [size] => 0
                    [md5] =>
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => Chroot-BIND-HOWTO.html
                                )

                        )

                    [language] =>
                )

            [flags] =>
            [type0] =>
            [type1] =>
            [entities] => Array
                (
                )

            [entity_id] =>
            [parent_ent] =>
            [entity] =>
            [parent] =>
            [decoded_body] =>
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] =>
            [offset] => 0
            [length] => 0
            [att_local_name] => o68JwjYCDGmAZ7bOnwV8kB6vfztLSlCn
        )

    [1] => message Object
        (
            [rfc822_header] =>
            [mime_header] => messageheader Object
                (
                    [type0] => text
                    [type1] => html
                    [parameters] => Array
                        (
                            [name] => securiser un serveur de nom.html
                        )

                    [id] => 0
                    [description] =>
                    [encoding] =>
                    [size] => 0
                    [md5] =>
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => securiser un serveur de
nom.html
                                )

                        )

                    [language] =>
                )

            [flags] =>
            [type0] =>
            [type1] =>
            [entities] => Array
                (
                )

            [entity_id] =>
            [parent_ent] =>
            [entity] =>
            [parent] =>
            [decoded_body] =>
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] =>
            [offset] => 0
            [length] => 0
            [att_local_name] => C7Ry1odJEUK3OdP1PlHk34FcxQsJJGfP
        )

)


Deleting attachment 1
Removing entity 1
...
[See caption1.jpg]
...
Array
(
    [0] => message Object
        (
            [rfc822_header] =>
            [mime_header] => messageheader Object
                (
                    [type0] => text
                    [type1] => html
                    [parameters] => Array
                        (
                            [name] => Chroot-BIND-HOWTO.html
                        )

                    [id] => 0
                    [description] =>
                    [encoding] =>
                    [size] => 0
                    [md5] =>
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => Chroot-BIND-HOWTO.html
                                )

                        )

                    [language] =>
                )

            [flags] =>
            [type0] =>
            [type1] =>
            [entities] => Array
                (
                )

            [entity_id] =>
            [parent_ent] =>
            [entity] =>
            [parent] =>
            [decoded_body] =>
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] =>
            [offset] => 0
            [length] => 0
            [att_local_name] => o68JwjYCDGmAZ7bOnwV8kB6vfztLSlCn
        )

    [1] => message Object
        (
            [rfc822_header] =>
            [mime_header] => messageheader Object
                (
                    [type0] => text
                    [type1] => html
                    [parameters] => Array
                        (
                            [name] => securiser un serveur de nom.html
                        )

                    [id] => 0
                    [description] =>
                    [encoding] =>
                    [size] => 0
                    [md5] =>
                    [disposition] => disposition Object
                        (
                            [name] => attachment
                            [properties] => Array
                                (
                                    [filename] => securiser un serveur de
nom.html
                                )

                        )

                    [language] =>
                )

            [flags] =>
            [type0] =>
            [type1] =>
            [entities] => Array
                (
                )

            [entity_id] =>
            [parent_ent] =>
            [entity] =>
            [parent] =>
            [decoded_body] =>
            [is_seen] => 0
            [is_answered] => 0
            [is_deleted] => 0
            [is_flagged] => 0
            [is_mdnsent] => 0
            [body_part] =>
            [offset] => 0
            [length] => 0
            [att_local_name] => C7Ry1odJEUK3OdP1PlHk34FcxQsJJGfP
        )

)



>
> - --
> Jon Angliss
> <jon@xxxxxxxxxxxxxxxx
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
>
> iD8DBQFHFe9qK4PoFPj9H3MRAgiFAKCG6jzT8ZWyaAlF9Xn0OUZQ3ZVE0QCfSdva
> adJ/pE0Wgl3PbEXAG8QW5Gw=
> =5u5j
> -----END PGP SIGNATURE-----
>
>
>
>


-- 
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...

Attachment: caption1.jpg
Description: JPEG image

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
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