Re: [PHPLIB] index.php3 test page error... From: Kristian Koehntopp (kris <email protected>)
Date: 10/29/99

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.