ChurchInfo: Fatal Error: $_SESSION[‘sURLPath’] is empty

After installing ChurchInfo I tried to login and received the following error.

Fatal Error: $_SESSION[‘sURLPath’] is empty

This was – for me -caused by a permissions problem. PHP could not create a session file in the /var/lib/php/session directory due to the fact that the apache user had no permissions to this directory. I set the group ownership for this directory to apache and ensured that permissions were set to 775 and could then login without error.

Note that the location of this directory may be different for your Linux distribution and the release of PHP on your system.