redirect form plugin problem after update from github

mahmoodee

Member
Hello,
the custom search form module in my home page was working fine .
Today while I try to search , show this message :
Sorry, but you are not authorised to add this record .
the redirect not work , it redirect to home page and show the message .
last update on website was yesterday ,I updated from github . The last time I update from github was 3 weeks ago.
I'm not entirely sure that this problem is due to update
Please help me to solve this problem
 
Hello,
I don't use "or use field" in list access settings.
I tried the commmit and updating to last github , but the same massage
Sorry, but you are not authorised to add this record .
Is there any other suggestions, please?
 
This commit IS in the last GitHub.
I've redone the changes in components/com_fabrik/controllers/form.php manually and this solved my issue.

Maybe worth a try.
 
Hello,
the same problem, the commit is already exists .
the commit is responsible for the problem :)
I try delete this code and search module work fine
in components/com_fabrik/controllers/form.php
I delete
Code:
// Do some ACL sanity checks
        $aclOK            = false;
        if ($model->isNewRecord() && $listModel->canAdd())
        {
            $aclOK = true;
        }
        else if (!$model->isNewRecord() && $listModel->canEdit(new stdClass()))
        {
            $aclOK = true;
        }
        if (!$aclOK)
        {
            $msg = $model->aclMessage(true);
            $app->enqueueMessage($msg);
            return;
        }
there is a problem in this commit , any solution please?
 
thank you ,
I saw this problem too in my another site after update , with using "or use field" in list access settings.
 
Hello ,
It is not record to table , It was working fine before updating
If I delete commit it works
I donot use "or use"
 
this settings of search form .
the new commit not work for me for search module
 

Attachments

  • 1.png
    1.png
    25 KB · Views: 74
  • 2.png
    2.png
    24.8 KB · Views: 62
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top