RES: [imp] Help ! Erros to Attach files .exe, .zip ...

Darci Antonio Tartari dtartari@portoriogrande.com.br
Thu, 11 Jan 2001 09:23:02 -0200


 Here is the list error message I received when I tried to attach a file
called arj.exe (199kbs size). My upload_max_filesize is set to 10000 in
php.ini. 

Warning: Max file size of 100000 bytes exceeded - file [file_upload] not
saved in Unknown on line 0

Warning: Cannot add header information - headers already sent in
/usr/local/lib/php/session.inc on line 448

Warning: Cannot add header information - headers already sent in
/usr/local/lib/php/session.inc on line 449

Warning: Cannot add header information - headers already sent in
/usr/local/lib/php/session.inc on line 450

Warning: Cannot add header information - headers already sent in
/usr/local/share/doc/apache/horde/imp/templates/doctype.inc on line 8

Warning: Undefined variable: attachments_size in
/usr/local/share/doc/apache/horde/imp/compose.php3 on line 915


When I tried to attach a file called nassi.zip (1309kb size) I received this
error list. Seems to be a problem with upload_max_filesize in php.ini but in
my case I set it to 10000 and the files used to attach are less than this.  

Warning: Max file size of 100000 bytes exceeded - file [file_upload] not
saved in Unknown on line 0

Warning: Cannot add header information - headers already sent by (output
started at chuckmIMPlang=pt-BR;
HordeSession=bad9adaeaeaf6d791ca86bca889982df:7) in
/usr/local/lib/php/session.inc on line 448

Warning: Cannot add header information - headers already sent by (output
started at chuckmIMPlang=pt-BR;
HordeSession=bad9adaeaeaf6d791ca86bca889982df:7) in
/usr/local/lib/php/session.inc on line 449

Warning: Cannot add header information - headers already sent by (output
started at chuckmIMPlang=pt-BR;
HordeSession=bad9adaeaeaf6d791ca86bca889982df:7) in
/usr/local/lib/php/session.inc on line 450

Warning: Cannot add header information - headers already sent by (output
started at chuckmIMPlang=pt-BR;
HordeSession=bad9adaeaeaf6d791ca86bca889982df:7) in
/usr/local/share/doc/apache/horde/imp/templates/doctype.inc on line 8

Warning: Undefined variable: attachments_size in
/usr/local/share/doc/apache/horde/imp/compose.php3 on line 915



-----Mensagem original-----
De: Chuck Hagenbuch [mailto:chuck@horde.org]
Enviada em: quarta-feira, 10 de janeiro de 2001 19:29
Para: imp@lists.horde.org
Assunto: Re: [imp] Help ! Erros to Attach files .exe, .zip ... 


Quoting Darci Antonio Tartari <dtartari@portoriogrande.com.br>:

> Everythigs is working good except for a strange fact that happen when I
try
> to attach some kind of files to message. In fact, when attach files ended
> by
> .exe, .zip, .tar, .gz  I have erros,  but for files ended by .doc, .txt,
> .html, .gif  there is no problem.
> Who can explain how it happen ? Who can help me, please ? It is going to
> make me crazy !! I am using  Freebsd 4.1.1,  PHP 4.0.2, IMP 2.2.3 and IMAP

You're going to have to be much more specific - and list exact error
messages - 
for anyone to be able to help you. I just sent myself a zip file with no 
problems.

-chuck

Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues

-- 
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org


>From bary@isp.pl Date:   Thu, 11 Jan 2001 13:15:28 +0100
Return-Path: <bary@t19.ds.pwr.wroc.pl>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 47656 invoked from network); 11 Jan 2001 12:15:56 -0000
Received: from piast.t19.ds.pwr.wroc.pl (root@156.17.215.247)
  by horde.org with SMTP; 11 Jan 2001 12:15:56 -0000
Received: (from localhost user: 'bary', uid#1228)
	by piast.t19.ds.pwr.wroc.pl id <S116428AbRAKMP3>;
	Thu, 11 Jan 2001 13:15:29 +0100
Date:   Thu, 11 Jan 2001 13:15:28 +0100
Sender: Przemyslaw Barczuk <bary@t19.ds.pwr.wroc.pl>
From:   =?iso-8859-2?Q?Przemys=B3aw_Barczuk?= <bary@isp.pl>
To:     imp@lists.horde.org
Message-ID: <20010111131527.A27444@t19.ds.pwr.wroc.pl>
References: <20010110121251.A22077@t19.ds.pwr.wroc.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010110121251.A22077@t19.ds.pwr.wroc.pl>; from bary@isp.pl on Wed, Jan 10, 2001 at 12:12:51PM +0100
Subject: Re: [imp] IMP and PHP with sybase support

W Czwartek, 11 Lutego 2001  Przemysław Barczuk napisał(a):

> Hi.
>  I have to use php module compiled with sybase option. When I restart apache
> with new module IMP went and I can't login:
> 
> Jan 10 12:04:21 prex IMP[24989]: FAILED xxx.xxx.xxx.xxx to localhost:143 as
> bary 
> 
> What is going on ? Why IMP failed to login ? PHP an Mysql works fine and
> other .php works fine too.
> 

HI
I fixed it with compiling php --with-sybase-ct option.

Przemek