Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter TBenson

    (@tbenson)

    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??

    Thread Starter TBenson

    (@tbenson)

    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”>

    Thread Starter TBenson

    (@tbenson)

    i tried that too from a completly new download of the theme, i’ll try again see if the error changes any

    Thread Starter TBenson

    (@tbenson)

    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”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml&#8221; <?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’ )?>

    Thread Starter TBenson

    (@tbenson)

    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 866

    Thread Starter TBenson

    (@tbenson)

    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’ )
    ?>

    Thread Starter TBenson

    (@tbenson)

    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

    Thread Starter TBenson

    (@tbenson)

    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’ )
    ?>

    Thread Starter TBenson

    (@tbenson)

    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

Viewing 9 replies - 1 through 9 (of 9 total)