PHP Include in Module -> Fatal Error in the others Hi,
I'm developing a GPL Module for using the MediaBannerManager in Mambo. The Problem is: i have to include a PHP-File in the module, and when i do it i got the module displayed correctly but nothing else on the page.
In the Mainmenu-Module i have nothing but this error: "Fatal error: Call to a member function on a non-object in /home/www/web16/html/modules/mod_mainmenu.php on line 153"
These are the lines 153 and 154 in mod_mainmenu.php
$database->setQuery( $sql );
$rows = $database->loadObjectList( 'id' );
Would be amazing if someone could help. |