RE: [phplib] Trying use teh knowledge base app from "Web Applicat ion Development with PHP 4.0" From: Brian Popp (bpopp <email protected>)
Date: 01/09/01

The template.inc file doesn't automatically get included in the prepend.php
file that is part of the PHPLib installation. You have to go in there and
add it manually.

Alternatively, you could add - include "template.inc"; - to the top of all
your source files that reference Template (this is assuming your phplib
directory has been added to your php include path).

-----Original Message-----
From: Fernando Medina, Jr. [mailto:fmedina <email protected>]
Sent: Tuesday, January 09, 2001 2:00 PM
To: phplib <email protected>
Subject: [phplib] Trying use teh knowledge base app from "Web
Application Development with PHP 4.0"

I installed the app from the phpwizard web site, I had phplin running, at
least acording to the test app that comes with php lib. I am running Apache
1.3.12, PHP 4.0.3, and phplib 7.2. I keep getting:

Fatal error: Cannot instantiate non-existent class: template in
/home/httpd/html/kr/index.php on line 14

I checked the include paths and they are ok...

when I try to open index.php for the app. Has anyone by any chance run that
app from the book? thanks,

---
Fernando Medina, Jr.
<fmedina <email protected>>
Grupo Financiero Pacific

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>