OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM Server error 500 when tryign to access OROcrm

This topic contains 1 reply, has 2 voices, and was last updated by  ignat 8 years, 4 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30247

    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
  • #30248

    ignat
    Participant

    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)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top