The initial config process fails, because of wrong default rights
I just have tried to install Framadate v1.1.0. I followed the instractions of the Wiki. If I try to open the configuration form, I get a blank page and the apache log shows this error:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Services::init() must be an instance of Doctrine\\DBAL\\Connection, null given, called in /var/www/html/framadate/app/inc/init.php on line 100 and defined in /var/www/html/framadate/app/inc/services.php:28\nStack trace:\n#0 /var/www/html/framadate/app/inc/init.php(100): Services::init(NULL, Object(Smarty), NULL)\n#1 /var/www/html/framadate/index.php(22): include_once('/var/www/vhosts...')\n#2 {main}\n thrown in /var/www/html/framadate/app/inc/services.php on line 28'
EDIT: The above error was caused by a permission issue.
It seems that the permissions of the directories/files were not set properly when you unzip
the release version of Framadate or you git clone
the current version. I had to set the persmission manually to make Framadate work on my Plesk managed server. I do not talk about the user permission (you set with chown
), but the user,group rights you set with chmod
, they are not set properly, so that the initial config process fails.
P.S.: It would be a good idea not to mix up french with english, at the moment it is almost impossible to search for an issue.