Date: 10/29/99
- Next message: Sam C. Nicholson !!: "Re: [PHPLIB] making an auth that uses LDAP"
- Previous message: Saillard Luc: "[PHPLIB] Function nextid() with PostgreSql"
- Next in thread: Daniel Cunningham: "Re: [PHPLIB] index.php3 test page error..."
- Reply: Daniel Cunningham: "Re: [PHPLIB] index.php3 test page error..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jack Lauman wrote:
>
> If I put the statement:
>
> 'auto_prepend_file = "/home/httpd/php/prepend.php3"
>
> in the php.ini file ALL currently working PHP pages cause the browser
> to report "The document contained no data. etc."
>
> I have tried editing the PHPLIB index.php3 file to include the "prepend.
> php3" file manually and it produces the same error. It appears that no
> include or require statements will work at all.
>
> I would appreciate any help in resolving this problem. At this point I
> haven't got a clue as to whats wrong.
>
> Regards,
>
> Jack Lauman
>
> Kristian Koehntopp wrote:
> >
> > On Thu, Oct 28, 1999 at 04:42:34PM -0700, Jack Lauman wrote:
> > > Fatal error: Call to undefined function: page_open() in
> > > /home/httpd/www/index.php3 on line 16
> >
> > The page_open() function is defined in page.inc, which in turn
> > is included from prepend.php3. prepend.php3 is not found,
> > resulting in an error.
> >
> > > include_path = ".:/home/httpd/php:/home/httpd/php/phorum"
> > > doc_root = "/home/httpd/www"
> > >
> > > 1. Is this the correct installation location, the doc's said to
> > > install it parallel to the Apache document root?
> >
> > Yes, this is recommended.
> >
> > > 2. Is the syntax correct, including quotes?
> >
> > Yes.
> >
> > > 3. The php.ini variable 'auto_prepend_file =' set to prepend.php3
> > > causes the following error when accessing a page:
> >
> > Use a full pathname, as in 'auto_prepend_file =
> > "/home/httpd/php/prepend.php3"'. So do I.
> >
> > Kristian
> >
> > -
> > PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> > To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> > the body, not the subject, of your message.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Sam C. Nicholson !!: "Re: [PHPLIB] making an auth that uses LDAP"
- Previous message: Saillard Luc: "[PHPLIB] Function nextid() with PostgreSql"
- Next in thread: Daniel Cunningham: "Re: [PHPLIB] index.php3 test page error..."
- Reply: Daniel Cunningham: "Re: [PHPLIB] index.php3 test page error..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

