Environmental Information not loading

Permalink
Hi Guys,

I need to get the Environmental Information on my 5.7 Installation but when I log in as Admin (using Chrome) and go into Environmental Information it tells me:

"Unable to load environment info"

Any Ideas what is the issue?

Thank you ...

Fanflame

Fanflame
 
Gondwana replied on at Permalink Reply
Gondwana
Unfortunately, I think c5 displays this message while it's trying to get the info. If you just wait, you might find that the message gets replaced by The Good Stuff. Give it a minute.
Fanflame replied on at Permalink Reply
Fanflame
Hi Goodwana

Thanks for your reply I have been away. I logged into the Environment Information window and left it for ages but it did not update at all just showed the ominous message:

Unable to load environment info

Have any one got any ideas on this as it is rather annoying.

Thank you in anticipation....

Fanflame
Fanflame replied on at Permalink Reply
Fanflame
Please can someone help me:

I have found now that the info.php file in the concrete single_pages folder is set not to show Environmental Information as default. I changed the 'false' to 'true' but it made no difference. I changed the echo text just to see if it was referencing this file and yes that changed.

So what do I have to do - Step by Step to get the Environmental Information to show?

<?php defined('C5_EXECUTE') or die("Access Denied.");?>
<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Environment'), 'false', 'span8 offset2');?>
.
PixelFields replied on at Permalink Reply
PixelFields
Hi Fanflame,

We've previously worked around this issue by manually creating a .php file with ftp that contains the following:
<? phpinfo(); ?>


Navigate to that page directly and it should show you the info you're looking for.
Fanflame replied on at Permalink Reply
Fanflame
Hi Pixelfield,

Thanks for that information I will have a go. Where would one actually put that new php file?

Also do you know why the concrete team would put the Environmental Information link in the System Settings folder and then not give anyone access to it? I cannot understand that mindset?

Many thanks for coming back to me on this and being so helpful.

Fanflame
PixelFields replied on at Permalink Reply
PixelFields
Create a file called e.g. myinfo.php with the above code into the public HTML folder with FTP then navigate towww.www.yoursite.com/myinfo.php...


The environment info does usually work in the dashboard but it has bugged out on us before as I said but the workaround is quick and easy so we've never worried about it.
Fanflame replied on at Permalink Reply
Fanflame
Hi again and thank you for your help.

I have created a basic file called MyInfo.php with the following code

<html>
     <body>   
          <? phpinfo(); ?>
     </body>
</html>


I place it in the public_html/MySiteName/ folder but when I go to it nothing happens but it opens for edit? Sorry to be a total novice. Can you give me specific instructions please to help me get this working.

Many thanks for your patient assistance.

Fanflame
PixelFields replied on at Permalink Reply
PixelFields
You just want a plain text file with a .php extension containing nothing but
<? phpinfo(); ?>
in it, don't include the html tags as you've done.

You might find this article helpful:https://mediatemple.net/community/products/dv/204643880/how-can-i-cr...
Gondwana replied on at Permalink Reply
Gondwana
This add-on
https://www.concrete5.org/marketplace/addons/php-code-block...
lets you place php in a block. Be careful with it; you can seriously bork your site.

I fancy that phpinfo doesn't display as much as c5's 'environment' thing, so it's only a partial alternative.