Strange behavior happening in Silverstripe backend?

我与影子孤独终老i 提交于 2019-12-23 17:18:45

问题


All of a sudden whenever I try to click into a page in the silverstripe backend it initially displays like this, I was running SS 3.2, when this started happening I upgraded to 3.2.1 to see if that would fix the issues but nope:

Sometimes it displays this error message aswell: [User Warning] Couldn't set response type to 404 because of output on line 1 of /Users/computername/Sites/themename/mysite/code/Pages/HomePage.php

If I refresh it comes right but then if I go to add something through a gridfield after I click "create" it just goes to a blank screen but it still adds to the Dataobject.

Any idea whats happening?


回答1:


Sorted this. I had a space or two in front of my <?php tag on the HomePage.php - Now it is working fine :)



来源:https://stackoverflow.com/questions/34060991/strange-behavior-happening-in-silverstripe-backend

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