1

Having some (phpmailer) mail issues today with my site so I though of checking System > System Info > Php Info and it's blank. No info at all.

Although there is info on each of the other tabs (PHP Settings, Config File & Directory Permissions). Img included.

enter image description here

Tested on different browsers and cleared cache.

What would cause this and any suggestions on how to resolve? Possible hack? Everything else on the site seems to be working front end and back. I am able to ftp to the site and view the config.php file which again looks ok to me.

Joomla 3.3.0 No recent changes/installations made.

  • 1
    I assume you have set error reporting to development. If not, try doing so and report back any errors. On a side note, I would also suggest updating to 3.3.6 – Lodder Feb 9 '15 at 15:39
  • I hadn't @Lodder good idea, it's now set to development and only reporting a Notice: Undefined offset: 0 on the Php Info page. – jonboy Feb 9 '15 at 15:44
4

Could it be that your server is configured to prevent the view of phpinfo()?

Check out your server php.ini to find the line saying disable_functions = phpinfo.

There you could remove the phpinfo-entry and try again.

UPDATE: just checked my guess on my local machine. The error message is the same:

Notice: Undefined offset: 0 in /joomlahome/administrator/components/com_admin/models/sysinfo.php on line 174 

So you can alter your php.ini, create a local one or ask your friendly administrator to do this for you. (see here).

  • Thanks @lars I never thought of that. I will maybe add a phpinfo file to the root of my site and see what shows. I thought Joomla would have presented me with some sort of permissions error though if this were the case? Rather than show a blank screen. – jonboy Feb 9 '15 at 16:59
  • Looking in the file administrator/components/com_admin/models/sysinfo.php on line 174 I see that there is noch check if the phpinfo() was successfully retrieved. When I check that with this if (!phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES)) then the correct error message is thrown: Warning: phpinfo() has been disabled for security reasons. Without this check we have an empty string with a not existing offset of 0. – lars k. Feb 9 '15 at 17:11
  • @larsk. Did you report the bug? – Ville Niemi Feb 10 '15 at 8:03
  • @VilleNiemi Nope. You think it should be? – lars k. Feb 10 '15 at 10:03
  • If you actually found a part of code missing and adding it results in a correct and already existing error message... I'd say that is a bug and should be reported. And if you include a ready sample code to fix it, I am sure the developers will be very happy to receive that report. – Ville Niemi Feb 10 '15 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.