[imp] Zero-length attachments

Roger B.A. Klorese rogerk at queernet.org
Tue May 27 14:53:20 PDT 2003


> From: imp-bounces at lists.horde.org 
> [mailto:imp-bounces at lists.horde.org] On Behalf Of Jan Schneider
> Sent: Tuesday, May 27, 2003 2:45 PM
> To: imp at lists.horde.org
> Subject: RE: [imp] Zero-length attachments
> 
> 
> Zitat von "Roger B.A. Klorese" <rogerk at queernet.org>:
> 
> > > From: imp-bounces at lists.horde.org
> > >
> > >
> > > Quoting "Roger B.A. Klorese" <rogerk at queernet.org>:
> > >
> > > > That doesn't really work well because of the need for the
> > > rest of the
> > > > apps to be *within* /horde, does it?
> > >
> > > There is no such requirement.
> >
> > Then what am I to make of this at ~line 27 of imp/lib/base.php:
> >
> > // Find the base file path of Horde
> > @define('HORDE_BASE', dirname(__FILE__) . '/../..');
> 
> This line should become:
> @define('HORDE_BASE', dirname(__FILE__) . '/../../horde');
> 
> > // Find the base file path of IMP
> > @define('IMP_BASE', dirname(__FILE__) . '/..');

1) In all cases, or only in my non-rooted-in-horde case?

2) This change results in the following on the login screen:

Notice: Undefined index: alternate_login in
/var/www/html/horde-20030526/imp/login.php on line 99

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/html/horde-20030526/imp/login.php:99) in
/var/www/html/horde-20030526/horde/lib/Secret.php on line 122

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/html/horde-20030526/imp/login.php:99) in
/var/www/html/horde-20030526/horde/templates/common-header.inc on line 3

Warning: Cannot modify header information - headers already sent by
(output started at /var/www/html/horde-20030526/imp/login.php:99) in
/var/www/html/horde-20030526/horde/templates/common-header.inc on line 4

 Welcome to OPG Horde 
login
 

Notice: Undefined variable: guestapps in
/var/www/html/horde-20030526/horde/templates/login/login.inc on line 68

Notice: Undefined variable: problem in
/var/www/html/horde-20030526/horde/templates/login/login.inc on line 68
 Username   
Password   

Fatal error: Call to a member function on a non-object in
/var/www/html/horde-20030526/horde/templates/login/login.inc on line 85
 



More information about the imp mailing list