Support

Admin Tools

#9690 BUG: htaccess maker data reset when saving data in custom rule field

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 Saturday, 13 November 2010 03:22 CST

Metzed
I have installed Admin tools Professional on two websites and have used the htaccess maker. But I've found a bug.

I have gone through all the settings and configured to my requirements. However, I already have an htaccess file and so only ever saved without creating the htaccess file.

Because I had problems with the first website, when it came to the second website I put the following text in "Custom .htaccess rules at the top of the file"
######top rules##########

I did the same for the bottom and clicked on Save without creating htaccess. All data was retained. And so I went to my existing htaccess file and copied the rules that I wanted to put into the top of the file and the same with the bottom and pasted them into the fields in htaccess maker. Then clicked on Save without creating htaccess. This is where the problem happened. ALL fields were reset to their original settings and the data in the two htaccess custom rule fields were removed so they were blank. I could then repeat the process but when copying my htaccess data into the fields again, all data was reset and lost again.

Here is an example of one of the lines:
RewriteCond %{QUERY_STRING} ^ID=75$
RewriteRule ^news\.asp$ http://www.website.co.uk/council-news/? [R=301,L]

Can you replicate this? I'm nothing amazing when it comes to diagnosing such problems, but I guess some of the characters in the Rules might be causing problems with your script when updating the database?

I see this person had the same problem
http://www.akeebabackup.com/support/forum/topic.html?id=26343

nicholas
Akeeba Staff
Manager
This is a known problem and is solved in the latest developer's release. I am now working around another issue with the Joomla! updates on some server environments. Once this is also complete, I will release a new version.

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!