I get a white screen when I click

tharldvs1
@tharldvs1
10 years ago
8 posts
dashboard and when I try to download from market place and http://myent.us/members/core/system_check. How can I fix this problem?
updated by @tharldvs1: 06/10/14 06:27:04PM
brian
@brian
10 years ago
10,148 posts
Welcome to the Jamroom forums!

A white screen usually means a PHP error - i.e. your PHP has a missing function or configuration that is causing the error.

Go into your ACP -> Core -> Tools -> Activity Logs and look in the "PHP Error Log" tab - that should tells us the issue.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
tharldvs1
@tharldvs1
10 years ago
8 posts
No PHP Errors at this time
brian
@brian
10 years ago
10,148 posts
I'm going to guess that the "system" function has been disabled on your server - that's why those functions won't run. Try this - create a new file called "phpinfo.php" with this inside:

<?php
phpinfo();
?>

And upload it your server into your jamroom root directory - then run it from your browser - i.e.

yoursite.com/phpinfo.php

There will be a lot of output, scroll down until you get to the "core" section and look in the "disabled_functions" line and let me know if you have any disabled functions.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts

Go ahead and remove that file - you don't want to make that available everywhere.

The root cause is that you have a list of functions that have been disabled by the "Suhosin" extension on your server:
passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec
The only one of those that Jamroom needs is the "system" function - that will need to be allowed in your suhosin config, then the web server needs to be restarted.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
tharldvs1
@tharldvs1
10 years ago
8 posts
Sorry but I am a novice can you explain how to do this?
tharldvs1
@tharldvs1
10 years ago
8 posts
Oh and by the way how good are you at php, java, and actionscript? as for above I just need to no where to find the file and what line to edit.
brian
@brian
10 years ago
10,148 posts
I would recommend contacting your hosting provider - it's something they will need change at the server level.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 05/01/14 02:32:42PM
tharldvs1
@tharldvs1
10 years ago
8 posts
LOLOLOLOLOLOLOL

I am the hosting provider!!! I just finished building my server from scratch!!!
Server currently: centos6.5 zpanelx, red5, and haveing problems with ffmpeg but will be finished soon, I got a few ideas that will make you and me rich if you can help me..
brian
@brian
10 years ago
10,148 posts
tharldvs1:
LOLOLOLOLOLOLOL

I am the hosting provider!!! I just finished building my server from scratch!!!
Server currently: centos6.5 zpanelx, red5, and haveing problems with ffmpeg but will be finished soon, I got a few ideas that will make you and me rich if you can help me..

Ahh - no worries ;)

I'm not a centos user, but I think you'll find the suhosin config at /etc/php5/conf.d/suhosin.ini - open that up and remove "system" from the disabled functions, then restart apache:

/etc/init.d/httpd restart

Hopefully that is where the config file is - if not, try doing:

locate suhosin | grep ini

and see if anything comes up.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
tharldvs1
@tharldvs1
10 years ago
8 posts
i could not find in suhosin.ini when i open i dont see system
em
brian
@brian
10 years ago
10,148 posts
Based on this:

http://forums.zpanelcp.com/Thread-Where-s-ZPanel-Suhosin-Config-File

it looks like the config might be at:

/etc/php.d/suhosin.ini

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
tharldvs1
@tharldvs1
10 years ago
8 posts
that is where I found it but I did not see system or disabled parts that you mentioned above
brian
@brian
10 years ago
10,148 posts
tharldvs1:
that is where I found it but I did not see system or disabled parts that you mentioned above

I can see the disabled functions in your suhosin, so it has to be defined somewhere - that's not the default. It looks like you are running a server control panel, so look in your server config in your control panel and see if you can spot "PHP Options" or something like that.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Be careful with the Zpanel system it has been hacked by many and if you plan on running a professional site id recomend not using the zpanel system. Zpanel is cool however hackers have found an easy way in.. Just thought id pass that along. http://www.h-online.com/security/news/item/zPanel-hacked-after-support-team-member-insults-forum-user-1864795.html

Tags