Welcome, Guest
Joomdle 1.0 Installation

TOPIC: warning error in joomdle grouprole component

warning error in joomdle grouprole component 4 months 5 days ago #1

  • saman
  • saman's Avatar
  • Offline
  • تماس با من : samansamani2[at]yahoo.com
hi.
i install group role component and when i want create new, return this warning:
Warning: Declaration of GrouprolesModelitem::prepareTable(&$table) should be compatible with Joomla\CMS\MVC\Model\AdminModel::prepareTable($table) in /home/**************/domains/****************/public_html/administrator/components/com_grouproles/models/item.php on line 17
what is the solution and is it problem?
The administrator has disabled public write access.

warning error in joomdle grouprole component 4 months 5 days ago #2

  • saman
  • saman's Avatar
  • Offline
  • تماس با من : samansamani2[at]yahoo.com
and also when create group role and then you want to delete that , then return this error:
Invalid controller: name='mappings', format=''
The administrator has disabled public write access.

warning error in joomdle grouprole component 4 months 4 days ago #3

  • Antonio Durán
  • Antonio Durán's Avatar
  • Offline
Thanks for the bug report.

To fix warning, edit file: administrator/components/com_grouproles/models/item.php
In function definition: prepareTable
Change:
    protected function prepareTable(&$table)
By:
    protected function prepareTable($table)

To fix delete error, edit file: administrator/components/com_grouproles/views/items/view.html.php
Function: addToolbar
Change:
        JToolBarHelper::deleteList('', 'mappings.delete','JTOOLBAR_DELETE');
By:
        JToolBarHelper::deleteList('', 'items.delete','JTOOLBAR_DELETE');
The administrator has disabled public write access.