![]() |
|
WARNING: Cannot modify header information - headers already sent by - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: WARNING: Cannot modify header information - headers already sent by (/thread-12737.html) |
WARNING: Cannot modify header information - headers already sent by - darkufo - 2015-05-27 Hi, I wonder if someone could help me. We're running an old Zenphoto system v1.4.3.1. This is a highly customized version that we can't upgrade. The last few days when I visit our gallery the admin toolbox does not appear. Checking the logs I am seeing this which appears to be the reason. {Wed, 27 May 2015 08:59:50 GMT} Zenphoto v1.4.3.1[10590] I've checked the files and the lines of code that it seems to relate to are these. header('Last-Modified: ' . ZP_LAST_MODIFIED); Anyone have any pointers or things I should be looking for? We've not knowingly changed any files. WARNING: Cannot modify header information - headers already sent by - acrylian - 2015-05-27 Quote:We're running an old Zenphoto system v1.4.3.1. This is a highly customized version that we can't upgrade. It is virtually impossible to tell you what is causing this. It is usually a follow up error on other errors outputting messages before said headers are send. You need to find that error. WARNING: Cannot modify header information - headers already sent by - darkufo - 2015-05-27 Ah cool, so this is likely the result of another earlier error that I need to look for. That helps actually as I was looking at why these core php would suddenly have stopped working. It's likely we've borked something in one of our non-core php files. Thanks for the tip WARNING: Cannot modify header information - headers already sent by - acrylian - 2015-05-27 Not necessarily an "error" that is logged. It could just be a function that puts out something to early (left over from debugging or whatever). Try to cause the error and look at the generated source code. |