Support

Admin Tools

#20749 JoomlaCK install issue, clean install of Joomla + Admin Tools

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 beetoobi on Tuesday, 19 August 2014 10:31 CDT

beetoobi
Greetings. First want to thank you for a great product...definitely simplifies locking things down while still giving some level of control.

I initially encountered an issue with using JoomlaCK on a Joomla! site that had Admin Tools also installed. I was eventually able to resolve that through reading up on your site and theirs about configuring the .htaccess rules, so again thanks for that.

In the process of troubleshooting that, I tried reinstalling JoomlaCK on top of itself, initially thinking that maybe a file was corrupted somehow. After the installation was started, the page eventually came back with a 500 error.

Tried lots of other things thinking there was some conflicts with some less-used extensions that I'd put on this site, but in the end, I am able to recreate my issue with:
- a clean install (read: completely delete the root folder of the site, completely delete all tables from the database, then upload the Joomla! 2.5.24 installation files to the root and reinstall Joomla!)
- a clean install of Admin Tools 3.0.3
- attempts to install JoomlaCK consistently fail with a 500 error and no other details

this happens irrelevant to whether I do nothing other than installing Admin Tools, or I install it and then accept the initial acknowledgements when first launching Admin Tools, or I do all of the above and turn off every setting in Admin Tools and have NO .htaccess file in the root directory.

Admin Tools seems to be in some way preventing the installation from happening, but it doesn't similarly block other extensions from installing, so there is something about this extension that it doesn't like. I can switch the order of installation and everything works fine (once I add the known exceptions), but I just figured I would still try to get to the bottom of this, so I don't have to remember in the future to install the two extension in a specific order!

I don't have any access to another Linux-based host to see if it is a problem with GoDaddy, my apologies for that.

thanks for any insight you can provide,

Jason

nicholas
Akeeba Staff
Manager
Let's make sure that the problem is indeed caused by Admin Tools. In order to do so, try the following:

1. Try setting the Error Reporting level in your Global Configuration to "None". Many errors are caused by harmless PHP Notices and Warnings being output to the browser, breaking anything which requires HTTP header manipulation such as Joomla!'s session management, AJAX calls and download systems.

2. 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.

3. If you suspect an issue with the .htaccess file, replace its contents with the contents of the stock htaccess.txt file shipped with every version of Joomla!. If you are on GoDaddy please wait for 1-30 minutes for the changes to be effective. Then, retry loading the problem page. If you can still reproduce the error, then it is not caused by .htaccess Maker.

If doing any of the above resulted in the issue still occurring, it's not related with Admin Tools and we can't help you. If doing any of the above did stop 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, however, 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, you will have to do some .htaccess troubleshooting. You may need to read the general .htaccess troubleshooting page, as well as the page on finding out necessary .htaccess exceptions.

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!

beetoobi
Makes perfect sense, thank you Nicholas.

Per your instructions, I changed the error logging from "System Default" to "None". Tried to install JoomlaCK at this point just for completeness, but the extension failed to install.

I then disabled the "System - Admin Tools" plugin under the Extension Manager "Manage" tab and tried to install it again, but it still failed to install.

I do not yet have any .htaccess file, as it is a brand new installation, I only have the htaccess.txt file. On a chance I instead disabled the "Admintools" Administration component and tried the install another time. This time it worked. Tried it in some other combinations, with or without "System - Admin Tools" enabled, and with the "Admintools" component disabled, the installation completed.

I tried removing everything and repeating the process with the same results. If the "Admintools" component was disabled, the installer succeeded; with it enabled, it failed.

Also for completeness I went through and looked at the logging for the WAF's security log (with the logging turned on), and there were no entries in the log after any of the failed attempts.

Your last suggestion relates back to the .htaccess file, but again there is no .htaccess file in the root folder.

I will also mention that there were no installation warnings when installing joomla itself, all tested PHP settings matched the recommended settings. I've tried using the built-in database fix button, the repair and optimize database button in Admin Tools as well as fixing permissions, none of which seem to have altered the outcome.

Not sure what any of this tells me :/ Any thoughts on what else I might try to try and get to the bottom of this?

Thanks again for your assistance, I sincerely appreciate it.

Jason

nicholas
Akeeba Staff
Manager
The Admin Tools component does not load when you are installing an extension. In fact, it will not load unless you click on Components, Admin Tools. What must have really happened is that you have a caching issue. That's a Joomla! bug I helped fix 3 weeks ago and which will be included in Joomla! 3.4.

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!

beetoobi
Ah, bummer. For what it's worth, it doesn't seem to be an issue if I install any other extension (well, I haven't tried *all* of them) and then install JoomlaCK. Is there any way to resolve this in the Joomla 2.5.x series, or am I going to have to wait until 3.4 is released and then upgrade from 2.5.24 to 3.4? That will be a tough scenario (but not your problem) as one extension I am trying to use does not yet have a 3.x version (VirtueMart).

Thanks again for your time and assistance, I greatly appreciate it.

nicholas
Akeeba Staff
Manager
Don't expect any bug fixes in Joomla! 2.5. It has gone into maintenance mode nearly a year ago, meaning that only security issues are fixed. You'll need to eventually move to Joomla! 3. As for VirtueMart, you have my sympathies (and not just because there's no J! 3 version of it).

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!

beetoobi
Fair enough. I'm definitely not in love with VirtueMart :)

before I let you go, do you have any unofficial endorsement of any particular shopping cart extension?

thanks again for all the assistance,

Jason

nicholas
Akeeba Staff
Manager
I have not used cart extensions myself but I'm hearing good words about HikaShop. Maybe you want to take a look at it?

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!

beetoobi
sounds good. thanks for the suggestion. keep up the good work :)

regards,

Jason

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!