Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

syntax error, unexpected $end


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Nov 27, 2010, 12:12 PM
pixelcottage
 
2 posts · Nov 2010
Unhappy syntax error, unexpected $end

Help! My site has looked fine until I downloaded a google analytics plugin. Now I get the following message: Parse error: syntax error, unexpected $end in /home1/pixelcot/public_html/wp-content/themes/atahualpa/header.php on line 97

I don't know enough to be able to figure this out. Can someone please help? This is a copy of the code

<!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" <?php language_attributes(); ?>>

<head>

<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<?php /* if index.php or another page template (copied from index.php) was not used

(i.e. by a plugin such as WPG2), the global $bfa_ata would be empty */

global $bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2;

if ($bfa_ata == "") include_once (TEMPLATEPATH . '/functions/bfa_get_options.php'); ?>

<?php if ( $bfa_ata['css_external'] == "External" ) { ?>

<link rel="stylesheet" href="<?php bloginfo('url'); ?>/?bfa_ata_file=css" type="text/css" media="all" />

<?php } ?>

<?php include (TEMPLATEPATH . '/functions/bfa_meta_tags.php'); ?>

<?php if ($bfa_ata['favicon_file'] != "") { ?><link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/favicon/<?php echo $bfa_ata['favicon_file']; ?>" /><?php } ?>

<?php if ( is_single() OR is_page() ) { ?><link rel="canonical" href="<?php the_permalink(); ?>" /><?php } ?>

<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'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_enqueue_script( 'jquery' ); ?>

<?php if ( function_exists('wp_list_comments') AND is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>

<?php wp_head(); ?>

<?php bfa_html_inserts($bfa_ata['html_inserts_header']); ?>

<?php if ($bfa_ata['pngfix_selectors'] != "") { ?>

<!--[if IE 6]>

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/DD_roundies.js"></script>

<script type="text/javascript">DD_roundies.addRule('<?php echo $bfa_ata['pngfix_selectors']; ?>');

</head>

<body> <?php body_class(); ?><?php if ($bfa_ata['html_inserts_body_tag'] != "") { echo ' '; bfa_html_inserts($bfa_ata['html_inserts_body_tag']); } ?>>

<?php bfa_html_inserts($bfa_ata['html_inserts_body_top']); ?>

<div id="wrapper">

<div id="container">

<table id="layout" border="0" cellspacing="0" cellpadding="0">

<colgroup>

<?php if ( $left_col == "on" ) { ?><col class="colone" /><?php } ?>

<?php if ( $left_col2 == "on" ) { ?><col class="colone-inner" /><?php } ?>

<col class="coltwo" />

<?php if ( $right_col2 == "on" ) { ?><col class="colthree-inner" /><?php } ?>

<?php if ( $right_col == "on" ) { ?><col class="colthree" /><?php } ?>

</colgroup>

<tr>



<!-- Header -->

<td id="header" colspan="<?php echo $cols; ?>">



<?php bfa_header_config($bfa_ata['configure_header']); ?>



</td>

<!-- / Header -->



</tr>



<!-- Main Body -->

<tr id="bodyrow">



<?php if ( $left_col == "on" ) { ?>

<!-- Left Sidebar -->

<td id="left">



<?php // Widgetize the Left Sidebar

if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>



<div class="widget widget_categories"><div class="widget-title">

<h3><?php _e('Categories','atahualpa'); ?></h3>

</div>

<ul><?php wp_list_categories('show_count=1&title_li='); ?></ul>

</div>



<div class="widget widget_archive"><div class="widget-title">

<h3><?php _e('Archives','atahualpa'); ?></h3>

</div>

<ul><?php wp_get_archives('type=monthly'); ?></ul>

</div>



<?php endif; ?>



</td>

<!-- / Left Sidebar -->

<?php } ?>



<?php if ( $left_col2 == "on" ) { ?>

<!-- Left INNER Sidebar -->

<td id="left-inner">



<?php // Widgetize the Left Inner Sidebar

if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Inner Sidebar') ) : ?>



<!-- no default content for the LEFT INNER sidebar -->



<?php endif; ?>



</td>

<!-- / Left INNER Sidebar -->

<?php } ?>





<!-- Main Column -->

<td id="middle">
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error: syntax error, unexpected '<' in the functions.php file pingitt Atahualpa 3 Wordpress theme 6 Mar 12, 2013 03:52 AM
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 03:00 PM
PHP Parse error: syntax error, unexpected T_STRING Big Geek Daddy Atahualpa 3 Wordpress theme 5 Aug 6, 2010 05:25 AM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 03:33 AM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 10:04 AM


All times are GMT -6. The time now is 06:15 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.