Symfony 2.2 white/blank screen in prod (another one)

泪湿孤枕 提交于 2019-12-11 04:15:25

问题


I updated a few files on my server, remove the cache-dir and had to recognize, that I receive a white page, after refreshing I was able to login and then got a blank screen. I tried this localhost and got the same. app_dev works well. Googleing around I fount this change in the app.php

$kernel = new AppKernel('prod', true); // >> before: new AppKernel('prod', false); 

This helped, since I had removed the cache again. Warming the cache didn't help either:

php console cache:clear --env=prod --no-debug

I developed this app under Symfony 2.0 und updated it while developing. It was the first time I had this problem. I just can find older threads for this problem, so it seems to me, that I may done a fault while migrating.

Any hint?


EDIT: 1. Log just says (yesterday):

pushHandler.INFO: get: [] []

But as I remember, it didn't log that every time. btw: I have no accelerator installed.

来源:https://stackoverflow.com/questions/16012391/symfony-2-2-white-blank-screen-in-prod-another-one

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!