[SOLVED] Error Please specify a view in your fabrik {} code

I've never seen this, do you have some text {fabrik xxx} anywhere (in an article, form intro...)?

gesendet mit Tapatalk
 
Thanks, troester.

I think I got it enabling Fabrik debug.
I enabled it to understand where was the error in an Email form plugin (the email wasn't send).
The error was in the template (a stupid error, as I am...).

Could be this the reason of the message?
 
I have the issue again:confused:

It happens when the form is submitted and e-mail are not send by two Email form plugin.

How can I understand why it happens?
I searched "Please specify a view in your fabrik" in Joomla files, but nothing was found :(
 
I found
'Please specify a view in your fabrik {} code'​

at the end of the file joomla/plugins/content/fabrik/fabrik.php

Code:
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);
        }
    }

Who can help me to understand what I wrong???
 
My conclusion is that Email form plugin no more works (it worked well in the past).

See:
"E-mail sending from fronted not working when using placeholder in the Email to: of form email plugin"
 
Yes, I tried {tablename_elementname_raw} and it worked but I don't understand why I have to use "_raw"; the element is a field element.
I need extract some addresses from the database, so I have to use "Email to (eval)".

Sorry, I don't understand what you mean with set your email element to "Guess link" or "Link to details".
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top