ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by ignat ignat 1 year, 9 months ago.

  • Creator
    Topic
  • #15192

    newtonsun
    Participant

    Hi I keep running into a 500 server error after I did deleted cache and did an apache restart. Here is the error logs related to the issue:

    [Mon Dec 07 16:34:54.391412 2015] [:error] [pid 31575] [client 38.99.162.133:15256] PHP Warning: require(/var/www/orocrm/app/cache/prod/doctrine/orm/Proxies/__CG__OroBundleOrganizationBundleEntityBusinessUnit.php): failed to open stream: No such file or directory in /var/www/orocrm/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

    [Mon Dec 07 16:34:54.391465 2015] [:error] [pid 31575] [client 38.99.162.133:15256] PHP Fatal error: require(): Failed opening required ‘/var/www/orocrm/app/cache/prod/doctrine/orm/Proxies/__CG__OroBundleOrganizationBundleEntityBusinessUnit.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/orocrm/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

    [Mon Dec 07 16:34:55.352929 2015] [:error] [pid 31576] [client 38.99.162.133:52121] PHP Warning: require(/var/www/orocrm/app/cache/prod/doctrine/orm/Proxies/__CG__OroBundleOrganizationBundleEntityBusinessUnit.php): failed to open stream: No such file or directory in /var/www/orocrm/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

    Thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #15238
    ignat
    ignat
    Oro Core

    Hi newtonsun,

    Did you run cache clear command after you have deleted cache files?
    Are these files exist (/var/www/orocrm/app/cache/prod/doctrine/orm/Proxies/__CG__OroBundleOrganizationBundleEntityBusinessUnit.php)?

    If they are exist the issue might be with permissions these files. For example if webserver user is something like “nginx” or “www-data” and files in application cache are owned by other user then web server running PHP application won’t be able to open these files and these error will trigger.

    Here is some information from Symfony website regards setup of file permissions: http://symfony.com/doc/current/book/installation.html#book-installation-permissions

    Thanks,
    Ignat

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.