Cannot send session cookie/cache/header in session_start().
-
I just added new functionality to my site which works fine on the development site (Windows 7) but fails with the messages below on production (Linux Webm401.xx).
Warning: session_start(): Cannot send session cookie – headers already sent
Warning: session_start(): Cannot send session cache limiter – headers already sent
Warning: Cannot modify header information – headers already sent by(output started at /home/wordpress/wp-includes/class.wp-scripts.php:180) in /administration/index.php on line2
Based on my research of the problem, everything seems to point to un-readable characters in class.wp-scripts.php which was never modified. I have insured that my new code does not contain any un-readable characters.
The only modules modified within WP are:
- Functions.php in the child theme (added Admin Bar main/sub menu options)
- wp-config.php (added a variable to the end of the file)
- The addition of a new page.
Functions and wp-config were modified using Notepad++ and have an encoding of UTF-8 without BOM.
Why would I have a problem within the class.wp-scripts.php core file?
Any ideas?
Thankx
The topic ‘Cannot send session cookie/cache/header in session_start().’ is closed to new replies.
