Syntax Error in Overall Header

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Gixxer
Active Member
Posts: 1
Joined: 17. April 2009 04:47

Syntax Error in Overall Header

Post by Gixxer »

Your Portal Version: 1.0.3RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge

PHP Version: 3.04

What have you done before the problem was there?


What have you already tryed to solve the problem?
clear cache, disable portal

Description and Message
Hello,

I am currently using prosilver theme Black Ice Pro which is based off Glacier. I receive this error when loading the page after the install:

Parse error: syntax error, unexpected $end in /home/content/p/i/e/pieclanserver/html/test/cache/tpl_SF-Black-Ice-Pro_overall_header.html.php on line 140 (also line 139)


Here is my overall_header:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:      
	
	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP -->
		if ({S_NEW_PM})
		{
			var url = '{UA_POPUP_PM}';
			window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
		}
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<!-- IF T_STYLESHEET_LINK and not S_FORCE_EMBED_STYLE -->
	<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
	<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

	<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
	<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
	<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- ELSE -->
	<style type="text/css" media="screen, projection">
		{T_THEME_DATA}
	</style>
<!-- ENDIF -->

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
    <div class="outside">
			<div class="inside">
				<div class="notopgap"></div>					 
				<div id="page-header">
					<div class="headerbar">
						<a id="top" name="top" accesskey="t"></a>
						<div id="site-logo">
						<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
						</div>
						<div id="site-description">
							<h1>{SITENAME}</h1>
							<p>{SITE_DESCRIPTION}</p>
							<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
						</div>
					</div>
					<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
					<div class="header_nav">
					
					
							<!-- INCLUDE navigation.html -->
					</div>
				</div>
				<div id="wrap">
				<div>
						<ul class="linklist navlinks">
							<li class="icon-home"><!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> &#187; <!-- ENDIF --><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a><!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>

							<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>

							<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
							<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
							<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
							<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
						</ul>
				</div>

	<a name="start_here"></a>
	<div id="page-body">
		
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->   [color=#FF0000]line 139[/color]
		<div id="message" class="rules">  [color=#FF0000]line 140[/color]
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->
Navigation.html

Code: Select all

<span class="hovereffect2"></span>

    <ul id="nav">
		<li class="top"><a href="{U_INDEX}" class="top_link"><span>{L_INDEX}</span></a></li>
		<!-- IF not S_IS_BOT and not S_USER_LOGGED_IN -->
		<li class="top"><a href="{U_PORTAL}" class="top_link"><span>{L_PORTAL}</span></a></li>
		<!-- IF not S_IS_BOT and not S_USER_LOGGED_IN -->
		<li class="top"><a href="{U_REGISTER}" class="top_link_alert"><span>{L_REGISTER}</span></a></li>
		<!-- ENDIF -->
        <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN -->
        <li class="top"><a href="{U_INDEX}" class="top_link_alert"><span>{L_BOARD_DISABLED}</span></a></li>
        <!-- ENDIF -->
        <!-- IF U_RESTORE_PERMISSIONS -->
        <li class="top"><a href="{U_RESTORE_PERMISSIONS}" class="top_link_alert"><span>{L_RESTORE_PERMISSIONS}</span></a></li>
        <!-- ENDIF -->
        <!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_DISPLAY_PM -->
		<!-- IF S_USER_NEW_PRIVMSG or PRIVATE_MESSAGE_INFO_UNREAD -->
		<li class="top"><a href="{U_PRIVATEMSGS}" class="top_link_alert"><span><!-- IF S_USER_NEW_PRIVMSG -->{PRIVATE_MESSAGE_INFO}<!-- ELSE -->{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></span></a></li>
        <!-- ELSE -->
        <li class="top"><a href="{U_PRIVATEMSGS}" class="top_link"><span>{PRIVATE_MESSAGE_INFO}</span></a></li>
        <!-- ENDIF -->
		<!-- ENDIF -->
        <!-- IF S_USER_LOGGED_IN -->
        <li class="top"><a href="{U_PROFILE}" class="top_link"><span class="down">{L_PROFILE}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                <!-- IF S_USER_LOGGED_IN -->
                <li><b>Users</b></li>
                <li><a href="{U_PROFILE}" class="expand">{L_PROFILE}<!--[if gte IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]--><ul>
                            <li><a href="./ucp.php?i=163">Overview</a></li>
                            <li><a href="./ucp.php?i=164">Profile</a></li>
                            <li><a href="./ucp.php?i=165">Board Preferences</a></li>
                            <li><a href="./ucp.php?i=166">Private Messages</a></li>
                            <li><a href="./ucp.php?i=167">User Groups</a></li>
                            <li><a href="./ucp.php?i=168">Friends & Foes</a></li>
                        </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <!-- ENDIF -->
                <!-- IF U_MCP -->
                <li><b>Moderators</b></li>
                <li><a href="{U_MCP}">{L_MCP}</a></li>
                <!-- ENDIF -->
                <!-- IF U_ACP -->
                <li><b>Administrators</b></li>
                <li><a href="{U_ACP}">{L_ACP}</a></li>
                <!-- ENDIF -->
            </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
        <!-- ENDIF -->
        <li class="top"><a href="{U_INDEX}" class="top_link"><span class="down">Forum</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                <li><b>Information</b></li>
                <li><a href="{U_FAQ}">{L_FAQ}</a></li>
                <!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
				<!-- IF U_TEAM --><li><a href="{U_TEAM}">{L_THE_TEAM}</a></li><!-- ENDIF -->
				<!-- IF S_DISPLAY_ONLINE_LIST --><li><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></li><!-- ENDIF -->
				<li><b>Tools</b></li>
				<!-- IF not S_IS_BOT --><li><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a></li><!-- ENDIF -->
                <!-- IF not S_IS_BOT and U_MARK_FORUMS --><li><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
                <!-- IF not S_IS_BOT and U_MARK_TOPICS --><li><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></li><!-- ENDIF -->
            </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
        <!-- IF S_DISPLAY_SEARCH -->
        <li class="top"><a href="{U_SEARCH}" class="top_link"><span class="down">{L_SEARCH}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                <li><b>Quick Search</b></li>
                <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
                <li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
                <!-- IF S_USER_LOGGED_IN -->
                <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
                <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
                <!-- ENDIF -->
                <li><b>Find More</b></li>
                <li><a href="{U_SEARCH}">Advanced Search</a></li>
            </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
        <!-- ENDIF -->
        <li class="top"><a href="{U_INDEX}" class="top_link"><span class="down">Links</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
                <li><b>User Links</b></li>
                <li><a href="#">Link 1</a></li>
                <li><a href="#">Link 2</a></li>
                <li><a href="#">Link 3</a></li>
                <li><a href="#">Link 4</a></li>
                <li><b>User Links 2</b></li>
                <li><a href="#">Link 5</a></li>
                <li><a href="#">Link 6</a></li>
                <li><a href="#">Link 7</a></li>
                <!-- IF U_ACP -->
                <li><b>Admin Links</b></li>
                <li><a href="#">Link 8</a></li>
                <li><a href="#">Link 9</a></li>
                <li><a href="#">Link 10</a></li>
                <!-- ENDIF -->
            </ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
		<li class="top_r" id="search-box"><form action="{U_SEARCH}" method="post" id="search">
			<fieldset>
				<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> 
				<input class="button2" value="{L_SEARCH}" type="submit" /><br />
			</fieldset>
		</form></li>
        <!-- ENDIF -->
		<!-- IF not S_IS_BOT -->
        <li class="top_r"><a href="{U_LOGIN_LOGOUT}" <!-- IF S_USER_LOGGED_IN -->class="top_link_r"<!-- ELSE -->class="top_link_r_alert"<!-- ENDIF -->><span>{L_LOGIN_LOGOUT}</span></a></li>
		<!-- ENDIF -->
	
    </ul>
When I deleted the cache file (overall_header.html) through FTP I was able to view the board one time but then had the error again. Any ideas on where I am going wrong? Thanks for your help!!!!![/i] Sry this might need to go to styles help, no errors when i use prosilver's overall_header vs Black Ice Pro/Glacier overall_header.
Locked

Return to “board3 Portal 1.0.x - English Support”