[imp] Blank Page SOLUTION - WAS Re: [imp] Re: your imp problem - blank page for test.php

Henry Blackman h.blackman@chester.ac.uk
Wed, 9 Jan 2002 15:07:21 -0000


Quick correction...

The session handler name should of course be "files" and not "file".

Cheers,
Henry

----- Original Message -----
From: "Henry Blackman" <h.blackman@chester.ac.uk>
To: <imp@lists.horde.org>
Sent: Wednesday, January 09, 2002 2:57 PM
Subject: [imp] Blank Page SOLUTION - WAS Re: [imp] Re: your imp problem -
blank page for test.php


> Thanks Joe, but I've solved it.  At least here...
>
> My problem was that there were no errors and therefore no clues to a
> solution, so I found that if I changed line 11 in test.php from:
>
> @session_start();
>
> to:
>
> session_start();
>
> errors resulted.  It turns out that my php.ini file has the session
handler
> to "user" but with no session handler defined in the script (of course)!!
> So I changed it to session handler to "file" and the error went away and
hey
> presto it worked.
>
> Anyone else that has this problem I'd recommend taking the @ out so errors
> are shown and you can diagnose.
>
> Cheers,
> Henry
>
>
> ----- Original Message -----
> From: "Joe Hamelin" <joe@nethead.com>
> >
> > I'm running FreeBSD 4.2-RELEASE and PHP 4.1.1, all is working fine.
> >
> > You can take a look at: http://mail.nethead.com/horde/test.php
> >
> > If you're really stuck, I'll give you a login so you can take a look
> > around.
> >
> > -Joe
> >
> > --
> >  -----------------------------------------------------------------
> > | Joe Hamelin <joe@hamelin.edmonds.wa.us> Edmonds, Washington, US |
> >  -----------------------------------------------------------------
> >
> > On Wed, 9 Jan 2002, Henry Blackman wrote:
> >
> > :Yes, here's my configure command:
> > :
> > : './configure' '--with-imap=../imap-2000c'
> '--with-mysql=/usr/local/mysql'
> > :'--with-apache=../apache_1.3.22' '--with-gettext' '--with-xml'
> > :
> > :Just like the readme says.  I'm a bit lost where the lay the blame,
first
> > :FreeBSD; now I'm wondering if it's PHP 4.1.1 (MySQL 3.23.47 if you're
> > :interested).  I've had a problem with that segfaulting, or at least the
> > :apache 1.3.22 and PHP 4.1.1 combination when using user MySQL sessions.
> > :Right now, I'd be happy to lay the blame anywhere, but get it to work.
> > :
> > :Cheers for your insight though.
> > :
> > :Henry
> > :
> > :----- Original Message -----
> > :From: "Jeffrey Liu" <jliu@hanwave.net>
> > :
> > :> I ran across the same problem.
> > :>
> > :> Did you make sure that your php supports gettext?
> > :> (when you run configure for php4:  ./configure --with-gettext)
> > :
> > :
> > :
> > :
> >
> >
>
>
> --
> 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
>
>



>From jan@horde.org Date: Wed,  9 Jan 2002 16:19:15 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 77061 invoked from network); 9 Jan 2002 15:21:08 -0000
Received: from mailout06.sul.t-online.com (194.25.134.19)
  by clark.horde.org with SMTP; 9 Jan 2002 15:21:08 -0000
Received: from fwd05.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 16OKXK-0001e9-0A; Wed, 09 Jan 2002 16:21:06 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.45.67]) by fmrl05.sul.t-online.com
	with esmtp id 16OKX9-152uKeC; Wed, 9 Jan 2002 16:20:55 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g09FJH900553
	for <imp@lists.horde.org>; Wed, 9 Jan 2002 16:19:17 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@linux by linux.wg.de with HTTP;
	Wed,  9 Jan 2002 16:19:15 +0100
Message-ID: <1010589555.3c3c5f737579e@linux.wg.de>
Date: Wed,  9 Jan 2002 16:19:15 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <3C34EA23.4040807@medicine.nodak.edu> <20020104050416.GD7458@csh.rit.edu> <1010157445.3c35c78584fdd@jan.dip.ammma.net> <20020104160409.GA18408@csh.rit.edu> <20020106024019.GK26989@horde.org>
In-Reply-To: <20020106024019.GK26989@horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Compose "save a copy in" checkbox broke?

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jon Parise <jon@horde.org>:
> 
> > Yup, your fix is better.  As far as maintainability is concerned,
> > I think it would be keep all of a form's values local to the
> > script (i.e. compose.php and not in lib/*.php).
> 
> Was this (moving the code to compose.php) change made?

Done.

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::