Jump to content

getting blank page when in client area server status and click on php info


durangod

Recommended Posts

I i am running a test on the client side and when i accessed the server status it shows

 

http ftp pop3 as green but then no other info, i click the phpinfo link and all i get is a blank white page. I checked my php info on the site and it shows error reporting on and i activated the error reporting also in general settings other tab, but still just a blank page.

 

also there is no info for server load and uptime on the client side.

 

On the admin side however i do get all the info on the admin control area for whmcs..

 

Any ideas ?

 

Thanks

Link to comment
Share on other sites

I got part of it done, i had to do a ransack to find it because the docs say this

 

PHP Info output is disabled by default for security reasons so if you would like to enable it, you simply need to uncomment the line "#phpinfo();" (remove the #) within the index.php file.

 

And the file is actually in the status dir so its /status/index.php

 

And clients can always use php info on their own sites but yeah i see there is a small risk here as there is some minor info i dont want them to see.

 

I still need to find out why server load and uptime is not showing on the client side server status page.

 

Again any ideas?

 

 

Update i may have to do some work on the status index page, its not even doing the echo at all to the table for those items, i even did a hard coded echo to force the text on the table and nothing, so theres something else goin on im sure. Any ideas would be great thanks. ;)

Edited by durangod
Link to comment
Share on other sites

well i guess the admin panel service status comes from the status/index and the client side service status comes from the serverstatus.php file. I have no access to the serverstatus php file so i guess i need to do a ticket on this.

Edited by durangod
Link to comment
Share on other sites

Support ticket done but i did want to share this with you all.

 

I went back commented out phpinfo again but i did also make a change to that status/index.php page.

 

The reason that i got a blank page and no error is because there is no error, when you comment out the php info, then it displays nothing at all.

 

So rather than have a client think there is a problem (because just a blank page shows) i added the following text to that page. I guess you can do a table and make it really pretty but i just did basic text.

 

here is what i did.

 

As you can see the php info is commented out and under that i put the text display.


#phpinfo();

   echo "phpinfo has been disabled for security purposes. Thank you for understanding.";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated