Support

Admin Tools

#23368 cannot upload file after latest upgrade

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 Monday, 05 October 2015 10:11 CDT

french150
Hi, after i did the upgrade to the latest version of Admintools PRO i cannot upload file with Edocman component by frontend. Also i cannot attach file to the ticket by Imaqma Helpdesk component on front end too.
What's wrong?

Best regards

nicholas
Akeeba Staff
Manager
I suspect this is actually unrelated to Admin Tools. Let's make sure that the problem is not caused by Admin Tools. First please try to replicate the issue after disabling the "System - Admin Tools" plugin. If you can still replicate the issue, it is not caused by Admin Tools. Disabling that plugin means that Admin Tools code (including the Web Application Firewall) is not running on your site.

If doing this this stopped the issue from occurring, we'll have to do some troubleshooting. First go to Admin Tools, Web Application Firewall, Configure WAF. Make sure "Log security exceptions" is set to Yes; if it's not, set it to Yes and click on Save. Now try reproducing your issue. Immediately after that, please go to Admin Tools, Web Application Firewall, Security Exceptions Log. The latest log entry at the top should have the date and time of when the issue occurred. Please copy the Reason and Target URL here so that we can further help you.

If you do not see a log entry, or the Date and/or IP address do not match your last access, this problem is not caused by Admin Tools' WAF. In this case, the issue has to do with a bugfix made in Joomla! 3.4.4. Please contact the author of your extensions and ask them to pass the filter type 'raw' when they are requesting files through JInput. For your information, the bug fixed in Joomla! 3.4.4 is this one: https://github.com/joomla/joomla-cms/pull/7814

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!

french150
Hi, i disabled the "System - Admin Tools" plugin and now i can upload the file.
I have the "Log security exceptions" set to Yes already but when i go to the security exceptions log i don't find the log with the correct time that i created the issue. The latest log tell me the reason "Admin Query String". But be sure that if i disable that plugin i can upload the file, if i enable it i cannot because when i run the upload of the file the page is still loading and after i get blank page.

nicholas
Akeeba Staff
Manager
Go to Components, Admin Tools, Web Application Firewall, Configure WAF, Active Request Filtering. Try disabling the "Uploads scanner (UploadShield)" option. You actually no longer need it because this code is now included in Joomla! itself since Joomla! 4.0. I believe this is what was causing the conflict on your site: It takes a while to scan a file. If you try doing it twice it takes twice as long and this could trigger a timeout error.

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!

french150
Ok i disabled that option and now it works!
Thanks
Best regards

nicholas
Akeeba Staff
Manager
You're welcome! We'll probably remove that feature in the next version now that we've contributed the code to Joomla! itself :)

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!