Forum rules
RUNALYZE started as one-man-project with only one user and has grown to an app with around 13.000 users of our official online version. Server requirements and complexity of the app and its configuration grow with the feature list. Please understand that our main focus is on implementing new features and serving a performant online version. Therefore, support for local installations is limited and we cannot guarantee any support.

Please always provide log files (and screenshots, activity files if it makes sense) and all other needed information: https://docs.runalyze.com/en/latest/support.html

We spend our leisure time to make RUNALYZE as good as possible and we still have tons of great ideas, but time is scarce and after a hard training we first need some fruits or a smoothie. You can support the development of RUNALYZE with every financial contribution — We highly appreciate every grant.
https://blog.runalyze.com/donate/
helmut
Neuling
Posts: 8
Joined: Mon 18. May 2015, 19:23

[Fixed] Internal Server Error: Failed opening required ../var/cache/..

Thu 2. Feb 2017, 16:29

Hallo,
nach dem Update auf 3.2 (neueste Version, nach dem .js Patch) wollte ich das neue ANOVA Tool ausprobieren. Bei Aufruf erhalte ich auf der Weboberfläche einen

Code: Select all

"There was an error: 500 Internal Server Error"
Im apache error log erscheint:

Code: Select all

[Thu Feb 02 16:23:58.618314 2017] [:error] [pid 5660] [client x.x.x.x:41568] PHP Warning:  require(/var/www/html/runalyze/var/cache/prod/doctrine/orm/Proxies/__CG__RunalyzeBundleCoreBundleEntityEquipmentType.php): failed to open stream: No such file or directory in /var/www/html/runalyze/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209, referer: https://run.xyz.de/dashboard
[Thu Feb 02 16:23:58.618495 2017] [:error] [pid 5660] [client x.x.x.x:41568] PHP Fatal error:  require(): Failed opening required '/var/www/html/runalyze/var/cache/prod/doctrine/orm/Proxies/__CG__RunalyzeBundleCoreBundleEntityEquipmentType.php' (include_path='.:/usr/share/php') in /var/www/html/runalyze/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209, referer: https://run.xyz.de/dashboard
Es scheint also irgend ein php file zu fehlen, dies aber im cache Verzeichnis. Das entsprechende File ist aber nirgends unter der Document Root zu finden.
Im /var/logs/prod.log steht so etwas ähnliches:

Code: Select all

[2017-02-02 16:23:17] request.INFO: Matched route "tools-anova". {"route":"tools-anova","route_parameters":{"_controller":"Runalyze\\Bundle\\CoreBundle\\Controller\\My\\ToolsController::anovaAction","_route":"tools-anova"},"request_uri":"https://run.xyz.de/my/tools/anova","method":"GET"} []
[2017-02-02 16:23:17] security.DEBUG: Read existing security token from the session. {"key":"_security_default"} []
[2017-02-02 16:23:17] security.DEBUG: User was reloaded from a user provider. {"username":"helmut","provider":"Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider"} []
[2017-02-02 16:23:17] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: require(): Failed opening required '/var/www/html/runalyze/var/cache/prod/doctrine/orm/Proxies/__CG__RunalyzeBundleCoreBundleEntityEquipmentType.php' (include_path='.:/usr/share/php')" at /var/www/html/runalyze/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Compile Error: require(): Failed opening required '/var/www/html/runalyze/var/cache/prod/doctrine/orm/Proxies/__CG__RunalyzeBundleCoreBundleEntityEquipmentType.php' (include_path='.:/usr/share/php') at /var/www/html/runalyze/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"} []
[2017-02-02 16:23:17] security.DEBUG: Stored the security token in the session. {"key":"_security_default"} []
[2017-02-02 16:23:58] request.INFO: Matched route "tools-anova". {"route":"tools-anova","route_parameters":{"_controller":"Runalyze\\Bundle\\CoreBundle\\Controller\\My\\ToolsController::anovaAction","_route":"tools-anova"},"request_uri":"https://run.xyz.de/my/tools/anova","method":"GET"} []
[2017-02-02 16:23:58] security.DEBUG: Read existing security token from the session. {"key":"_security_default"} []
[2017-02-02 16:23:58] security.DEBUG: User was reloaded from a user provider. {"username":"helmut","provider":"Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider"} []
[2017-02-02 16:23:58] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: require(): Failed opening required '/var/www/html/runalyze/var/cache/prod/doctrine/orm/Proxies/__CG__RunalyzeBundleCoreBundleEntityEquipmentType.php' (include_path='.:/usr/share/php')" at /var/www/html/runalyze/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Compile Error: require(): Failed opening required '/var/www/html/runalyze/var/cache/prod/doctrine/orm/Proxies/__CG__RunalyzeBundleCoreBundleEntityEquipmentType.php' (include_path='.:/usr/share/php') at /var/www/html/runalyze/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"} []
[2017-02-02 16:23:58] security.DEBUG: Stored the security token in the session. {"key":"_security_default"} [] 


Bin dankbar für jeden Tip.
0 x

User avatar
laufhannes
Core developer
Posts: 719
Joined: Mon 29. Jul 2013, 20:59

Re: Problem mit ANOVA Tool

Thu 2. Feb 2017, 16:35

Wann immer in den Logs etwas mit

Code: Select all

...var/cache/...
steht, sollte der erste Versuch sein, den Cache (also gerade alles in var/cache/) zu leeren. Danach sollte das Problem hoffentlich verschwunden sein.
0 x
User help -- short questions via Twitter, Facebook

helmut
Neuling
Posts: 8
Joined: Mon 18. May 2015, 19:23

Re: Problem mit ANOVA Tool

Thu 2. Feb 2017, 16:48

So einfach kann die Welt sein :-) Danke, nach Löschen des Caches kann ich das Tool nutzen. Many thanks. :D
0 x

Return to “Runalyze v3.2.x”

Who is online

Users browsing this forum: No registered users and 1 guest