Closed jscholtysik closed 7 years ago
Can you try sub.domain.de/contao/install
instead, please?
Using this path the following error is in /var/logs/prod.log:
[2017-04-19 15:30:50] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\InstallationBundle\Controller\InstallationController::installAction","_route":"contao_install"},"request_uri":"http://contao4.bitsandmedia.de/contao/install","method":"GET"} [] [2017-04-19 15:30:50] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\Component\Filesystem\Exception\IOException(code: 0): Using the Contao\RequestToken class has been deprecated and will no longer work in Contao 5.0. Use the Symfony CSRF service via the container instead. at /www/htdocs/w016bce8/contao/vendor/symfony/symfony/src/Symfony/Component/Filesystem/LockHandler.php:86)"} []
Does the issue also occur if you download and install the .zip package from contao.org instead of using composer create-project
?
Yes, same error.
Did you try it with PHP 7 instead? I successfully installed C4 at All-Inkl some days ago - but I used PHP 7.
No, I haven't tried it yet, but I think Contao 4.3 ME should run also on PHP 5.6 without any problems, because the system requirements specify a minimum of PHP 5.5.
Could you please try if the Contao check finds any problems with your webspace?
I checked my webspace, no error appears in the Contao check 12.0:
I don't think this is something the Check would be able to detect. It appears the E_USER_DEPRECATED
errors are thrown and then catched by Symfony's LockHandler
for some reason and then thrown again as IOException
s.
I think the problem is that in LockHandler.php:71-87 the fopen()
call fails but error_get_last()
doesn’t get the right error message.
Today I tried my installation of Contao 4 at All-Inkl once more with PHP 7.1 CGI/FPM: No problem and the install tool start page appeared. Then I tried PHP 5.5 CGI/FPM, also no problem and also here the install tool start page appeared. Then I tried again PHP 5.6 CGI/FPM. Now also this configuration worked flawlessly and also here the install tool worked... Very strange and without any changes of the configuration with PHP 5.6 CGI/FPM
Sorry and thanks for your efforts!
Since the problem occurred within the LockHandler, I suspect it was simply a (temporary) problem with the CGI handler on the webserver and not within PHP or Contao itself.
My system:
Provider: All- Inkl Premium PHP: 5.6.29-nmm1 (cli)
I made the following steps at All-Inkl:
Created a subdomain: contao4.domain.de
Installed Composer in the root directory with:
curl -sS https://getcomposer.org/installer | php
php composer.phar create-project contao/managed-edition contao
The install.php is not reachable under sub.domain.de/install.php and the following error message appears: