Hi,
Thanks for that. I've done some cleaning up, but still have a problem.
I turned on the php error messaging, and I have this message:
Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/fchinsides.com/httpdocs/classes/mambo.php on line 1600
I've seached for this in the forum and I see that this ha caused trouble for more people. However, I can't seem to find any solutions...
Per
UPDATE:
Line 1600 is line three in the following block:
Code:
function mosMenuCheck( $Itemid, $menu_option, $gid, &$db ) { $dblink="index.php?option=$menu_option"; $db->setQuery( "SELECT access FROM #__menu WHERE id='$Itemid' OR link='$dblink'" ); $access = intval( $db->loadResult() ); return ($access <= $gid); } I've echoed out the $Itemid and the $dblink, which are
1
and
index.php?option=com_frontpage
Should I presume the error is with the frontpage?