FastClass stopped working - urgent help needed please
| From: | Robert Chalmers | Date: | Thu, 10 Feb 2000 06:54:57 +0000 |
| Subject: | FastClass stopped working - urgent help needed please | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10007@lists.php.net to get a copy of this message | ||
This worked fine under php3,
[snip]
include("class.FastTemplate.php3");
$tpl = new FastTemplate("./forms.php");
$tpl->define(array(vwr => "vwr.tpl"));
[snip]
But now under php4, I get these errors,
.....................
Warning: Failed opening 'class.FastTemplate.php3' for inclusion
(include_path='') in /usr/local/apache/share/htdocs/OrderPages/vwr.php3 on
line 19
Fatal error: Cannot instanciate non-existant class: fasttemplate in
/usr/local/apache/share/htdocs/OrderPages/vwr.php3 on line 20
.......................
Now I know kind of what its telling me, Line 19 is the
"include("class.FastTemplate.php3");" bit, but why the suddent failure.
This works fine under php3...
or have I forgotten something? Does forms.php HAVE to be named php3. Its
only an include after all? It could be text. Or is the path not getting to
it? Dashed if I can make it work
I'd really appreciate any input on this. I don't want to go back to php3
now.... and the shop is broken!!! Ohhh Noooo!
Thanks for any help
Regards
Robert
http://www.chalmers.com.au Clipart And Books
Art, Design and Graphics.