Re: Attachments broken in Squirrelmail 1.4.11 ?

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

 



Stop top-posting please.

On 10/1/07, z6 <z6@xxxxxxxxx> wrote:
> Nothing at all in the logs I'm afraid. In case it's relevant, that
> machine has a slightly old php-4.3.11, which is still ok for sm
> according to the release notes.
>
> I am also seeing the other problem - that as I attempt to add subsequent
> attachments each one replaces the previous one. Then when I attempt to
> send the mail it is sent without any.

In addition to the previous debug info, you can also try to find this
in src/compose.php around line 1203:

    if (is_object($composeMessage) && $composeMessage->entities)
        $attach_array = $composeMessage->entities;
    if ($session_expired && !empty($attachments) && is_array($attachments))
        $attach_array = $attachments;

Change it to:

    if (is_object($composeMessage) && $composeMessage->entities)
        $attach_array = $composeMessage->entities;
sm_print_r('ATTACH ARRAY:', $attach_array, "SESSION EXPIRED: $session_expired");
    if ($session_expired && !empty($attachments) && is_array($attachments))
        $attach_array = $attachments;

> Have just checked all the plugin versions, and updated to the latest
> (except quicksave - moving from 2.3.1 to 2.4.2 introduces "Call to
> undefined function:  reposition_plugin_on_hook() in
>  /usr/local/share/squirrelmail-1.4.11/plugins/quicksave/functions.php on
> line 212" but that's probably a different problem!)

You should post a new thread about it then.  The solution is that it
looks like you did not READ the Compatibility (no, not Quicksave)
plugin's INSTALL file and apply its patch.

> The only other
> update I did was compatibility, but no change to the attachment problem.
>
> C
>
>
> On 01/10/2007 18:37, Paul Lesniewski wrote:
> > On 10/1/07, z6 <z6@xxxxxxxxx> wrote:
> >
> >> Have just upgraded from 1.4.10a to 1.4.11, and all seems ok except
> >> attachments. All appears normal up to and including sending the mail, but
> >> it is sent without the attachment (and is stored in the Sent Items without
> >> it). The attachment is left lying in the attachment directory.
> >>
> >> Anyone else found this or have I done something silly?
> >>
> >
> > No, it seems to be something of an issue with the new release.  That
> > code was in fact modified.  It seems other people see that they can
> > send one attachment, but if they add a second one, only the last one
> > added is sent with the message.  I cannot reproduce any of these
> > problems.  Please check your error logs and send any PHP notices or
> > warnings or errors you may find when you add attachments or send
> > messages.
> >
> > Thanks

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