SuiteCRM Blank Screen prior to installation

Hey guys,
I am trying to install SuiteCRM Community Edition. I unzipped all the files.
In the documentroot folder there is manually created phpinfo file, which renders fine, however the “factory” install.php renders blank. The index.php file redirects to install.php.
Tried in both Firefox and Chromium. Prior to SuiteCRM I had vtiger on that host which ran fine.

I checked out some other topics here about this issue but I don’t think it’s the permissions issue as I already did and re-did that. How can I debug/solve this? Any ideas?

Which version is this?

What clues do you find in install.log, if any?

When doing (and redoing) the permissions it’s a common mistake to get the ownerships wrong. Start by finding out which user your web server runs under.

Sometimes this command will give you the answer:

ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root | head -n1 | awk '{print $1}'
1 Like

latest version 7.11.10
there is no install log
user/group is www-data

Thanks. I’ll assume you used www-data in the chown -R command you used, and that listing ls -al shows that the files are owned by that user, and that they have the appropriate permissions.

moving on to the next suspect - missing PHP modules.

Please tell me your OS version and your PHP version.

As an example, I use this on Ubuntu for PHP 7.3 when installing:

apt install zip unzip iotop htop php-mbstring php7.3-mbstring php-gettext php-xml php7.3-zip php7.3-imap php7.3-gd php7.3-curl php7.3-intl php7.3-mysql php-gd phpmyadmin

See if you have all the necessary modules, and if they are enabled in your php.ini. Then restart web server.

It’s also good to check your php.ini to see where the web server is logging PHP errors (files is usually called php_errors.log, but you need to enable it). This should tell you precisely which required modules might be missing.

1 Like

Here are some of the results:
https://pastebin.com/8h7VLzQb

Uncomment this line (remove the initial ; character)

;error_log = php_errors.log

and restart web server. Then run install again and check that file to see what it says.

1 Like

This is what I found:
07-Jan-2020 17:03:47 UTC] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 65536 bytes) in /var/www/suitecrm/install.php on line 85
[07-Jan-2020 17:03:47 UTC] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 73728 bytes) in /var/www/suitecrm/include/utils.php on line 3314
[07-Jan-2020 17:06:39 UTC] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 65536 bytes) in /var/www/suitecrm/install.php on line 85
[07-Jan-2020 17:06:39 UTC] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 73728 bytes) in /var/www/suitecrm/include/utils.php on line 3314

Increase memory_limit in your php.ini and restart web server.

I suggest using 512M or at least 256M.

While you’re there, increase also

max_upload_size
max_post_size
max_execution_time
1 Like

The installation is live! Thank you very much for your support :slight_smile: Very appreciated.

1 Like