Member
Member
NaturalEnquirer   16-08-2010, 16:02
#1

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.

Member
Member
kagutsuchi   16-08-2010, 16:36
#2

I just tried it on my installation and it happens for me as well. Seems to be a bug related to the XSRF changes.

Member
Member
kagutsuchi   16-08-2010, 16:42
#3

Filed a bug for this: http://www.zenphoto.org/trac/ticket/1591

Member
Member
sbillard   16-08-2010, 17:54
#4

This is now fixed. The fix will be included in tonight's nightly build.

Member
Member
SidneyEileen   04-09-2010, 18:50
#5

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.

Member
Member
sbillard   04-09-2010, 20:16
#6

Something has got corrupted in your PHP session handling. The error message notes a folder that is nt found: (/mnt/w9999/.phpsessions/sess_a26cd5907bceb3e1517e6580e5a8fcaa, O_RDWR Since this folder is not part of Zenphoto and I suspect it is not within the Zenphoto installation either I do not know what would have caused it not to be present. Anyway, Zenphoto Admin has always required sessions, so somehow the folder has been deleted or there is a problem with sessios on your server.

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
This information will possibly be useful to them.

Member
Member
SidneyEileen   04-09-2010, 20:34
#7

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.