Problem with update - 3.0.2 to 3.0.3

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
irdem
Registered User
Posts: 172
Joined: Sat Oct 13, 2007 10:31 pm
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by irdem » Mon Nov 17, 2008 4:23 pm

hello femu,

in menu script, find IF basename($_SERVER['SCRIPT_NAME']) replace with: IF SCRIPT_NAME
ex:
in this line:

Code: Select all

<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewforum.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewtopic.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewonline.php' or basename($_SERVER['SCRIPT_NAME']) == 'ucp.php' or basename($_SERVER['SCRIPT_NAME']) == 'mcp.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
find:

Code: Select all

IF basename($_SERVER['SCRIPT_NAME'])
replace for all with:

Code: Select all

IF SCRIPT_NAME
finaly it looks like:

Code: Select all

<li<!-- IF SCRIPT_NAME == 'index.php' or IF SCRIPT_NAME == 'viewforum.php' or IF SCRIPT_NAME == 'viewtopic.php' or IF SCRIPT_NAME == 'viewonline.php' or IF SCRIPT_NAME == 'ucp.php' or IF SCRIPT_NAME == 'mcp.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>

femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Problem with update - 3.0.2 to 3.0.3

Post by femu » Mon Nov 17, 2008 4:49 pm

Hi Irdem,

thanks very much! That's how a good answer should look like. But it doesn't help ... Now I got

Code: Select all

Fatal error: Call to undefined function index() in /mounted-storage/home107b/sub006/sc34349-UKVE/www/phpbb3/cache/tpl_prosilver_overall_header.html.php on line 218
Line 218 ongoing in tpl_prosilver_overall_header.html.php looks like :

Code: Select all

				<li<?php if ($this->_rootref['SCRIPT_NAME'] ('portal.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_PORTAL'])) ? $this->_rootref['U_PORTAL'] : ''; ?>"><span><?php echo ((isset($this->_rootref['L_PORTAL'])) ? $this->_rootref['L_PORTAL'] : ((isset($user->lang['PORTAL'])) ? $user->lang['PORTAL'] : '{ PORTAL }')); ?></span></a></li>
				<li<?php if ($this->_rootref['S_PAGE_INDEX']) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>"><span><?php echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] : ((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] : '{ FORUM }')); ?></span></a></li>
				<?php if ($this->_rootref['S_DISPLAY_SEARCH']) {  ?><li<?php if ($this->_rootref['SCRIPT_NAME'] ('search.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_SEARCH'])) ? $this->_rootref['U_SEARCH'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_SEARCH_ADV_EXPLAIN'])) ? $this->_rootref['L_SEARCH_ADV_EXPLAIN'] : ((isset($user->lang['SEARCH_ADV_EXPLAIN'])) ? $user->lang['SEARCH_ADV_EXPLAIN'] : '{ SEARCH_ADV_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_SEARCH'])) ? $this->_rootref['L_SEARCH'] : ((isset($user->lang['SEARCH'])) ? $user->lang['SEARCH'] : '{ SEARCH }')); ?></span></a></li><?php } ?>
				<li<?php if ($this->_rootref['S_GALLERY']) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_GALLERY_MOD'])) ? $this->_rootref['U_GALLERY_MOD'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_GALLERY_EXPLAIN'])) ? $this->_rootref['L_GALLERY_EXPLAIN'] : ((isset($user->lang['GALLERY_EXPLAIN'])) ? $user->lang['GALLERY_EXPLAIN'] : '{ GALLERY_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_GALLERY'])) ? $this->_rootref['L_GALLERY'] : ((isset($user->lang['GALLERY'])) ? $user->lang['GALLERY'] : '{ GALLERY }')); ?></span></a></li>
				<li<?php if ($this->_rootref['SCRIPT_NAME'] ('arcade.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_ARCADE'])) ? $this->_rootref['U_ARCADE'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_ARCADE_EXPLAIN'])) ? $this->_rootref['L_ARCADE_EXPLAIN'] : ((isset($user->lang['ARCADE_EXPLAIN'])) ? $user->lang['ARCADE_EXPLAIN'] : '{ ARCADE_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_ARCADE'])) ? $this->_rootref['L_ARCADE'] : ((isset($user->lang['ARCADE'])) ? $user->lang['ARCADE'] : '{ ARCADE }')); ?></span></a></li>
				<li<?php if ($this->_rootref['S_KB']) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_KB'])) ? $this->_rootref['U_KB'] : ''; ?>" title=""><span><?php echo ((isset($this->_rootref['L_KNOWLEDGE_BASE'])) ? $this->_rootref['L_KNOWLEDGE_BASE'] : ((isset($user->lang['KNOWLEDGE_BASE'])) ? $user->lang['KNOWLEDGE_BASE'] : '{ KNOWLEDGE_BASE }')); ?></span></a></li>
				<?php if ($this->_rootref['S_USER_LOGGED_IN']) {  ?><li<?php if ($this->_rootref['SCRIPT_NAME'] ('blog.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_BLOG'])) ? $this->_rootref['U_BLOG'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_BLOG_EXPLAIN'])) ? $this->_rootref['L_BLOG_EXPLAIN'] : ((isset($user->lang['BLOG_EXPLAIN'])) ? $user->lang['BLOG_EXPLAIN'] : '{ BLOG_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_BLOG'])) ? $this->_rootref['L_BLOG'] : ((isset($user->lang['BLOG'])) ? $user->lang['BLOG'] : '{ BLOG }')); ?></span></a></li>
				<li<?php if ($this->_rootref['SCRIPT_NAME'] ('bugtracker/index.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_BUGTRACKER'])) ? $this->_rootref['U_BUGTRACKER'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_BT_BUGTRACKER'])) ? $this->_rootref['L_BT_BUGTRACKER'] : ((isset($user->lang['BT_BUGTRACKER'])) ? $user->lang['BT_BUGTRACKER'] : '{ BT_BUGTRACKER }')); ?>"><span><?php echo ((isset($this->_rootref['L_BT_BUGTRACKER'])) ? $this->_rootref['L_BT_BUGTRACKER'] : ((isset($user->lang['BT_BUGTRACKER'])) ? $user->lang['BT_BUGTRACKER'] : '{ BT_BUGTRACKER }')); ?></span></a></li><?php } ?>
So exactly the changes ...

Any other idea? Especially as it works before. So the cause of the error in the first step has to be somewhere else. So not in the overall_header.html, but more in one of the *.php files ...

Of course all caches are refreshed.

Thanks very much,
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by Sunka » Mon Nov 17, 2008 5:13 pm

Maybe same problem after upgrading to v3.0.3 (Board is in my signature)...
Cleared cache (manually via ftp), but allways same error... (Upgrade script says everything update OK)...Can not go to ACP neither index page...

Code: Select all

Parse error: syntax error, unexpected '(' in /home/pijanitv/public_html/forum/cache/tpl_prosilver_overall_header.html.php on line 226
line 226 is:

Code: Select all

	  <li<?php if ((basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('index.php') || (basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('viewforum.php') || (basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('viewtopic.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>"><span><?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?></span></a></li>

More lines (above that code and belowe)

Code: Select all

<span class="corners-bottom"><span></span></span></div>
		</div>


<div id="tabs">
       <ul>
		  <li<?php if ((basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('index.php') || (basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('viewforum.php') || (basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('viewtopic.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>"><span><?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?></span></a></li>
          <?php if ($this->_rootref['S_DISPLAY_MEMBERLIST']) {  ?><li<?php if ((basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('memberlist.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_MEMBERLIST'])) ? $this->_rootref['U_MEMBERLIST'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_MEMBERLIST_EXPLAIN'])) ? $this->_rootref['L_MEMBERLIST_EXPLAIN'] : ((isset($user->lang['MEMBERLIST_EXPLAIN'])) ? $user->lang['MEMBERLIST_EXPLAIN'] : '{ MEMBERLIST_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_MEMBERLIST'])) ? $this->_rootref['L_MEMBERLIST'] : ((isset($user->lang['MEMBERLIST'])) ? $user->lang['MEMBERLIST'] : '{ MEMBERLIST }')); ?></span></a></li><?php } ?>
          <li<?php if ((basename) ( ($_SERVER['SCRIPT_NAME']) ) == ('faq.php')) {  ?> class="activetab"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_FAQ'])) ? $this->_rootref['U_FAQ'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_FAQ_EXPLAIN'])) ? $this->_rootref['L_FAQ_EXPLAIN'] : ((isset($user->lang['FAQ_EXPLAIN'])) ? $user->lang['FAQ_EXPLAIN'] : '{ FAQ_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_FAQ'])) ? $this->_rootref['L_FAQ'] : ((isset($user->lang['FAQ'])) ? $user->lang['FAQ'] : '{ FAQ }')); ?></span></a></li><li><a href="<?php echo (isset($this->_rootref['U_CONTACTFORM'])) ? $this->_rootref['U_CONTACTFORM'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_CONTACTFORM'])) ? $this->_rootref['L_CONTACTFORM'] : ((isset($user->lang['CONTACTFORM'])) ? $user->lang['CONTACTFORM'] : '{ CONTACTFORM }')); ?>"><span><?php echo ((isset($this->_rootref['L_CONTACTFORM'])) ? $this->_rootref['L_CONTACTFORM'] : ((isset($user->lang['CONTACTFORM'])) ? $user->lang['CONTACTFORM'] : '{ CONTACTFORM }')); ?></span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
		  <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="<?php echo (isset($this->_rootref['U_ARCADE'])) ? $this->_rootref['U_ARCADE'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_ARCADE_EXPLAIN'])) ? $this->_rootref['L_ARCADE_EXPLAIN'] : ((isset($user->lang['ARCADE_EXPLAIN'])) ? $user->lang['ARCADE_EXPLAIN'] : '{ ARCADE_EXPLAIN }')); ?>"><span><?php echo ((isset($this->_rootref['L_ARCADE'])) ? $this->_rootref['L_ARCADE'] : ((isset($user->lang['ARCADE'])) ? $user->lang['ARCADE'] : '{ ARCADE }')); ?></span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_USER_LOGGED_IN']) {  ?><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><?php } ?>		  
	 </ul>
    </div>	
		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
EDIT: My overall_header.html file

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}" xmlns:v="urn:schemas-microsoft-com:vml"> 
<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="" />
<link rel="shortcut icon" href="http://www.pijanitvor.com/favicon.ico" type="image/x-icon" />
<link rel="icon" href="http://www.pijanitvor.com/favicon.ico" type="image/x-icon" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<style type="text/css">
/* Begin : Colored background messages for admin and moderators */
.cbgm_admin	{ background-color: #{CBGM_ADMIN_COLOR};}
.cbgm_mod	{ background-color: #{CBGM_MOD_COLOR};}
/* End : Colored background messages for admin and moderators */
</style>
<!-- // MOD : MSSTI RSS Feeds (V1.0.3) - Start-->

<!-- IF S_ENABLE_FEEDS -->
<link rel="alternate" type="application/rss+xml" title="RSS {SITENAME}" href="{U_RSS}" />
<!-- IF S_ENABLE_FEEDS_FORUMS -->
<link rel="alternate" type="application/rss+xml" title="RSS Feed - {L_ALL_FORUMS}" href="{U_RSS}?mode=forum" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_THREADS -->
<link rel="alternate" type="application/rss+xml" title="RSS Feed - {L_ALL_TOPICS}" href="{U_RSS}?mode=topics" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_POSTS -->
<link rel="alternate" type="application/rss+xml" title="RSS Feed - {L_ALL_POSTS}" href="{U_RSS}?mode=posts" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_EGOSEARCH && S_USER_LOGGED_IN -->
<link rel="alternate" type="application/rss+xml" title="RSS Feed - {L_YOUR_POSTS}" href="{U_RSS}?mode=egosearch" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUM && S_FORUM_ID -->
<link rel="alternate" type="application/rss+xml" title="RSS Feed - {L_FORUM} {FORUM_NAME}" href="{U_RSS}?f={S_FORUM_ID}" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_THREAD && S_TOPIC_ID -->
<link rel="alternate" type="application/rss+xml" title="RSS Feed - {L_TOPIC} {TOPIC_TITLE}" href="{U_RSS}?f={S_FORUM_ID}&t={S_TOPIC_ID}" />
<!-- ENDIF -->
<!-- ENDIF -->

<!-- // MOD : MSSTI RSS Feeds (V1.0.3) - End -->

<!--
	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 S_NEW_DL_POPUP -->
<script language="Javascript" type="text/javascript">
// <![CDATA[
	window.open('{U_NEW_DOWNLOAD_POPUP}', '_blank', 'HEIGHT=225,resizable=yes,WIDTH=400');
// ]] >
</script>
<!-- ENDIF -->
<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" />
<!-- IF S_ICONIZE_ENABLED -->
<link href="{T_THEME_PATH}/iconize.css" rel="stylesheet" type="text/css" media="screen" />
<!-- ENDIF -->

<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++" />

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

<script type="text/javascript" src="{T_TEMPLATE_PATH}/grey_out.js"></script>
<script type="text/javascript">
// <![CDATA[
function logout_confirmation()
{
	grayOut(true);
	if (confirm('{L_LOGOUT_CONFIRMATION}'))
	{
		grayOut(false);
		return true;
	}
	else
	{
	    grayOut(false);
		return false;
	}
}
// ]]>
</script>


<link href="{T_THEME_PATH}/prime_bbcode_note.css" rel="stylesheet" type="text/css" />
<!-- IF S_SHOW_SURVEY --><!-- INCLUDE survey_css.html --><!-- ENDIF -->
<!-- INCLUDE ads/ads.js -->
<!-- INCLUDE prime_show_deleted_post.html -->
<link href="{T_THEME_PATH}/prime_links/prime_links.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{T_TEMPLATE_PATH}/gallery_lytebox.js"></script>
<script type="text/javascript" >
	if (window.addEventListener) {
		window.addEventListener("load",initLytebox,false);
	} else if (window.attachEvent) {
		window.attachEvent("onload",initLytebox);
	} else {
		window.onload = function() {initLytebox();}
	}
	function initLytebox() {
		var imgMaxWidth = 1280;
		var imgWarning = '';
		myLytebox = new LyteBox(imgMaxWidth, imgWarning);
	}
</script>
    <script type="text/javascript" src="{T_THEME_PATH}/highslide/highslide-full.js"></script>
    <script type="text/javascript">
       hs.graphicsDir = '{T_THEME_PATH}/highslide/graphics/';
       hs.align = 'center';
       hs.blockRightClick = true;
       hs.transitions = ['expand', 'crossfade'];
       hs.outlineType = 'rounded-white';
       hs.fadeInOut = true;
       //hs.dimmingOpacity = 0.75;
       
       // Add the controlbar
       if (hs.addSlideshow) hs.addSlideshow({
          //slideshowGroup: 'group1',
          interval: 5000,
          repeat: false,
          useControls: true,
          fixedControls: false,
          overlayOptions: {
             opacity: 1,
             position: 'top right',
             hideOnMouseOut: false
          }
       });
    </script>
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE mod_visitor_bar.html -->
<!-- ENDIF -->
<!-- INCLUDE prime_bbcode_note.html -->

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
	{ADS_1}	
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<div id="site-description">
				<a href="http://www.pijanitvor.com/forum" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<h1>{SITENAME}</h1>
				<font size="2px"><b><font color="#66FFFF"><p>{SITE_DESCRIPTION}</p></font></b></font>
				<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
			</div>
			
		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div 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 />
					<a style="color: #fcb800; font-weight: bold;" href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
					<!-- IF U_ACP --><br /><strong><a style="color: #00ff00;" href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
				</fieldset>
				</form>
<!-- IF S_AUTHORIZED --><form id="purge_cache" method="post" action="#"><br /><input type="hidden" name="purge_cache" value="1" /><input class="button2" type="submit" id="purge_cache" value="{L_PURGE_CACHE}" /></form><!-- ENDIF -->				
			</div>
		<!-- ENDIF -->

			<span class="corners-bottom"><span></span></span></div>
		</div>


<div id="tabs">
       <ul>
		  <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewforum.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
          <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
          <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li><li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
		  <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->		  
	 </ul>
    </div>	
		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
			<!-- IF S_IN_ARCADE -->
				<!-- INCLUDE arcade/arcade_breadcrumbs.html -->
			<!-- ELSE -->			
				<li class="icon-home"><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>
			<!-- ENDIF -->
			</ul>
			<ul class="linklist navlinks">
				<li class="icon-guestbook"><a href="{U_GUESTBOOK}" title="{L_GUESTBOOK_EXPLAIN}">{L_GUESTBOOK}</a></li>
				<!-- IF S_HACKLIST_ON --><li class="icon-hacklist"><a href="{U_HACKLIST}" title="{L_HACKLIST}">{L_HACKLIST}</a></li><!-- ENDIF -->
				<!-- IF S_BUGTRACKER_ON --><li class="icon-tracker"><a href="{U_BUG_TRACKER}" title="{L_BUG_TRACKER}">{L_BUG_TRACKER}</a></li><!-- ENDIF -->
				<li class="icon-favorites"><a href="{U_FFAVORITES}" title="{FFAVORITES_EXPLAIN}">{L_FFAVORITES}</a></li>
				<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li class="icon-download"><a target="_blank" href="http://www.pijanitvor.com/forum/youtube.php"><span>Jubito!</span></a></li><!-- ENDIF -->
			    <!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li class="icon-logout"><a href="radio/radio.php" onclick="window.open('radio/radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=420, height=400, left=20, top=20'); return false;">Radio</a></li><!-- ENDIF -->
				<!-- IF S_USER_LOGGED_IN --><li class="icon-news"><a href="{U_NEWS}" title="{L_NEWS}">{L_NEWS}</a></li><!-- ENDIF -->
				<!-- IF S_USER_LOGGED_IN --><li class="icon-phoogle"><a href="{U_PHOOGLE}" title="{L_PHOOGLE_ALT_TEXT}">{L_PHOOGLE_LINK_TEXT}</a></li><!-- ENDIF -->
				<li class="icon-gallery"><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}">{L_GALLERY}</a></li>
				<li class="icon-download"><a href="{U_DOWNLOADS}" title="{L_DOWNLOADS}">{L_DOWNLOADS}</a></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>
             			

			<!-- INCLUDE prime_quick_login.html -->
			
			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<ul class="linklist leftside">
				<li class="icon-ucp">
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a>
						<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull; 
					<a href="{U_SELF_TOPICS}">{L_PRIME_SELF_TOPICS}</a> &bull;						
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- IF S_INC_UNREAD_LINK --><!-- IF S_EXISTS_UNREADS --> &bull; <a href="{U_SEARCH_UNREAD}"><b><font color="#6600CC">{L_VIEW_UNREADS}</font></b></a><!-- ELSE --> &bull; <a href="{U_SEARCH_UNREAD}">{L_NO_UNREADS}</a><!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
					<!-- ENDIF -->
				</li>
			</ul>
			<!-- ENDIF -->

			<ul class="linklist rightside">

				<!-- IF not S_IS_BOT -->
				

					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l"<!-- IF S_USER_LOGGED_IN --> onclick="return logout_confirmation();"<!-- ENDIF -->>{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

	</div>
	{ADS_2}
	
	<a name="start_here"></a>
	<div id="page-body">
		
		<!-- IF S_NEW_DL_MESSAGE -->
		<div id="message" class="rules">
		<div class="inner"><span class="corners-top"><span></span></span>
		{NEW_DOWNLOAD_MESSAGE}
		<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->
		 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> 
		<div id="message" class="rules">
			<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 -->
		<!-- IF S_IN_ARCADE and S_ARCADE_DISABLED and S_USER_LOGGED_IN and U_ACP --> 
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_ARCADE_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->		
<!-- IF S_TOPIC_REPORTED --><div id="message" class="rules">
         <div align="center" class="inner"><span class="corners-top"><span></span></span>
            <img src="{T_IMAGESET_PATH}/icon_topic_reported.gif" alt="*" /><a href="{U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><img src="{T_IMAGESET_PATH}/icon_topic_reported.gif" alt="*" />
         <span class="corners-bottom"><span></span></span></div>
      </div>
                <!-- ENDIF -->		
 
        <!-- phpBBroadcast mod -->
        <!-- IF S_BOARD_WIDE_MESSAGE --> 
		<div id="message" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {BOARD_WIDE_MESSAGE}
			<span class="corners-bottom"><span></span></span></div>
		</div> 
		<!-- ENDIF -->
        <!-- phpBBroadcast message end -->	
<ul class="linklist navlinks">
                <!-- IF S_USER_LOGGED_IN -->
                <li class="leftside">&nbsp;{S_WELCOME} {WELCOME_REGISTERED}</li><li class="rightside">{LAST_VISIT_DATE}&nbsp;|&nbsp;{CURRENT_TIME}</li>
                <!-- ELSE -->
                <li class="leftside">&nbsp;{S_WELCOME} {WELCOME_GUEST}</li><li class="rightside">{CURRENT_TIME}</li>
                <!-- ENDIF -->
             </ul>		
<!-- INCLUDE announcement_centre.html -->
			
		
www.pijanitvor.com

Gardening & Fishing - If you want, I will open english subforum for you ==> send me PM here ||

User avatar
irdem
Registered User
Posts: 172
Joined: Sat Oct 13, 2007 10:31 pm
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by irdem » Mon Nov 17, 2008 7:16 pm

hi sunka,
you can try this:
in overal_header.html

FIND:

Code: Select all

 <div id="tabs">
       <ul>
        <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewforum.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
          <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
          <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li><li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
        <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->       
    </ul>
    </div> 
REPLACE WITH:

Code: Select all

<div id="tabs">
       <ul>
        <li<!-- IF SCRIPT_NAME == 'index.php' or IF SCRIPT_NAME == 'viewforum.php' or IF SCRIPT_NAME == 'viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
          <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
          <li<!-- IF SCRIPT_NAME == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li><li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
        <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->       
    </ul>
    </div> 
femu,
i think you have same problem..

femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Problem with update - 3.0.2 to 3.0.3

Post by femu » Tue Nov 18, 2008 3:18 am

Hi,

this is my changed part, which (I think) causes the new error:

Code: Select all

		<div id="tabs">
			<ul>
				<li<!-- IF SCRIPT_NAME== 'portal.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}"><span>{L_PORTAL}</span></a></li>
				<li<!-- IF S_PAGE_INDEX --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_FORUM}</span></a></li>
				<!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME== 'search.php' --> class="activetab"<!-- ENDIF -->><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
				<li<!-- IF S_GALLERY  --> class="activetab"<!-- ENDIF -->><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}"><span>{L_GALLERY}</span></a></li>
				<li<!-- IF SCRIPT_NAME== 'arcade.php' --> class="activetab"<!-- ENDIF -->><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li>
				<li<!-- IF S_KB  --> class="activetab"<!-- ENDIF -->><a href="{U_KB}" title=""><span>{L_KNOWLEDGE_BASE}</span></a></li>
				<!-- IF S_USER_LOGGED_IN --><li<!-- IF SCRIPT_NAME== 'blog.php' --> class="activetab"<!-- ENDIF -->><a href="{U_BLOG}" title="{L_BLOG_EXPLAIN}"><span>{L_BLOG}</span></a></li>
				<li<!-- IF SCRIPT_NAME== 'bugtracker/index.php' --> class="activetab"<!-- ENDIF -->><a href="{U_BUGTRACKER}" title="{L_BT_BUGTRACKER}"><span>{L_BT_BUGTRACKER}</span></a></li><!-- ENDIF -->
			</ul>
		</div>
So all occurances changed to SCRIPT_NAME only ...

regards,
femu

BTW. I now really tried different update variations. The last was using the Autoupdater files, where I compared with WinMerge the old files with the new ones and then changed it in my files ... I meanwhile spent three days on that d*** update. I never had such a ridiculous update since I work with phpBB during the last 5 years. First after doing the half of the updates, I read, that the codechanges are wrong. Then I tried the Autoupdater, which gave me similiar problems, then I tried the patch files without success (maybe I'm too stupid for this) and finally I tried above method, but still have problems. This really did't happens in the earlier years ..... I'm really p*****. Why the hell is it not possible to provide a working update? I only had three occurances, where I needed to check exactly, cause one of 53 mods were involved, but these parts have nothing to do with the current problem ....
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by Sunka » Tue Nov 18, 2008 7:55 am

irdem wrote:hi sunka,
you can try this:
in overal_header.html

FIND:

Code: Select all

 <div id="tabs">
       <ul>
        <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewforum.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
          <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
          <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li><li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
        <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->       
    </ul>
    </div> 
REPLACE WITH:

Code: Select all

<div id="tabs">
       <ul>
        <li<!-- IF SCRIPT_NAME == 'index.php' or IF SCRIPT_NAME == 'viewforum.php' or IF SCRIPT_NAME == 'viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
          <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
          <li<!-- IF SCRIPT_NAME == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li><li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
        <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->       
    </ul>
    </div> 
femu,
i think you have same problem..

Not working :(
www.pijanitvor.com

Gardening & Fishing - If you want, I will open english subforum for you ==> send me PM here ||

User avatar
irdem
Registered User
Posts: 172
Joined: Sat Oct 13, 2007 10:31 pm
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by irdem » Tue Nov 18, 2008 8:39 am

you have still this code in your overall_header.html..
remove it at the moment for to see if you have another problem!

Code: Select all

<div id="tabs">
       <ul>
		  <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewforum.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
          <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->

          <li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li><li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li><li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
		  <li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li><li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li><li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li></li><li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->		  
	 </ul>
    </div>

User avatar
irdem
Registered User
Posts: 172
Joined: Sat Oct 13, 2007 10:31 pm
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by irdem » Tue Nov 18, 2008 8:43 am

femu wrote:Hi,

this is my changed part, which (I think) causes the new error:

Code: Select all

		<div id="tabs">
			<ul>
				<li<!-- IF SCRIPT_NAME== 'portal.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}"><span>{L_PORTAL}</span></a></li>
				<li<!-- IF S_PAGE_INDEX --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_FORUM}</span></a></li>
				<!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME== 'search.php' --> class="activetab"<!-- ENDIF -->><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
				<li<!-- IF S_GALLERY  --> class="activetab"<!-- ENDIF -->><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}"><span>{L_GALLERY}</span></a></li>
				<li<!-- IF SCRIPT_NAME== 'arcade.php' --> class="activetab"<!-- ENDIF -->><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li>
				<li<!-- IF S_KB  --> class="activetab"<!-- ENDIF -->><a href="{U_KB}" title=""><span>{L_KNOWLEDGE_BASE}</span></a></li>
				<!-- IF S_USER_LOGGED_IN --><li<!-- IF SCRIPT_NAME== 'blog.php' --> class="activetab"<!-- ENDIF -->><a href="{U_BLOG}" title="{L_BLOG_EXPLAIN}"><span>{L_BLOG}</span></a></li>
				<li<!-- IF SCRIPT_NAME== 'bugtracker/index.php' --> class="activetab"<!-- ENDIF -->><a href="{U_BUGTRACKER}" title="{L_BT_BUGTRACKER}"><span>{L_BT_BUGTRACKER}</span></a></li><!-- ENDIF -->
			</ul>
		</div>
So all occurances changed to SCRIPT_NAME only ...

regards,
femu

BTW. I now really tried different update variations. The last was using the Autoupdater files, where I compared with WinMerge the old files with the new ones and then changed it in my files ... I meanwhile spent three days on that d*** update. I never had such a ridiculous update since I work with phpBB during the last 5 years. First after doing the half of the updates, I read, that the codechanges are wrong. Then I tried the Autoupdater, which gave me similiar problems, then I tried the patch files without success (maybe I'm too stupid for this) and finally I tried above method, but still have problems. This really did't happens in the earlier years ..... I'm really p*****. Why the hell is it not possible to provide a working update? I only had three occurances, where I needed to check exactly, cause one of 53 mods were involved, but these parts have nothing to do with the current problem ....
what's the error message that you have?

User avatar
irdem
Registered User
Posts: 172
Joined: Sat Oct 13, 2007 10:31 pm
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by irdem » Tue Nov 18, 2008 10:22 am

sunka:
you have a mistake in the menu codes.

i changed it.. this latest one must work:

Code: Select all

		<div id="tabs">
            <ul>
                <li<!-- IF SCRIPT_NAME == 'index.php' && SCRIPT_NAME == 'viewforum.php' && SCRIPT_NAME == 'viewtopic.php' && SCRIPT_NAME == 'posting.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}" title="View the Forum"><span>{L_INDEX}</span></a></li>
				<!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
				<li<!-- IF SCRIPT_NAME == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li>
				<li><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li>
				<li><a href="http://www.pijanitvor.com/forum/faq.php?mode=rules"><span>Pravila</span></a></li>
				<li><a href="http://www.pijanitvor.com/forum/ucp.php"><span>User Control Panel</span></a></li>
				<li><a target="_blank" href="http://www.pijanitvor.com/forum/chat/flashchat.php"><span>Chat</span></a></li>
				<li class="icon-ucp"><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li>
				<li><a href="http://www.pijanitvor.com/forum/sudoku/sudoku.php"><span>Sudoku</span></a></li>
			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li><a target="_blank" href="http://www.pijanitvor.com/slike/"><span>Hosting Slika</span></a></li><!-- ENDIF -->       
          </ul>
        </div>

femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Problem with update - 3.0.2 to 3.0.3

Post by femu » Tue Nov 18, 2008 3:43 pm

Hi Irdem,

which of all th error messages you mean? Fact is, that none of the updates worked. So I stoped even to notice which errors showed up. The last update I tried was really very carefully. Maybe the rest would work, but if I get an error with something, which I believe, I had not changed (the way I use these SCRIPT_NAME, worked and still does work perfectly with 3.0.2), I think there were socalled fixes, which messed this up.

And the way you describe is -in my opinion - more a workaround, than a correct solution, since the definition seems to be messed up in one of the 145 files, which had to be changed ... and since the old definition is not one of the things, which needed to be changed, the error must be somewhere else.

So still a lot of work to do, to fix the update itself. So meanwhile I will stay with the perfectly running 3.0.2 and wait until the big numbers of update errors are fixed ;-)

Thanks anyway for help!
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by Sunka » Tue Nov 18, 2008 6:31 pm

femu wrote:Hi Irdem,

which of all th error messages you mean? Fact is, that none of the updates worked. So I stoped even to notice which errors showed up. The last update I tried was really very carefully. Maybe the rest would work, but if I get an error with something, which I believe, I had not changed (the way I use these SCRIPT_NAME, worked and still does work perfectly with 3.0.2), I think there were socalled fixes, which messed this up.

And the way you describe is -in my opinion - more a workaround, than a correct solution, since the definition seems to be messed up in one of the 145 files, which had to be changed ... and since the old definition is not one of the things, which needed to be changed, the error must be somewhere else.

So still a lot of work to do, to fix the update itself. So meanwhile I will stay with the perfectly running 3.0.2 and wait until the big numbers of update errors are fixed ;-)

Thanks anyway for help!
femu

I have allready return to v3.0.2

Still nobody from the main managment didn't answer me for my screaming for help for updating to v3.0.3, in topic I have created.
That ignorance just give me more will to go somewhere else...maybe vBulletin...I'll see about that.
But it is so frustrating that it is to complicated to update board with many MODs installed
www.pijanitvor.com

Gardening & Fishing - If you want, I will open english subforum for you ==> send me PM here ||

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: Problem with update - 3.0.2 to 3.0.3

Post by Balint » Wed Nov 19, 2008 7:19 pm

Hi (again)!

See my post here, I'm sure it'll solve your problems.

And please don't expect help from the phpBB staff if you modify your board and the update won't work... :oops:


Greets,
Bálint

femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Problem with update - 3.0.2 to 3.0.3

Post by femu » Thu Nov 20, 2008 3:23 am

Hi,

I tried the update again (don't ask me how often I did it) and it seems to work now.

Thanks to all!
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: Google [Bot] and 41 guests