Support

Admin Tools

#17656 ICS file triggers bad behaviour when browsing from Android

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 nicholas on Friday, 27 September 2013 04:29 CDT

user49242
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: Joomla! 2.5.11 Stable [ Ember ] 26-April-2013 14:00 GMT
PHP version: 5.2.17
MySQL version: 5.5.32
Host: Apache/2
Admin Tools version: 2.4.4

Description of my issue:
Hi, I've been using AdminTools I quite a few websites, so I know the basics pretty well.

I've built a site using the Ohanah component, which has an option to download .ICS files for events. Those work right on my desktop browser (Safari, Chrome and Firefox), but on the default Android browser they trigger a "Bad behaviour" alarm when trying to download them

The .ICS files are generated using "\components\com_ohanah\views\event\ics.php". I tried using .htacces to allow permissions to that .PHP file, with no luck.

Here's the code inside the .ICS file which gets generated on Android:
<br /><b>jos-Error</b>: Unable to load renderer class<br />
<br />
JSite -> initialise() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/index.php:30<br />
JApplication -> initialise() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/includes/application.php:116<br />
JApplication -> triggerEvent() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/application/application.php:230<br />
JDispatcher -> trigger() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/application/application.php:642<br />
JEvent -> update() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/event/dispatcher.php:161<br />
plgSystemAdmintoolsPro -> onAfterInitialise() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/event/event.php:71<br />
plgSystemAdmintoolsPro -> BadBehaviour() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/plugins/system/admintools/admintools/pro.php:194<br />
plgSystemAdmintoolsPro -> blockRequest() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/plugins/system/admintools/admintools/pro.php:2250<br />
JError :: raiseError() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/plugins/system/admintools/admintools/pro.php:1337<br />
JError :: raise() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/error/error.php:251<br />
JError :: throwError() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/error/error.php:176<br />
JError :: handleCallback() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/error/error.php:214<br />
plgSystemRedirect :: handleError() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/error/error.php:765<br />
JError :: customErrorPage() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/plugins/system/redirect/redirect.php:109<br />
JDocumentError -> render() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/error/error.php:798<br />
JDocumentError -> _loadTemplate() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/document/error/error.php:107<br />
require_once() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/document/error/error.php:135<br />
JDocument -> loadRenderer() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/templates/construct5/error.php:81<br />
JError :: raiseError() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/document/document.php:926<br />
JError :: raise() @ /home/agendafr/domains/festesreus.cat/public_html/agenda/libraries/joomla/error/error.php:251


Any idea on what's causing this behaviour?

nicholas
Akeeba Staff
Manager
The Bad Behaviour feature was removed in ADmin Tools 2.5.0 because it was unreliable. Please disable it. It should be under Admin Tools, Web Application Firewall, Configure WAF. You'll see a Bad Behaviour integration section. Disable everything in there.

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!

user49242
So I should disable Bad Behaviour it in all my websites then?

Unfortunately my server is still running PHP 5.2 and I don't have the time to check each and every website I've built to see if there's any problems on 5.3.

nicholas
Akeeba Staff
Manager
> So I should disable Bad Behaviour it in all my websites then?

Yes.

> Unfortunately my server is still running PHP 5.2 and I don't have the time to check each and every website I've built to see if there's any problems on 5.3.

PHP 5.2 has stopped being developed since January 2011. It is a security risk. Newer versions of Joomla! won't even run on it. PHP 5.3 has also entered end of life. You are strongly encouraged to upgrade to PHP 5.4 as soon as possible.

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!

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!