Sessions Path Issue on Install

Iā€™m installing SuiteCRM on a Ubuntu 18.04.3 LTS with Apache2

Sessions are enabled. I use them on other sites on this server. It is a development sever.

Iā€™m getting the following error:


SuiteCRM relies upon PHP sessions to store important information while connected to this web server. Your PHP installation does not have the Session information correctly configured.

A common misconfiguration is that the ā€˜session.save_pathā€™ directive is not pointing to a valid directory.

Please correct your PHP configuration in the php.ini file located here below.

/etc/php/7.3/apache2/php.ini


Iā€™ve verified that sessions are indeed running and the path is real and writable by Apache. There are numerous session files in that directory.
Iā€™ve read all the articles I can find on this subject but havenā€™t found a solution.

Could it be caused by another underlying issue? I found this in the Apache error log:

PHP Fatal error: Uncaught Exception: SuiteCRM is not installed. Entry point needs an installed SuiteCRM, please install first. in /srv/www/lhtek.dev/suitecrm/public_html/include/entryPoint.php:59\nStack trace:\n#0 /srv/www/lhtek.dev/suitecrm/public_html/index.php(47): require_once()\n#1 {main}\n thrown in /srv/www/lhtek.dev/suitecrm/public_html/include/entryPoint.php on line 59

Any clues as to how to sleuth this?

Which version of SuiteCRM are you trying to install?

Do you have anything in your install.log?

And in the php_errors.log (or whatever log you have defined in your php.ini)?

Thanks for the reply!

Yes, I checked the logs and those didnā€™t give any real hints or clues.

I DID ind a solution, though. The actual reason for the issue is one for the books.

I had downloaded the zip file from my Mac, unzipped it and then manually copied the files to my Ubuntu server via SMB. Apparently Apple had added some ā€œquarantinedā€ code to t he headers? Yeah, that sounds weird to me too. I found this out by viewing the headers of the error page. So I deleted everything and downloaded the zip file directly on my server. Once I unzipped it everything loaded fine.

Thanks again for the reply.

1 Like