#2509 Can not attach files

closed-fixed
Compose (426)
5
2007-10-07
2007-10-01
Simon Matter
No

Since upgrading to 1.4.11 I can't attach a file when composing a message. I can attach a file but when I send the message no attachment is sent with the mail. Also while in the compose window, I can attach one file, then attach a second file and the first file simply disappears. I have a heavily patches squirrelmail rpm but tried a vanilla install of 1.4.11 with the same result. My system is RHEL4 with php-4.3.9.

Discussion

<< < 1 2 3 > >> (Page 2 of 3)
  • Logged In: YES
    user_id=620333
    Originator: NO

    This additional scenario is also broken in PHP 5.x too. Attached is a patch to fix both issues.
    File Added: 1805471_composeattach.patch

     
  • SajtXL
    SajtXL
    2007-10-03

    Logged In: YES
    user_id=1903107
    Originator: NO

    Sorry for my bad knowledge, but how can I add this patch?

     
  • Logged In: YES
    user_id=620333
    Originator: NO

    Download the file to somewhere on the server, then from inside the root of the SquirrelMail directory (where src, class, etc can be seen), type:

    patch -p0 < /path/to/patch/1805471_composeattach.patch

    You should then see two lines come back that say it has updated compose.php, and addrbook_search_html.php.

     
  • Liviu Daia
    Liviu Daia
    2007-10-03

    Logged In: YES
    user_id=1272638
    Originator: NO

    That's it, the patch seems to fix the problem. Thank you for the quick response!

     
  • SajtXL
    SajtXL
    2007-10-03

    Logged In: YES
    user_id=1903107
    Originator: NO

    Thank You, works perfect.

     
  • Fix ability to add multiple attachments in 1.4.11

     
  • Logged In: YES
    user_id=508228
    Originator: NO

    Attached is a patch I suggest that cleans up the use of compose_messages a little more completely.
    File Added: 1.4.11_compose_attachments.patch

     
  • Simon Matter
    Simon Matter
    2007-10-04

    Logged In: YES
    user_id=947548
    Originator: YES

    I tried the updated patch 1.4.11_compose_attachments.patch and it seems to work fine for me, thanks.

     
  • Logged In: YES
    user_id=620333
    Originator: NO

    This bug has been resolved.

    Please pull the latest version from the appropriate development
    tree CVS to fix your bug.

    Thank you for your help in resolving this issue.

     
    • status: open --> closed-fixed
     
<< < 1 2 3 > >> (Page 2 of 3)