TBenson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'jan your awesome i deactivated the plugins one by one and found that when i deactivated the membership pluggin the error disappeared, of course now i guess i need to reload the membership pluggin??
Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'heres the code from the new download in a different site that works fine i think the error must be some place else because even the new code throws same error for line 2
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<title><?php wp_title(); ?></title>
<?php wp_head(); ?>
</head>
<body id=”<?php prima_option(‘themelayout’) ?>” <?php body_class(); ?>>
<?php if(prima_get_option(‘usernav’)&&class_exists(‘WP_eCommerce’)) get_template_part( ‘flexi-usernav’ ); ?>
<div id=”flexi-wrapper”>Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'i tried that too from a completly new download of the theme, i’ll try again see if the error changes any
Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'btw i really appreciate you trying to help .
seems like whenever i changed the code around it just changed the line error i also tried this code(no luck)
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<title><?php wp_title(); ?></title>
<?php wp_head(); ?>
</head>
<body id=”<?php prima_option(‘themelayout’) ?>” <?php body_class(); ?>>
</body>
</html>
<?php if(prima_get_option(‘usernav’)&&class_exists(‘WP_eCommerce’)) get_template_part( ‘flexi-usernav’ )?>Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'this the original
Warning: Cannot modify header information – headers already sent by (output started at /home/nickcher/public_html/wp-content/themes/yourflexishop/header.php:2) in /home/nickcher/public_html/wp-includes/pluggable.php on line 86
this is the new one-
Warning: Cannot modify header information – headers already sent by (output started at /home/nickcher/public_html/wp-content/themes/yourflexishop/header.php:2) in /home/nickcher/public_html/wp-includes/pluggable.php on line 866Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'well i have literally been trying stuff since 8am this is the new code and the only thing that changed was the line error went from 2 to 5 the line about the blog and thats the problem the error comes up where blog should be. ??
<?php
?><!DOCTYPE html>
<html language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<title><?php wp_title(); ?></title>
<?php wp_head(); ?>
</head>
<body id=”<?php prima_option(‘themelayout’) ?>” <?php body_class(); ?>>
<?php if(prima_get_option(‘usernav’)&&class_exists(‘WP_eCommerce’)) get_template_part( ‘flexi-usernav’ )
?>Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'i guess that wasnt rt the way i tried it because i lost thw whole page and just got this error
Parse error: syntax error, unexpected ‘<‘ in /home/nickcher/public_html/wp-content/themes/yourflexishop/header.php on line 2
Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'yes this is the exact code as shown above so should it be like this
<?php
<!DOCTYPE html>
<html language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<title><?php wp_title(); ?></title>
<?php wp_head(); ?>
</head>
<body id=”<?php prima_option(‘themelayout’) ?>” <?php body_class(); ?>>
<?php if(prima_get_option(‘usernav’)&&class_exists(‘WP_eCommerce’)) get_template_part( ‘flexi-usernav’ )
?>Forum: Fixing WordPress
In reply to: warning: header already sent 'Help please'yes i read that post and tried all those things nothing works thats why i included the code maybe someone else can see something im not seeing but thanks