No access to the Dashboard "Debug" section!

Permalink 1 user found helpful
Hi,

I get no access to the "Debug" area in the dashboard:

Warning: phpinfo () has been disabled for security reasons in / home/htdocs/web56/html/concrete/controllers/dashboard/settings/controller.php on line 460

What can I do? The code in controller.php the situation is no different than other installations where there are no problems. I have that site created completely new online and copied the data from the local installation.

 
mose replied on at Permalink Reply
mose
Do you have access to the php.ini? If so, edit it and remove phpinfo from the "disable_functions =" line (and restart the web server).
mose replied on at Permalink Reply
mose
If my post was the answer to your question, please mark it as the answer. Otherwise, add a message with the solution you found so that others might try it if they encounter the same problem. Thank you.
uliII replied on at Permalink Reply
Hi,

I still have no solution! And no access to php.ini.
mose replied on at Permalink Reply
mose
Have you requested that phpinfo be removed from the "disable_functions" line in php.ini?
uliII replied on at Permalink Reply
Yes, but no chance.

The problem occurs after updating to the latest version c5. However, I have switched from the 5.3 on the 5.405.
nteaviation replied on at Permalink Reply
nteaviation
I found this:
http://drupal.org/node/243993

You may try putting this in your .htaccess file:

php_value disable_functions

I have my doubts the above will work :(

If you create your own php.ini in the webroot, will it over-ride some of the default webhost php.ini settings? If so, just put the following in your new php.ini:

disable_functions =
mose replied on at Permalink Best Answer Reply
mose
If nteaviation's suggestion does not work, then you will need to do a little surgery. Edit <root>/concrete/controllers/dashboard/settings/controller.php and find the following lines (starts at line 459 here).

ob_start();
phpinfo();
$phpinfo = array('phpinfo' => array());

Add "//" to be beginning of the second line so that they look like below.

ob_start();
// phpinfo();
$phpinfo = array('phpinfo' => array());

Save the changes. Access the dashboard and see if that fixes the problem for you. If it does, then you will need to make this change every time you update Concrete5 to a newer version.
uliII replied on at Permalink Reply
Hi,

big thanks!

This (// phpinfo.. comment out) is exactly the solution!
mose replied on at Permalink Reply
mose
Please mark my response as the answer to this issue. Thank you.