Thread: My OOP Project
View Single Post
Old 05-12-2010, 06:39 AM   #1 (permalink)
Torsten
The Wanderer
 
Join Date: May 2010
Posts: 7
Thanks: 0
Torsten is on a distinguished road
Plugin/Addon My OOP Project

Hello Community,

There is something wrong with my Project.
The Error Message is

"Fatal error: Call to a member function sendQuery() on a non-object in lib\page\IndexPage.class.php on line 9"

The Errormessage says that the Class for the DAL ( Database Abstaction Layer) is not initialized.

But the class is initialized in the CMSCore Class under

"lib/system/CMSCore.class.php".

The Error is only when I try to send an Query from the File

/lib/page/ANY_FILE.class.php

wenn I write the Statment in the index.php in the Root Dir it works.

Can everybody Help me?

If there are some Questions about the Project, how it should work, feel free to ask me.

I dont understand the error because the Template Engine is initialized at the same way and it works.

The hole Project is as an Attachment below.

Please make no Copy of this Project

Last edited by Torsten : 05-12-2010 at 10:32 AM.
Torsten is offline  
Reply With Quote