Support

Admin Tools

#22644 Web Application Firewall and K2 Category Layout Extra Fields

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 tampe125 on Tuesday, 19 May 2015 01:54 CDT

quebecguitare
 Hello, I've been having a problem with my dev. team for many months now.

I've narrowed it down and I suspect that Admin Tools might be at the source of it.

Let me explain...
We are trying to retreive values from K2 Extra Fields in the Category_Item.php view.

We can normally retreive the value with the following string, but it doesn't seem to work on one site which has Admin Tools installed:
<?php echo $this->item->extraFields->EXTRAFIELDNAME->value; ?>

I was wondering if this could be the result of a Web Application Firewall from Admin Tools or a php-file-scanner-reports?

I am not too familiar with your component Admin Tools, I think the settings are still factory default.

Extrafields always show NULL even if I know it's there. It has to be some kind of a bug.

object(stdClass)#1007 (8) {
["id"]=>
string(2) "21"
["name"]=>
string(5) "Price"
["value"]=>
NULL
["type"]=>
string(9) "textfield"
["group"]=>
string(1) "3"
["published"]=>
string(1) "1"
["ordering"]=>
string(1) "1"
["alias"]=>
string(5) "price"
}

Ref.: http://www.quebecguitare.ca/professeurs

Any clues?

Thank you
Best Regards

tampe125
Akeeba Staff
Hello Alexandre,

Admin Tools will only block and log the incoming requests, not the pages built on server side.
To be 100% sure that Admin Tools is not involved you can simply disable the System plugin and replace the .htaccess with Joomla default one.

If you still have the same issue, it means that the problem is not caused by Admin Tools.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!