Support

Admin Tools

#9668 Bug in "Basic Security" user interface of .htaccess Maker

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, 23 October 2010 10:40 CDT

user10589
Hi Nicholas.

Found a bug in .htaccess Maker.

When in Basic Security one can enter Blocked User Agents, but the enter field just shows one item and only have an up arrow on the right witch makes it difficult to see if there are any more user agents in the list. Could you please have a look at it so it is fixed in the next update.

tnx, Z. ;)

nicholas
Akeeba Staff
Manager
Which browser and which back-end template are you using? With Joomla!'s default admin template (Khepri) and all major browsers at least 4 lines display in the box, plus a vertical scroll bar to make navigation easier.

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!

user10589
I have used two different browsers my default Mozilla FF 3.6 and IE 8, the problem appears in both browsers. My back-end template is the default Joomla (khepri) template. One picture says more then a thousand words lol.



grtz, Z. ;)

nicholas
Akeeba Staff
Manager
The CSS file isn't loading properly. Please try giving the media/com_admintools directory and all its subdirectories 0755 permissions, and 0644 permissions to all of the files.

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!

user10589
The directory com_admintools and all sub-directories are correctly set to 755, all files in the sub-directories are set to 644 there was nothing wrong whit these settings. The only strange thing is that i find the media directory in the host root (httpdocs) where resides my joomla root directory (blog) in both directories i have a "media" folder and in both i find the same com_admintools and com_akeeba folders and files.

so one set in httpdocs/media/ and one set in httpdocs/blog/media/ of which the last folder httpdocs/blog/ is my Joomla root. I have no idea if this is right The problem still exists though.

grtz, Z. ;)

nicholas
Akeeba Staff
Manager
For the site where this problem occurs, please find its media directory and change the permissions as I described. In your /blog/ installation the path to the media directory will be β€”of courseβ€” /blog/media. If the problem only happens in the /blog/ site, then you may have to generate .htaccess files for both the site at the root and the one in the /blog/ directory using Admin Tools. The reason is that, unlike Joomla! configuration settings, the .htaccess settings are inherited from the parent to the children directories, which means that if there is an .htaccess in your site at the root it might block access to media files in the site inside the blog directory.

As a rule of thumb, it is an extremely bad idea having one Joomla! site in a subdirectory of another Joomla! site. The best solution is using subdomains.

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!

user10589
I have removed the sub dir "blog" and restored a backup to my root. While restoring, the .htaccess file was restored to and i noticed the switch "AddHandler x-httpd-php5 .php" to change my hosts php version from 4 to 5 was gone. I had to delete .htaccess and renamed htaccess.txt to get proper accesss to my front and backend. Maybe this is something to keep in mind if Admin Tools is updated.

Anyway now everything (the whole site) is set to the root dir. the problem is stiil there, i see only one line in basic security of .htaccess maker. Don't know what else to do.

grtz, Z. ;)

nicholas
Akeeba Staff
Manager
The AddHandler x-httpd-php5 .php line can be added as custom .htaccess code in the top or bottom of the file (preferably the bottom) in Admin Tool's .htaccess Maker configuration. In fact, this is the exact reason this field is there :)

Regarding the one line height, can you PM me the URL to your site and Super Admin access so that I can see what is causing it and fix it? Thanks!

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!

user10589
See your PM inbox ;)

user10589
Have you checked your PM inbox today?

nicholas
Akeeba Staff
Manager
Just did. I am between two Joomla! Days (DC and now Denmark) and feeling a bit overwhelmed with everything that has to be done :p

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!

nicholas
Akeeba Staff
Manager
...and fixed! Thank you very much for the back-end login. For some odd reason the CSS worked fine on all of my local and live sites, even though it shouldn't (there was a bug in my CSS file!). Crazy beasts, those computers :s

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!

user10589
Great job anyhow Nic, could it have something to do whit the joomla cashe that it's is working on your sites? Maybe the bug sneaked in just some time after the css was changed but the right version is still in cashe.

tnx for helping me out.
Your backend login is locked again until the next time, we'll never know keep the login parameters save somewhere lol. :P
Z.

nicholas
Akeeba Staff
Manager
It actually looks like we have a slightly different CSS file on our sites, but I don't know why. I tried on other Joomla! sites hosted on different server (not owned by me, so I'm sure I didn't do something funky to the CSS, LoL!) and couldn't reproduce the issue with the old release. I don't know what happened, but at least I fixed it very easily and universally (I hope!) :)

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!