500 error on Joolma website
Posted
by
Rachel Sparks
on Pro Webmasters
See other posts from Pro Webmasters
or by Rachel Sparks
Published on 2012-10-27T16:12:58Z
Indexed on
2012/10/27
23:21 UTC
Read the original article
Hit count: 380
PHP Fatal error: Call to a member function setQuery() on a non-object in /home/josh/public_html/administrator/components/com_jfusion/plugins/phpbb3/forum.php on line 226
Just moved over to a new server. Anyone have ideas as to what is wrong?
Is this a database issue?
line 226:
//get permissions for all forums in case more than one module/plugin is present with different settings
$db = & JFusionFactory::getDatabase($this->getJname());
$query = "SELECT forum_id FROM #__forums WHERE forum_type = 1 ORDER BY left_id";
$db->setQuery($query); //226
$forumids = $db->loadResultArray();
© Pro Webmasters or respective owner