V1.0.1: Cannot Send Session Cache Limiter – Headers Already Sent.
-
Description:
“Cannot send session cache limiter – headers already sent” error is displayed on “Line 2” in “submitnewissue.php”. This is a conflict specific to the “EShop” plugin, and may or may not exist in other installations.Steps:
NOTE: Other settings in “Admin [i.e. siteName/wp-admin/.] > Bug Library > Bug Library” do not apply to this bug.1. Download/Activate “EShop v6.2.8”. [May or may not be relevant, but this is where the error occurred.]
2. Download/Activate “Bug Library v1.0.1”.
3. Create a new page. [i.e. “Submit a Bug”.]
4. Edit the page. In the “HTML” section of the editor, type the shortcode “[bug-library]”.
5. Publish the page.
6. Logout/Login to clear the Cache.
7. View the page in the Browser.
8. The “Report new issue” button should be visible on the page.
9. Click the “Report new issue” button.Actual Results:
The following error is displayed in the displayed lightbox –
Cannot send session cache limiter – headers already sent; error begins in “submitnewissue.php” on “Line 2” and stops in “eshop.php” on “Line 48”. [Well, that’s kind of what it said.]Expected Results:
No error is displayed.Workaround:
Modify one file – the first one displayed in the error.
css, page layout, and divs: /public_html/testing/wp-content/themes/my-buddypress/submitnewissue.phpAt the top of “submitnewissue.php”, this is displayed:
—<head> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $blpluginpath; ?>stylesheet.css"/> </head> <body style='background-color: #FFFFFF;'> <?php require_once('../../../wp-load.php'); require_once('bug-library.php');
—
Replace all of that with this new arrangement. It’s the same data, but it’s been moved around a bit.
—<?php require_once('../../../wp-load.php'); require_once('bug-library.php'); echo "<head>"; echo "<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"<?php echo $blpluginpath; ?>stylesheet.css\"/>"; echo "</head>"; echo "<body style='background-color: #FFFFFF;'>";
—
Reload the page and click the “Report new issue” button.
The issue should be resolved.OS: Windows 7 Professional, 64-bit
Browser: Google Chrome 11
Processor: AMD Athlon Dual-Core QL-62 2.0GHz
Memory: 2.0GB
- The topic ‘V1.0.1: Cannot Send Session Cache Limiter – Headers Already Sent.’ is closed to new replies.