Support

Admin Tools

#17670 T3 fatal error change user groups to manager or administrator backend

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by amir00251 on Friday, 27 September 2013 06:48 CDT

amir00251
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 3.1.5
PHP version: 5.4
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: (unknown)

Description of my issue:

Hello,

I get error Fatal error: Class 'T3' not found in /home/.../public_html/plugins/system/t3/t3.php on line 218
when I try to change User Groups of a user to "manager" or "administrator" in joomla backend. It will not happen if I change the user group to publisher or editor.

Other information:

.htaccess is not the cause because I replaced it with original joomla content and makes not difference.

If I change the main.php to main-disable.php which disables admintools, the problem is resolved.

The code in t3.php is
function onRenderModule (&$module, $attribs)
{
static $chromed = false;
// Detect layout path in T3 themes
if (T3::detect()) {
// Chrome for module
if (!$chromed) {
$chromed = true;
// We don't need chrome multi times
$chromePath = T3Path::getPath('html/modules.php');
if (file_exists($chromePath)) {
include_once $chromePath;
}
}
}
return false;
}

where if (T3::detect()) { is line 218.

nicholas
Akeeba Staff
Manager
T3 is JoomlArt's framework. I have to remind you that we cannot offer support for third party code. Please notify JoomlArt about the problem in their plugin.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

amir00251
It is already under discussion but I thought there maybe a quick reply some sort of settings issue in admintools which causes this and I could be better informed here.

nicholas
Akeeba Staff
Manager
I am not sure how/why/where this piece of code is called. In fact this event should not be triggered in the back-end. If it's triggered in the front-end then the plugin must make sure that the T3 framework is loaded before this code is executed or at least check if it's loaded. It sounds as if the T3 plugin doesn't make sure that its framework is loaded :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

amir00251
Thank you very much, the latest update is that if I disable the System Admin Tools plugin also I do not get this error in backend when I try to change user group of a specific user. I also changed the order of T3 and System Admin Tools and no difference, same problem occurred.

This gives me temporary solution to do this when I want to change user groups but will follow this with joomlart.

Thank you again.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!