jdessel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Getting an error message, not sure how to fix…Thanks so much for your help, works fine now.
The blank space was on line 5 and that’s what confused me, since it was referencing 6- especially since there are other blank lines in that document elsewhere. I thought maybe something else was going on.
Thanks for your help, all fixed.
Forum: Fixing WordPress
In reply to: Getting an error message, not sure how to fix…Thanks for the help, but it didn’t fix it. Line 6 of functions.php isn’t a blank line and I deleted the blank lines at the end of the document anyway, which didn’t change things. I included the code below of what’s in the general area of the lines that the error message seems to be referencing in case the lines above or below the lines indicated might shed some light on the problem:
These are lines 1-12 in functions.php (the error seems to be line 6)
<?php if ( function_exists('register_sidebar') ) register_sidebar(); ?> <?php // Produces a list of pages in the header without whitespace -- er, I mean negative space. function sandbox_globalnav() { echo '<div id="menu"><ul>'; $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php echo str_replace(array("\r", "\n", "\t"), '', $menu); echo "</ul></div>\n";
These are lines 385-391 in pluggable.php (the error seems to be on line 391)
`if ( $is_IIS ) {
header(“Refresh: 0;url=$location”);
} else {
if ( php_sapi_name() != ‘cgi-fcgi’ )
status_header($status); // This causes problems on IIS and some FastCGI setups
header(“Location: $location”);`