Support

Admin Tools

#23117 .htaccess incompatible with PowerAdmin?

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 dlb on Tuesday, 18 August 2015 14:36 CDT

user88005
 I used .htaccess Maker, with only "Disable directory listings" on - all other options are turned off, and it is corrupting the Control Panel page. Clicking on Site / Control Panel gives the following:


<div class="row-fluid">
			<div class="span3">
			<div class="cpanel-links">
				<div class="row-striped">
	<div class="row-fluid">
		<div class="span12">
			
				<div class="jsn-poweradmin-quickicon">
					<div class="icon">
						<a href="https://www.akeeba.com/administrator/index.php?option=com_poweradmin&view=rawmode" class="site-manager">
							<img src="https://www.akeeba.com/administrator/modules/mod_poweradmin/assets/images/site-manager.png" alt="Site Manager">
							<span>Site Manager</span>
						</a>
					</div>
				</div>

				<div class="jsn-poweradmin-quickicon">
					<div class="icon">
						<a href="https://www.akeeba.com/administrator/index.php?option=com_poweradmin&task=search.query" class="site-search">
							<img src="https://www.akeeba.com/administrator/modules/mod_poweradmin/assets/images/site-search.png" alt="Site Search">
							<span>Site Search</span>
						</a>
					</div>
				</div>

				<div class="jsn-poweradmin-quickicon">
					<div class="icon">
						<a href="https://www.akeeba.com/administrator/index.php?option=com_poweradmin&view=configuration" class="configuration">
							<img src="https://www.akeeba.com/administrator/modules/mod_poweradmin/assets/images/configuration.png" alt="Configuration">
							<span>Configuration</span>
						</a>
					</div>
				</div>

				<div class="jsn-poweradmin-quickicon">
					<div class="icon">
						<a href="https://www.akeeba.com/administrator/index.php?option=com_poweradmin&view=about" class="about">
							<img src="https://www.akeeba.com/administrator/modules/mod_poweradmin/assets/images/about.png" alt="About">
							<span>About</span>
						</a>
					</div>
				</div>
			</div>
	</div>	
</div><br />
<b>Fatal error</b>:  Class 'Akeeba\Engine\Platform' not found in <b>/home/itjustwo/public_html/plugins/quickicon/akeebabackup/akeebabackup.php</b> on line <b>198</b><br />


This is implying that there's some incompatibility between your two products, but my gut is saying maybe it's an issue between you and JSN Poweradmin...

The original .htaccess file is as follows:

AddHandler application/x-httpd-php56 .php .php5 .php4 .php3
<IfModule mod_expires.c>
ExpiresActive On
<FilesMatch "\.(pdf|flv|jpe?g|png|gif|js|css|swf|cur|ico)$">
Header set Cache-Control "public"
ExpiresDefault "access plus 1 month"
</FilesMatch>
</IfModule>
SetEnv TZ America/California


Any ideas?? I would really like to use your .htaccess tool to make my site more secure...

user88005
I just tried turning everything off (including Disable Directory Listings), and I'm still getting the same error and corrupted Control Panel.

Is there something in my original .htaccess file (see above) that is needed for Akeeba Backup, and that is being overwritten?

dlb
There should be a big error message on your screen that JSN PowerAdmin does not play nice with Admin Tools. PowerAdmin interferes with the way Joomla! works and we just can't get the two to work together.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user88005
Thanks for the quick reply. Don't see any error message... I would have definitely paid attention to it if I did.

I would much rather have your tools than PowerAdmin.

* Do you have any idea if it's safe and clean to delete / uninstall PowerAdmin?
* Is there any incompatibility with JSN's templates and Akeeba?

nicholas
Akeeba Staff
Manager
JSN was supposed to have fixed that problem two years ago. I had talked with them and they confirmed that the problem only occurs with older versions. Please try upgrading the admin template.

If this doesn't help, 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.

If #1 helped, you have a problem with a third party extension blocking the AJAX calls in JSN PowerAdmin. We cannot help.

If #2 helped you need to upgrade JSN PowerAdmin. If this doesn't work please contact its developers and let them know of the problem so they can fix it.

If #3 helped 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.

Based on the tests I have PERSONALLY conducted in mid July 2015 with their then-latest version of JSN PowerAdmin there is no incompatibility between it and Admin Tools. Furthermore there is no incompatibility ever reported with their templates.

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!

user88005
I found the cause of the problem. As per my original post, the ORIGINAL .htaccess file contained the following first line:

`AddHandler application/x-httpd-php56 .php .php5 .php4 .php3`

Prepending the contents of the original .htaccess file to your .htaccess file fixed the problem.

dlb
You can add that code to the "Custom code at top of file" field in .htaccess Maker so you don't have to remember to add it when you update your file.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

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!