Re: extending a class using includes not working
| From: | Charles Kline | Date: | Thu, 26 May 2005 02:59:52 +0000 |
| Subject: | Re: extending a class using includes not working | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215832@lists.php.net to get a copy of this message | ||
On May 25, 2005, at 7:53 PM, Richard Lynch wrote:
On Wed, May 25, 2005 11:30 am, Charles Kline said:Sorry I should have been more specific (or course)... The template does not load. I get no error messages of any kind. Both classes function fine when included into the template separately - but when in include the secondclass.php which in turn includes firstclass.php the page does not load. Running on Mac OS X Server version 10.3 - Charlesi have 2 class files. say for example. class 1 class 2 extends class 1 class 2 uses include_once("firstclass.php") then i use include_once ("secondclass.php") in my template. this does not work. to get it to work, i must put both the files as includes in my template. any ideas why?Could you define "does not work" a little more precisely? Do you get error messages? What do the error messages say? Is there any output at all? Does your computer blow up? What?