Your software
My Mautic version is: 2.15.3
My PHP version is: 5.6
Your problem
My problem is: I am trying to install mautic 2.15.3 on VPS server, on second step of installation process after entering the admin details it is showing following error.
However same environment is working for mautic 2.15.0 version.
Seems like crons are not working and giving following error, after running above command.
require(/var/www/html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php): failed to open
+stream: No such file or directory in /var/www/html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209
PHP Fatal error: require(): Failed opening required '/var/www/html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php'
+(include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209
It very much looks like PHP timed our before finishing creating your cache. Can you increase PHP timeout limit? I experienced systems where it took 2.5 min to warmup the cache.
Thanks dirk, If i increase the PHP timeout limit, will it also fix the screenshot error as well? i tried this on same VPS with php 7.0 and it was giving same error.
Did you run that PHP command (php app/console cache:warmup ) as root user? If you did, the web server user can’t write there as only root has permission to do so.