Ok, I did get it working, although I'm not entirely sure how.
I believe it has something to do with which options are compiled into php4.

I went through and removed all items I wasn't directly using for certain
(Direct I/O, for example), and after the recompile, it started working.

This is a production box for me (I know, shame on me for not having a
backup system to test updates), otherwise, I'd go through the exercise of
determining which parts of php4 "break" this.

I did have this problem before and resolved it, figuring it to be a build
issue (ie, user-error).  I believe I made the same changes back then (the
"why include it if you're not using it") decision.

I compiled my working php4 with the following options/features:
WITH_BCMATH=yes
WITH_BZIP2=yes
WITH_CTYPE=yes
WITH_CURL=yes
WITH_FTP=yes
WITH_GD=yes
WITH_GETTEXT=yes
WITH_IMAP=yes
WITH_MCRYPT=yes
WITH_MHASH=yes
WITH_MIME=yes
WITH_MYSQL=yes
WITH_NCURSES=yes
WITH_OVERLOAD=yes
WITH_PCNTL=yes
WITH_PCRE=yes
WITH_PDFLIB=yes
WITH_POSIX=yes
WITH_PSPELL=yes
WITH_READLINE=yes
WITH_SESSION=yes
WITH_SHMOP=yes
WITH_SOCKETS=yes
WITH_TOKENIZER=yes
WITH_XML=yes
WITH_ZIP=yes
WITH_ZLIB=yes

It might be related to one of these features (with these compiled in, I
had the issues)
Crack
Direct I/O
DOMXML
DOMXSLT
MBSTRING (Multi-Byte String)
OpenSSL
XSLT support

My money would be on Direct I/O or Multi-Byte String.

Of course, it could be just coincidence, as well... but, I started
noticing the problem with the introduction of Direct I/O (as a feature).

Hope that helps if others are seeing the same issue.
L8r.

Brian 8)

>
>> Turned up the php debugging and pointed the logfile at useful location:
>>
>> PHP Notice:  Undefined index:  attachfile in
>> /usr/local/www/squirrelmail/src/compose.php on line 1268
>>
>> Also, I'm running on Apache2 (latest FreeBSD port).
>
> This poster had same problem several months ago, but no replies.  You
> may want to ping him.
>
> http://article.gmane.org/gmane.mail.squirrelmail.user/15528/match=index+attachfile
>
> You can also do some debugging of your own by dumping the contents of
> $_FILES in compose.php... try placing this in compose.php around where
> the other HTML output is being sent to the browser:
>
> sm_print_r($_FILES);
>
> Please inform us here if you find the solution.
>


-- 



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to