White screen when access

Hi,

CentOS 7
SuiteCRM 7.5.3
PHP 5.4.16
Nginx 1.6.3

I try to install SuiteCRM to test it before to migrate from SugarCRM.

http://crm.example.com redirect to http://crm.example.fr/index.php?action=Login&module=UsersAfter but i have a white screen with no error.

PHP:
[spoiler]upload_max_filesize = 256M
post_max_size = 256M
memory_limit = 256M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
variables_order = “EGPCS”[/spoiler]

NGINX conf.d:
[spoiler]server {
listen 80;
server_name crm.example.com;
root /var/www/html/suitecrm;
index index.php index.html;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
location ~ /. {
deny all;
access_log off;
log_not_found off;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
# Add trailing slash to /wp-admin requests.
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
location ~
.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}
location ~ .php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}[/spoiler]

NGINX nginx.conf specific configuration:
[spoiler] #keepalive_timeout 65;
types_hash_max_size 2048;
#Erreur 504 gateway timeout
keepalive_timeout 1200;
#Antity too large error 413
client_max_body_size 100M;

fastcgi_read_timeout 300;
proxy_connect_timeout       1200;
proxy_send_timeout          1200;
proxy_read_timeout          1200;
send_timeout                1200;

gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_min_length    256;
gzip_types
    application/x-javascript
    application/atom+xml
    application/javascript
    application/json
    application/rss+xml
    application/vnd.ms-fontobject
    application/x-font-ttf
    application/x-web-app-manifest+json
    application/xhtml+xml
    application/xml
    font/opentype
    image/svg+xml
    image/x-icon
    text/css
    text/plain
    text/xml
    text/x-component;

[/spoiler]

SuiteCRM directory right :
[spoiler]-rwxr-xr-x 1 nobody nobody 2743 Mar 15 15:08 acceptDecline.php
drwxrwxr-x 12 nobody nobody 138 Apr 1 11:07 cache
-rwxr-xr-x 1 nobody nobody 3590 Mar 15 15:08 campaign_tracker.php
-rwxr-xr-x 1 nobody nobody 2748 Mar 15 15:08 campaign_trackerv2.php
-rwxrwxr-x 1 nobody nobody 47 Mar 15 15:08 config_override.php
-rwxrwxr-x 1 nobody nobody 8365 Apr 1 11:40 config.php
-rwxr-xr-x 1 nobody nobody 3922 Mar 15 15:08 cron.php
-rwxr-xr-x 1 nobody nobody 2446 Mar 15 15:08 crossdomain.xml
drwxrwxr-x 6 nobody nobody 86 Mar 15 15:08 custom
drwxrwxr-x 3 nobody nobody 117 Mar 15 15:08 data
-rwxr-xr-x 1 nobody nobody 2388 Mar 15 15:08 dictionary.php
-rwxr-xr-x 1 nobody nobody 11578 Mar 15 15:08 download.php
-rwxr-xr-x 1 nobody nobody 2392 Mar 15 15:08 emailmandelivery.php
drwxrwxr-x 2 nobody nobody 4096 Mar 15 15:08 examples
-rwxr-xr-x 1 nobody nobody 4912 Mar 15 15:08 export.php
-rwxr-xr-x 1 nobody nobody 967627 Mar 15 15:08 files.md5
-rwxr-xr-x 1 nobody nobody 2811 Mar 15 15:08 HandleAjaxCall.php
-rwxr-xr-x 1 nobody nobody 2371 Mar 15 15:08 ical_server.php
-rwxr-xr-x 1 nobody nobody 2735 Mar 15 15:08 image.php
drwxrwxr-x 56 nobody nobody 4096 Mar 15 15:08 include
-rwxr-xr-x 1 nobody nobody 2526 Apr 1 12:03 index.php
drwxrwxr-x 6 nobody nobody 4096 Mar 15 15:08 install
-rwxr-xr-x 1 nobody nobody 29438 Mar 15 15:08 install.php
-rwxr-xr-x 1 nobody nobody 13373 Mar 15 15:08 json_server.php
drwxrwxr-x 3 nobody nobody 119 Mar 15 15:08 jssource
-rwxr-xr-x 1 nobody nobody 2737 Mar 15 15:08 leadCapture.php
-rwxr-xr-x 1 nobody nobody 34539 Mar 15 15:08 LICENSE.txt
drwxrwxr-x 2 nobody nobody 30 Mar 15 15:08 log4php
-rwxr-xr-x 1 nobody nobody 2313 Mar 15 15:08 log_file_restricted.html
-rwxr-xr-x 1 nobody nobody 2376 Mar 15 15:08 maintenance.php
drwxrwxr-x 2 nobody nobody 4096 Mar 15 15:08 metadata
-rwxr-xr-x 1 nobody nobody 2298 Mar 15 15:08 metagen.php
drwxrwxr-x 3 nobody nobody 98 Mar 15 15:08 ModuleInstall
drwxrwxr-x 108 nobody nobody 4096 Mar 15 15:08 modules
lrwxrwxrwx 1 nobody nobody 33 Apr 1 11:23 nginx_suitecrm.log -> /var/log/nginx/suitecrm_error.log
-rwxr-xr-x 1 nobody nobody 2890 Mar 15 15:08 pdf.php
-rwxr-xr-x 1 nobody nobody 2742 Mar 15 15:08 README.md
-rwxr-xr-x 1 nobody nobody 2737 Mar 15 15:08 removeme.php
-rwxr-xr-x 1 nobody nobody 73 Mar 15 15:08 robots.txt
-rwxr-xr-x 1 nobody nobody 3588 Mar 15 15:08 run_job.php
drwxrwxr-x 11 nobody nobody 103 Mar 15 15:08 service
drwxrwxr-x 2 nobody nobody 4096 Mar 15 15:08 soap
-rwxr-xr-x 1 nobody nobody 4091 Mar 15 15:08 soap.php
-rwxr-xr-x 1 nobody nobody 5327 Mar 15 15:08 SugarSecurity.php
-rwxr-xr-x 1 nobody nobody 150 Mar 15 15:08 sugar_version.json
-rwxr-xr-x 1 nobody nobody 2264 Mar 15 15:08 sugar_version.php
-rw-r–r-- 1 nobody nobody 7503 Apr 1 12:18 suitecrm.log
-rwxr-xr-x 1 nobody nobody 161 Mar 15 15:08 suitecrm_version.php
drwxrwxr-x 5 nobody nobody 46 Mar 15 15:08 themes
-rwxr-xr-x 1 nobody nobody 5843 Mar 15 15:08 TreeData.php
drwxrwxr-x 2 nobody nobody 66 Apr 1 11:06 upload
-rwxr-xr-x 1 nobody nobody 2707 Mar 15 15:08 vcal_server.php
-rwxr-xr-x 1 nobody nobody 2980 Mar 15 15:08 vCard.php
-rwxr-xr-x 1 nobody nobody 2743 Mar 15 15:08 WebToLeadCapture.php
drwxrwxr-x 2 nobody nobody 35 Mar 15 15:08 XTemplate
drwxrwxr-x 8 nobody nobody 4096 Mar 15 15:08 Zend
[/spoiler]

This bug seems similar but doesn’t help to solve my problem :
https://suitecrm.com/forum/installation-upgrade-help/408-white-screen-on-installation?start=15

Could you please help me to find what is wrong with my installation ?

Switch from CentOS 7 to CentOS 6, solve the problem

I had this problem tonight, and went through each of these to no avail. But I narrowed down the problem by looking at the error logs in my root folder.

I had no memory limit set in my wp-config.php file

Adding the line

/** Memory Limit */
define(‘WP_MEMORY_LIMIT’, ’64M’);

To the file and uploading it solved it. So maybe add this as another cause of WSOD?

Dot net Training in Chennai | Cloud Computing Training in Chennai | Linux Training in Chennai | Salesforce Training in Chennai :cheer:

A white screen usually indicates a fatal error so you want to either check your php error log or turn on php error reporting. This can be done by placing this line in your index.php file

error_reporting(E_ALL); ini_set(“display_errors”, 1); or doing it in your php.ini file.

Either way you need to see the error thats causing it to fail.