Support

Admin Tools

#16147 Emergency Offline issue

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 Wednesday, 22 May 2013 03:56 CDT

jakhall
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? none avail
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.11
PHP version: dual platform 5.2 + 5.3
MySQL version: 5.0.96-community
Host: my own dedicated server with 'host gator'
Admin Tools version: 2.5.5

Description of my issue:
When I click the 'Emergency offline' button and then 'set offline' I get this error message:

"500 - An error has occurred.

PHP 5.2.17 is not supported by Admin Tools.

The version of PHP used on your site is obsolete and contains known security vulenrabilities. Moreover, it is missing features required by Admin Tools to work properly or at all. Please ask your host to upgrade your server to the latest PHP 5.3 release. Thank you!

Return to Control Panel"

I have PHP5.3 installed on the server(as well as 5.2) and have selected that this particular domain use the 5.3 version by adding the following code to my .htaccess file:

"## Mod_rewrite in use.
AddType application/x-httpd-php53 .php
RewriteEngine On

## Begin - Rewrite rules to block out some common exploits."

When I click the 'Return to Control Panel' I get this error:

"Warning: require_once(__DIR__/autoloader/fof.php) [function.require-once]: failed to open stream: No such file or directory in /home/aquarius/public_html/libraries/fof/include.php on line 24

Fatal error: require_once() [function.require]: Failed opening required '__DIR__/autoloader/fof.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquarius/public_html/libraries/fof/include.php on line 24"

For now, I simply then deleted the '.htaccess' file and renamed the '.htaccess.eom' file to '.htaccess' so I have access to my admin site again.

nicholas
Akeeba Staff
Manager
EOM will replace your .htaccess file. As soon as that happens, edit it and append:
AddType application/x-httpd-php53 .php

at the very bottom of the file.

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!

jakhall
ah, of course! Thanks.

nicholas
Akeeba Staff
Manager
No need to thank me. The answer was inside your question, you just hadn't realised 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!

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!