![]() |
|
Cannot modify headers - 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: Cannot modify headers (/thread-7482.html) |
Cannot modify headers - NaturalEnquirer - 2010-08-16 When I try to edit a theme via the themes pages, I get this warning: Warning: Cannot modify header information - headers already sent by (output started at /home/content/n/a/t/naturalenq/html/flowerkissers/galleries/zp-core/admin-functions.php:78) in /home/content/n/a/t/naturalenq/html/flowerkissers/galleries/zp-core/admin-functions.php on line 3466 Everything else seems fine. I looked for blank lines and spaces in admin-functions.php but couldn't find any. Is it safe for me to just replace this file with a fresh copy to see if that fixes the problem? Anywhere else I should look? Thank you. Cannot modify headers - kagutsuchi - 2010-08-16 I just tried it on my installation and it happens for me as well. Seems to be a bug related to the XSRF changes. Cannot modify headers - kagutsuchi - 2010-08-16 Filed a bug for this: http://www.zenphoto.org/trac/ticket/1591 Cannot modify headers - sbillard - 2010-08-16 This is now fixed. The fix will be included in tonight's nightly build. Cannot modify headers - SidneyEileen - 2010-09-04 I'm not sure if this is a bug, or if I am doing something wrong. If I should post this somewhere else, please let me know. I didn't get this error until after installing version 1.3.1 back on August 16. For a couple weeks the error was restricted to a Cross-Site Forgery Blocked (in the security log it shows as a XSRF Access Blocked). Yesterday, for no apparent reason (it worked fine the day before, and I have no idea what changed), I now get a series of header errors on the back end, followed by an otherwise mostly normal-looking admin page. Warning: session_start() [function.session-start]: open(/mnt/w9999/.phpsessions/sess_2b8bdcc21720121c36730d6b099b6260, O_RDWR) failed: No such file or directory (2) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php on line 15 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php on line 15 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php on line 15 Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-functions.php on line 72 Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-functions.php on line 73 If I try to save any edits or changes, I get only errors. Warning: session_start() [function.session-start]: open(/mnt/w9999/.phpsessions/sess_a26cd5907bceb3e1517e6580e5a8fcaa, O_RDWR) failed: No such file or directory (2) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php on line 15 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php on line 15 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php on line 15 Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-globals.php:15) in /mnt/w0135/d05/s16/b024032f/www/art/zp/zp-core/admin-functions.php on line 3481 Warning: Unknown: open(/mnt/w9999/.phpsessions/sess_a26cd5907bceb3e1517e6580e5a8fcaa, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/w9999/.phpsessions) in Unknown on line 0 I updated to version 1.3.1.2 today, which had no effect on the errors. I am currently unable to make any changes to my site, or even back up the database. Thank you for any suggestions. Cannot modify headers - sbillard - 2010-09-04 Something has got corrupted in your PHP session handling. The error message notes a folder that is nt found: Best to ask your provider about this. Quote:Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/w9999/.phpsessions) in Unknown on line 0 Cannot modify headers - SidneyEileen - 2010-09-04 Thanks for the info. I'll go submit a help ticket with my host provider. I hadn't realized it might be a bigger problem with the server or service. |