[imp] IMP-CVS Compose-Sending Error
Steve Siegelman
ssiege2@emory.edu
Thu, 14 Mar 2002 14:37:11 -0500
Thanks for the reply Eric,
The only thing that puzzles me is that I did not upgrade PHP. I am running PHP
4.1.1 from the beginning.
The problem only started after applying the latest CVS code. The uploads were
working fine before the maintenance.
Steve
--
Steve Siegelman
Information Technology Division
Emory University
Quoting Eric Jon Rostetter <eric.rostetter@physics.utexas.edu>:
> Quoting Steve Siegelman <ssiege2@emory.edu>:
>
> > After applying I am having a problem sending an email which contains
> > attachments of a few mb.
>
> After upgrading from php 4.0.x to php 4.1.x I've noticed various problems
> with file uploading...
>
> > In IE, the compose screen disappears and I get the IE error page:
> >
> > The page cannot be displayed
> >
> > Cannot find server or DNS Error
> > Internet Explorer
> >
> > In Netscape, I get a popup window:
> >
> > The document contained no data
> >
> > In either case, the email does send fine.
>
> Yes, I've seen this with any kind of file upload after upgrading php.
> It is not a DNS problem obviously.
>
> > If I send a small email with no attachments, no problem.
> > If I send an email with small attachments of just kb, no problem.
>
> It seems to be related directly to file upload, and generally is
> size related...
>
> > I saw one posting with a similiar problem but no real conclusion.
>
> I was able to get around this by doing the following, none of which
> make any sense, but it solved the problem.
>
> 1) Make sure you have logging setup correctly. It makes no sense, but
> when logging wasn't setup right (I do all syslog, and not file
> logging -- not sure if that matters) I would get this error.
>
> 2) Check you php.ini settings for memory_limit, max_post_size or
> post_max_size (not sure which), and upload_max_filesize.
>
> In the past, if upload_max_filesize was xMB, you could upload files
> to xMB, even if memory_limit was smaller. This doesn't seem to work
> anymore. It apparently buffers the file in memory more, and hence
> if upload_max_filesize is 20MB, but memory_limit is 10MB, you won't
> get anything larger than 10MB or so. Not sure why, this is just my
> experience.
>
>
> > Has anyone else seen this problem or have a work around?
>
> I've seen very similar problems, and have a non-sensical work-around.
> Maybe it will work for you too?
>
> --
> Eric Jon Rostetter
> The Department of Physics
> The University of Texas at Austin
> Austin, Texas 78712-1081
>
> Office: RLM 7.126
> Telephone: 512-471-5821
> Email: eric.rostetter@physics.utexas.edu
>
> Fragen Sie nicht was Ihre Kumputer tun koennen,
> aber fragen Sie was Sie fur Ihre Kumputer koennen.
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>