Website error after editing post

Discussion in 'PHP' started by stan255, Feb 11, 2012.

  1. #1
    Parse error: syntax error, unexpected '<' in /hermes/web09/b2127/moo.learnhowtobehappyinf/aka-accounting/wp-content/themes/platform/header.php on line 22

    <?php /*
        
        HEADER
        
        This file controls the HTML <head> and top graphical markup (including Navigation) for each page in your theme.
        You can control what shows up where using WordPress and PageLines PHP conditionals
        
        This theme copyright (C) 2008-2010 PageLines
        
    */     
        pagelines_register_hook('pagelines_before_html'); // Hook 
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <?php 
            
            pagelines_register_hook('pagelines_head'); // Hook 
            
            wp_head(); // Hook (WordPress) 
            print_pagelines_option('asynch_analytics');  // Recommended Spot For Asynchronous Google Analytics
    <meta name="google-site-verification" content="D-3MB18_NiVFtbeMT3md2DDCYJwp-Yf7ITag6r-9mx0" />
    ?></head>
    <body <?php body_class( pagelines_body_classes() ); ?>>
    <?php 
    
    
    
    
        pagelines_register_hook('pagelines_before_site'); // Hook 
    
    
    ?><div id="site" class="<?php echo pagelines_layout_mode();?>"> <!-- #site // Wraps #header, #page-main, #footer - closed in footer -->
    <?php pagelines_register_hook('pagelines_before_page'); // Hook ?>
        <div id="page"> <!-- #page // Wraps #header, #page-main - closed in footer -->
            <div id="page-canvas">
                <?php pagelines_register_hook('pagelines_before_header');?>
                <div id="header" class="container-group fix">
                    <div class="outline">
                        <?php pagelines_template_area('pagelines_header', 'header'); // Hook ?>
                    </div>
                </div>
                <?php pagelines_register_hook('pagelines_before_main'); // Hook ?>
                <div id="page-main" class="container-group fix"> <!-- #page-main // closed in footer -->
                    <div id="dynamic-content" class="outline fix">
                        <?php if(pagelines_is_buddypress_page()):?>
                            <div id="buddypress-page" class="fix">
                                <div class="content fix">
    
                        <?php endif;?>
    Code (markup):


    Here's the header.php file if any of these information is of any help.


     
    stan255, Feb 11, 2012 IP
  2. mallorcahp

    mallorcahp Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You've put the google site verification html inside a php script tags (line 21):


    Change to this :

     
    mallorcahp, Feb 12, 2012 IP
  3. stan255

    stan255 Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    WOW ! Thanks ! After consulting 3 different forums and fatcow support. This is the only genuine answer I get.

    Great job!
     
    stan255, Feb 12, 2012 IP