models/pluginmanager.php, lines 175-180

alanstylez

Member
While attempting to load an element (to change the access level), I got the following error:

Fatal error: require_once() [function.require]: Failed opening required '/home/content/75/6326575/html/1.6.0/plugins/fabrik_element/fabrikradiobutton/fabrikradiobutton.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/75/6326575/html/1.6.0/components/com_fabrik/models/pluginmanager.php on line 175

Assuming I can count correctly to 175 (godaddy.com's editor can't count for me), then the relevant code is:

JDEBUG ? $_PROFILER->mark('pluginmanager:getFormPlugins:start - '.$sig) : null;
if (!array_key_exists($sig, $this->formplugins)) {
$this->formplugins[$sig] = array();
$lang = JFactory::getLanguage();
$folder = 'fabrik_element';
$client = JApplicationHelper::getClientInfo(0);
$groupIds = $form->getGroupIds();
if (empty($groupIds)) { //new form
return array();

If I just rename the folder/file to: fabrik_element/fabrikradiobutton/fabrikradiobutton.php, then the error changes to:

Fatal error: Class 'plgFabrik_ElementFabrikradiobutton' not found in /home/content/75/6326575/html/1.6.0/components/com_fabrik/models/pluginmanager.php on line 180

So, what are some suggested fixes?
 
hmmm it should be 'radiobutton' and not 'fabrikradiobutton'
I can't see any reference to 'fabrikradiobutton' in the code - were you trying to use a database from a fabrik 2.0.x installation? If so that won't work.

-Rob
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top