Support

Admin Tools

#40182 htaccess

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
4.4.2
PHP version
8.1.27
Admin Tools version
7.4.8 Pro

Latest post by nicholas on Monday, 22 January 2024 06:18 CST

sillitoe

Sorry if this is something stupid I'm doing, but when I create an .htaccess I get an error "An error has occurred. 0 syntax error, unexpected '|', expecting variable (T_VARIABLE)".

I saw some explanations about this being caused by an old PHP version, but I'm using version 8.1. I tried switching to 8.2 but got the same error.

nicholas
Akeeba Staff
Manager

Please read https://www.akeeba.com/documentation/admin-tools-joomla/custom-htaccess-rules.html. The “Changing the PHP version and the .htaccess Maker” section on that page answers your question and tells you what to do :)

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!

sillitoe

Thank you Nicolas. Please excuse my ignorance.

nicholas
Akeeba Staff
Manager

No worries! People aren't born knowing everything. That's why we document our software. I am fully aware we have a lot of documentation and I am quite happy pointing out to the correct page when necessary.

Have a wonderful day!

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!