Symfony项目弄乱了缓存

时间:2014-11-03 19:44:05

标签: php symfony caching

我在同一台服务器上有两个Symfony项目。

项目1 存在于:

/myhomedirectory/myproject/ (Symfony 2.1)

项目2 存在于:

/myhomedirectory/myotherproject/ (Symfony 2.0)

我一直有503个错误,其中请求实际加载了内容,但响应代码是503。

查看日志,似乎项目1 正在加载来自项目2 的代码...有人知道这是怎么回事吗?

PHP   1. {main}() /myhomedirectory/myproject/www/app.php:0
PHP   2. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /myhomedirectory/myproject/www/app.php:22
PHP   3. Symfony\\Component\\HttpKernel\\HttpCache\\EsiResponseCacheStrategy->update() /myhomedirectory/myproject/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:206
PHP   4. min() /myhomedirectory/myotherproject/symfony/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategy.php:68 
PHP Warning:  min(): Array must contain at least one element in /myhomedirectory/myotherproject/symfony/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategy.php on line 70

HttpCache.php#L206称之为 line 70 on version 2.0代替the function on same project, which is 2.1

所以代码混合在一起......有人知道这是怎么回事吗?

0 个答案:

没有答案