kirchaj
|
| Posted: 08/04/2005, 9:10 AM |
|
I have created a simple page with a css menu as described in the Example pack 2. The menu page works fine when I do not set it as includable. When ever I make the change to set it as includable I get the following error message
Fatal error: Class clsadminmenuadministrationmenudatasource: Cannot inherit from undefined class clsdbedtechaccount in /var/www/html/accttest/adminmenu.php on line 163
If I change it back to not includable, it works again. I was hoping to make a menu page and then include it like the header page. Any ideas on what is going on?
Thanks.
Tony
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 08/04/2005, 12:12 PM |
|
What's on line 163?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
kirchaj
|
| Posted: 08/04/2005, 2:02 PM |
|
Here is line 163. It is the same line whether the includeable flag is set or not.
163 class clsadminmenuadministrationmenuDataSource extends clsDBedtechaccount { //administrationmenuDataSource Class @4-25199599
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 08/04/2005, 2:57 PM |
|
This looks normal. You cannot run an includable page by itself, it can only be included into another page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
donb
Posts: 52
|
| Posted: 08/04/2005, 8:18 PM |
|
There needs to be a Data Source on the main page, otherwise there is no class for the include page to inherit it's Data Source.
I don't really understand why it's this way, but perhaps it avoids a clash between multiple includes on a single page?
_________________
http://www.gotodon.com/ccbth |
 |
 |
kirchaj
|
| Posted: 08/05/2005, 8:36 AM |
|
Peter,
You were right, I was trying to call the page without it being included in another page. Live and learn.
Thanks for the help as always.
Tony
|
|
|
 |