Support

Admin Tools

#14689 No access to admin area

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 Tuesday, 22 January 2013 10:52 CST

user70572

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? 19
Joomla! version: (2.5.8)
PHP version: (latest)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: (cannot check but the latest)

Description of my issue:

Have installed AdminTools by end of November 2012 and it has worked perfectly until 5 days ago. Without making any changes to AdminTools, 5 days ago my admin site vanished, a blank white site appears and cannot access my webshop's back-end. Have uploaded a backup (10 days old, should be of the former working version if the site) but nothing has changed: no access to the Joomla Admin area.

All other functions of the webshop (front-end) are working correctly. What shall I do?

nicholas
Akeeba Staff
Manager

Nothing stops working out of nowhere. I am quite convinced that something changed on your host's side. Now, a white page or a page with a 500 Internal Server Error is, in fact, either a .htaccess issue to a PHP fatal error in disguise.

First, let's see if it is a .htaccess issue. Try renaming the .htaccess file in your site's administrator directory to htaccess.bak If that solves the problem it's likely that a change in your hosting setup conflicts with the .htaccess generated by Admin Tools' administrator password protection (if you had used that feature).

If that doesn't help, the error you are receiving is in fact a PHP error in disguise. First, check your server's error logs (not the access logs) immediately after visiting the page which throws the error. There should be an exact description of the PHP fatal error which occurred. Sometimes you can find the error messages in files called error_log or error.log inside the site's root and/or administrator directories. If the file is found in both locations, look in the one under the administrator directory. If unsure about the error log location, please consult your host. Most likely the error logs are available in your site's cPanel, Plesk control panel or similar hosting account management facility.

If your host does not give you access to the error logs and you have access to the Joomla! administrator area, please log in to your site's back-end, go to Global Configuration, click on the Server tab and set the Error Reporting to Development (Joomla! 2.x and later). Try visiting the problem page again.

If you still get a blank page, edit your configuration.php file and put the following code right after the final closing curly brace ( this is what a curly brace looks like --> } ) but before the closing PHP tag (it looks like ?> that is a question mark and a greater-than sign):

ini_set( 'display_errors', true );
error_reporting( E_ALL ); 

Try visiting the problem page again.

If you still get a white page, please remote the two lines from your configuration.php file. Edit the .htaccess file in your site's root. Add the following to the end of the file:

php_flag display_errors On
php_value error_reporting 32767

and retry loading the problem page.

If you still get a white page, remove the two lines from your .htaccess file. Now, create a file called php.ini with the following content:

display_errors=on
error_reporting=E_ALL

and upload it into your site's administrator directory. Retry loading the problem page.

If you still get a white page contact your host. We need access to the error messages.

Please note that if you can not understand what the PHP error message means, just copy and paste it here verbatim so that we can take a look and point you to the right direction.

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!

user70572

Thanks for the suggestions which I could realise only partly:

i) have changed .htaccess to htaccess.bak : still blank

ii) have changed  main.php  to main-disable.php : still blank

As my host doesnot provide error logs and there aren't any at the Hosting Control Panel either, wanted to start with editing the files but most curiously my configuration.php ends by a curly brace and there is nowhere a closing PHP tag.

Any proposals to proceed?

Thanks in advance

nicholas
Akeeba Staff
Manager

Put the code after the curly brace, ignore the instructions' part regarding the closing PHP tag. The closing PHP tag is optional and often omitted.

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!