Support

Akeeba Ticket System

#27750 Click on the button Close ticket in frontend = Error 403

Posted in ‘Akeeba Ticket System 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
Akeeba Ticket System version
n/a

Latest post by on Sunday, 18 June 2017 17:17 CDT

Teophile
 Error 403 when clicking the front button Close ticket

nicholas
Akeeba Staff
Manager
You have enabled cache in Global Configuration. Unfortunately, cache is completely broken in Joomla! 3.7. All non-HTML requests (e.g. redirections, errors, even legitimate AJAX requests) are cached as an empty document. Moreover, even though we ask Joomla to NOT cache the ticket it still does. This ends up caching the wrong anti-spam token in the URLs of the buttons to manipulate the ticket state (close / open, enable / disable, assign / unassign) therefore breaking the interface.

We hope that eventually Joomla! will fix its broken cache APIs in a future version. Until then, the only thing you can do is disable caching on your site.

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!

Teophile
No I do not have cache activated in the configuration joomla (see photo)
I am using jchoptimizer
Here is the copy of the URL corresponding to error 403
https://www.prosysteme.fr/support-au-service-methode-industrialisation/questions-reponses-concernant-l-organisation-des-services-methodes-industrialisation/6-test-joomla-3-7.html?returnurl=aHR0cHM6Ly93d3cucHJvc3lzdGVtZS5mci9zdXBwb3J0LWF1LXNlcnZpY2UtbWV0aG9kZS1pbmR1c3RyaWFsaXNhdGlvbi9xdWVzdGlvbnMtcmVwb25zZXMtY29uY2VybmFudC1sLW9yZ2FuaXNhdGlvbi1kZXMtc2VydmljZXMtbWV0aG9kZXMtaW5kdXN0cmlhbGlzYXRpb24vNi10ZXN0LWpvb21sYS0zLTcuaHRtbA==&15898aa4882259b68ca8c9dcb8c6637e=1&task=close


Have a good day

nicholas
Akeeba Staff
Manager
Disable jchOptimize. Does it work now? If it does it's because the third party plugin forces the browser to cache the page. FWIW caching HTML pages forever was a mistake we were doing ourselves with Admin Tools' .htaccess Maker in the past. Last September I was debugging a weird issue on one of my sites when I discovered the issue and fixed it in Admin Tools. Obviously I can't fix someone else's code, especially when they force HTML headers on our component's output :/

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!

Teophile
I have :
- disableJCHoptimizer,
- disable rewriting joomla and sh404sef URLs
- update to joomla 3.7.1
- upgrade to ATS 2.3
And I still have error 403

nicholas
Akeeba Staff
Manager
I have not been able to reproduce this in any way except by having either cache (in Global Configuration) or the System - Page Cache plugin enabled. However, this issue was fixed in ATS 2.3.0. The only possibility left is that your host has made a server side change, probably to their Apache mod_security2 rules, which ends up mistakenly identifying the request to close a ticket as malicious and blocks it.

Please do contact your host and ask them to at least tell you if the 403 comes from their server configuration, your .htaccess or the web application (Joomla).

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!

Teophile
I transmitted the entire post at infomaniak.

Have a good day

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!