Support

Admin Tools

#15726 Administration working but intermittent Head administrator error 500 in firebug?

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 Chacapamac on Thursday, 11 April 2013 08:46 CDT

Chacapamac
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?)? Yes
Joomla! version: (1.5.26))
Admin Tools version: 2.2.10

Description of my issue:

When in the administration I get this error in firebug in the Net pane and it seem to be after few minutes and repeat itself again and again (on few 1.5.26 sites) ....

Head Administrator — 500 internal server — Size 0k
(location of the error http://www.fermesvalens.com/administrator/)

HEADERS
Response Headersview source
Date Thu, 11 Apr 2013 02:23:56 GMT
Server Apache
P3P CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Content-Encoding gzip
Vary Accept-Encoding
Cache-Control max-age=3600
Expires Thu, 11 Apr 2013 03:23:56 GMT
Connection close
Content-Type text/html
Request Headersview source
Host www.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
User-Agent Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Referer url of Whatever page in the administration I’m on


I got an admin tool htaccess and lot of 444 php files in the administration ( I try index.php at 644 and same error) ?????

nicholas
Akeeba Staff
Manager
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 root to htaccess.bak If there is a .htaccess file in the site's administrator directory, try renaming it as well. If that solves the problem, the issue was with a directive in your .htaccess file. We'd like to recommend you to try removing directives from your .htaccess until you find the one which causes the problem.

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 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 Maximum (Joomla! 1.5) or 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. If you don't have a file named .htaccess create a new one. Beware that htaccess.txt is a DIFFERENT FILE and will NOT work! 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 root and your site's administrator directory. Retry loading the problem page.

IMPORTANT: Sometimes the error won't show. Edit your configuration.php and find the line starting with public $error_reporting and set it to:
public $error_reporting = 'development';

This instructs Joomla! to enable maximum error, warnings and notices verbosity. In 99.9% of cases it will result in the error messages being shown on the browser.

If you still get a white page, delete the php.ini files your created and choose a different host. If your host doesn't allow you to debug any PHP-related issues there is no point paying them.

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!

Chacapamac
The administration and the site work proper (with the intermittent error just popping out in firebug at few minutes interval, when you are in the administration.

Administration error-log show clearly an error — I think not related to Akeeba Admin, not sure...
[10-Apr-2013 20:59:36] PHP Warning:  require_once() [<a href='function.require-once'>function.require-once</a>]: Filename cannot be empty in /zzzzzzzzzzzzzzzzzzzzzzz/administrator/components/com_cpanel/admin.cpanel.php on line 17
[10-Apr-2013 20:59:36] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/components/com_cpanel/admin.cpanel.php on line 17


I will look if I have some infos when Google this...


Chacapamac
Close this ticket — I find the problem

Sorry to bother....

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!