Your software
My Mautic version is: 2.15.2
My PHP version is: 5.6.40
Your problem
My problem is: Hi, I need to move Mautic to a different server (cPanel), with a different path for DocumentRoot (original path: /var/www/mautic, new path: /home/mauticcompany/public_html).
I just copied files and mysql (with correct privileges) and make adjustments in local.php to new path.
When I try to open login page, I got error
These errors are showing in the log:
The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.
System administrators, check server logs for errors.
error.log shows this:
[03-Jan-2020 17:26:17 Europe/Rome] PHP Warning: require(/home/mauticcompany/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory in /home/mauticcompany/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209
[03-Jan-2020 17:26:17 Europe/Rome] PHP Fatal error: require(): Failed opening required '/home/mauticcompany/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/mauticcompany/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209
Steps I have tried to fix the problem:
File /home/mauticcompany/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticPluginBundleEntityPlugin.php actually is not present. I tried to remove all content from app/cache, but without success.
Any suggestion? Thank you!