F.schettino
Italian
Please, can someone tell me why i get this error?
What is wrong?
What is wrong?
We have now opened a commercial services section here on the forum for registered users. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.
Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.
For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
protected function generalIncludes($view)
{
$app = JFactory::getApplication();
$input = $app->input;
require_once COM_FABRIK_FRONTEND . '/controller.php';
// If in admin form or details view and embedding a list - this gave an error - if only needed for 3.0.x
if ($view !== 'list')
{
require_once COM_FABRIK_FRONTEND . '/controllers/form.php';
require_once COM_FABRIK_FRONTEND . '/controllers/details.php';
}
require_once COM_FABRIK_FRONTEND . '/controllers/package.php';
require_once COM_FABRIK_FRONTEND . '/controllers/list.php';
require_once COM_FABRIK_FRONTEND . '/controllers/visualization.php';
JTable::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_fabrik/tables');
JModelLegacy::addIncludePath(COM_FABRIK_FRONTEND . '/models');
JModelLegacy::addIncludePath(COM_FABRIK_FRONTEND . '/models', 'FabrikFEModel');
if ($view == 'details')
{
$view = 'form';
}
if ($view == '')
{
throw new RuntimeException('Please specify a view in your fabrik {} code', 500);
}
// $$$rob looks like including the view does something to the layout variable
$defaultLayout = FabrikWorker::j3() ? 'bootstrap' : 'default';
$layout = $input->get('layout', $defaultLayout);
require_once COM_FABRIK_FRONTEND . '/views/' . $view . '/view.html.php';
if (!is_null($layout))
{
$input->set('layout', $layout);
}
}