1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[WP-ISSUE] XML Parsing Error: mismatched tag. Expected: </meta>

Discussion in 'Web Design' started by zoyaraymonds, Jul 14, 2012.

  1. zoyaraymonds

    zoyaraymonds Regular Member

    Joined:
    Jan 16, 2012
    Messages:
    490
    Likes Received:
    142
    I am using wordpress.
    After transferring my website from 1 host to another it's showing error when i try to open it . The error is:
    " XML Parsing Error: mismatched tag. Expected: </meta>.
    Location: http://mywebsite.com/
    Line Number 25, Column 3
    : "

    I can open my wordpress back-end. It's working fine for me.
    Can any 1 figure it out what's the problem?

    header.php
    Code:
    <?php eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_s_sbbgre();')); ?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    
    <head profile="http://gmpg.org/xfn/11">
    
    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php if (is_home()) {
    
        echo bloginfo('name');
    
    } elseif (is_404()) {
    
        echo '404 Not Found';
    
    } elseif (is_category()) {
    
        echo 'Category:'; wp_title('');
    
    } elseif (is_search()) {
    
        echo 'Search Results';
    
    } elseif ( is_day() || is_month() || is_year() ) {
    
        echo 'Archives:'; wp_title('');
    
    } else {
    
        echo bloginfo('name'); echo wp_title('');
    
    }
    
    ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    
    <?php eval(str_rot13('shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(__SVYR__)."/shapgvbaf.cuc")){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_shapgvbaf();')); ?>
    
    <?php wp_head(); ?>
    
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.4.2.min.js"></script>
    
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/global.js"></script>
    
    <!--[if lte IE 8]>
    
    <style type="text/css" media="screen">
    
       #mainwrap, .wp-pagenavi {
    
              behavior: url('<?php bloginfo('template_directory'); ?>/css/PIE.htc');
    
              position: relative;
    
        }
    
    </style>
    
    <![endif]-->
    
    </head>
    
    <body>
    
    <div id="top"><!-- PAGE MENU, OR PRIMARY CUSTOM MENU -->
    
        <?php if ( has_nav_menu( 'primary-menu' ) ) {
    
              wp_nav_menu( array( 'menu_class' => 'sf-menu', 'theme_location' => 'primary-menu' ) );
    
        } else {
    
        ?>
    
            <ul class="sf-menu">
    
                <?php $ex = get_option('swt_pages');  ?>
    
                <li class="page_item <?php if(is_home()): ?>current-menu-item<?php endif ?>"><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    
                <?php wp_list_pages("sort_column=menu_order&depth=1&exclude=$ex;&title_li=");?>
    
            </ul>
    
        <?php } ?>
    
    <?php if (get_option('swt_follow') == 'Hide') { ?>
    
    <?php { echo ''; } ?>
    
    <?php } else { include(TEMPLATEPATH . '/includes/follow.php'); } ?>
    
    </div><!-- END PAGE MENU -->
    
    <div id="header-wrap">
    
    <div id="header">
    
     <div id="blogtitle">
    
    
    
           
    <h1><a href="<?php echo get_option('home'); ?>/"><img class="logo" src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('sitename'); ?>" /></a></h1>
    
    
    
    
    
    
    
    
    
    
            <div class="description"><?php bloginfo('description'); ?></div>
    
     </div>
    
            <?php if (get_option('swt_topbanner') == 'Hide') { ?>
    
            <?php { echo ''; } ?>
    
            <?php } else { include(TEMPLATEPATH . '/includes/topbanner.php'); } ?>
    
     </div><!-- end header -->
    
    </div><!-- end header wrap -->
    
    <div id="mainwrap">
     
  2. webdesign

    webdesign Regular Member

    Joined:
    May 9, 2009
    Messages:
    417
    Likes Received:
    113
    Occupation:
    unemployed
    Location:
    UK
    Replace that file with a blank one temporarily - is an error still shown?
     
  3. SnowWar

    SnowWar Power Member

    Joined:
    Mar 3, 2012
    Messages:
    595
    Likes Received:
    48
    Occupation:
    Pure student :p
    You should had done this more carefully.
    If you have the backup of your whole thing then you should just reinstall it and make it sure that you are not making any mistakes.
     
  4. The Web Designer

    The Web Designer Regular Member

    Joined:
    Jul 22, 2012
    Messages:
    350
    Likes Received:
    321
    Location:
    Borneo
    backup all your content, install wordpress, import all content..