CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 problem setting page includable

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.