安装后 Akeneo 错误/缓存错误
Akeneo error after installation / Cache Error
我的 akeneo 安装工作非常好,没有任何错误。但是当我要启动应用程序时,出现以下错误:
Warning:
require(web/akeneo/pim-community-standard/var/cache/prod/doctrine/orm/Proxies/__CG__PimBundleCatalogBundleEntityLocale.php):
failed to open stream: No such file or directory in
web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
on line 209
Fatal error: require(): Failed opening required 'web/akeneo/pim-community-standard/var/cache/prod/doctrine/orm/Proxies/__CG__PimBundleCatalogBundleEntityLocale.php'
(include_path='.:/usr/local/lib/php') in
web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
on line 209
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Compile Error:
require(): Failed opening required
'web/akeneo/pim-community-standard/var/cache/prod/doctrine/orm/Proxies/__CG__PimBundleCatalogBundleEntityLocale.php'
(include_path='.:/usr/local/lib/php') in
web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209
Stack trace: #0 {main} Next RuntimeException: Failed to start the
session because headers have already been sent by
"web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php"
at line 209. in
web/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:141
Stack trace: #0
web/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpFoun
in
web/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
on line 141
有人可以帮助我吗?
你清理缓存了吗?
用命令
bin/console cache:clear --env=prod
(或 env=dev)
或更多"hard"方式
rm -rf var/cache/*
我的 akeneo 安装工作非常好,没有任何错误。但是当我要启动应用程序时,出现以下错误:
Warning: require(web/akeneo/pim-community-standard/var/cache/prod/doctrine/orm/Proxies/__CG__PimBundleCatalogBundleEntityLocale.php): failed to open stream: No such file or directory in web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209 Fatal error: require(): Failed opening required 'web/akeneo/pim-community-standard/var/cache/prod/doctrine/orm/Proxies/__CG__PimBundleCatalogBundleEntityLocale.php' (include_path='.:/usr/local/lib/php') in web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209 Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Compile Error: require(): Failed opening required 'web/akeneo/pim-community-standard/var/cache/prod/doctrine/orm/Proxies/__CG__PimBundleCatalogBundleEntityLocale.php' (include_path='.:/usr/local/lib/php') in web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209 Stack trace: #0 {main} Next RuntimeException: Failed to start the session because headers have already been sent by "web/akeneo/pim-community-standard/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php" at line 209. in web/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:141 Stack trace: #0 web/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpFoun in web/akeneo/pim-community-standard/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 141
有人可以帮助我吗?
你清理缓存了吗?
用命令
bin/console cache:clear --env=prod
(或 env=dev)
或更多"hard"方式
rm -rf var/cache/*