Parse error: syntax error

Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Parse error: syntax error

Beitrag von DaSasha »

Hallooo :D

Bin mal wieder mit ein fehler da :D also wenn ich Nachrichten öffnen möchte kommt folgenes

Code: Alles auswählen

Parse error: syntax error, unexpected $end in /www/htdocs/.../community/cache/tpl_Attriuum_ucp_pm_message_header.html.php on line 26
Benutzer geändert in ...

Der folgene Code lautet in Zeile 26

Code: Alles auswählen

<form id="viewfolder" method="post" action="<?php echo (isset($this->_rootref['S_PM_ACTION'])) ? $this->_rootref['S_PM_ACTION'] : ''; ?>">
kann da jemand helfen?
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Birne94
Mitglied
Beiträge: 129
Registriert: 22.02.2009 18:57
Kontaktdaten:

Re: Parse error: syntax error

Beitrag von Birne94 »

Poste mal bitte den Inhalt der ucp_pm_message_header.html deines Styles...
Wahrscheinlich fehlt dort ein <!-- ENDIF --> oder so.
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: Parse error: syntax error

Beitrag von DaSasha »

hier der komplette code

Code: Alles auswählen

<?php if (!defined('IN_PHPBB')) exit; ?><h2><?php echo ((isset($this->_rootref['L_TITLE'])) ? $this->_rootref['L_TITLE'] : ((isset($user->lang['TITLE'])) ? $user->lang['TITLE'] : '{ TITLE }')); if ($this->_rootref['CUR_FOLDER_NAME']) {  ?>: <?php echo (isset($this->_rootref['CUR_FOLDER_NAME'])) ? $this->_rootref['CUR_FOLDER_NAME'] : ''; } ?></h2>

<div class="panel clearfix pm-panel-header<?php if ($this->_rootref['S_VIEW_MESSAGE']) {  ?> pm<?php } ?>">
	<div class="inner"><span class="corners-top"><span></span></span>

	<?php if ($this->_rootref['FOLDER_STATUS'] && $this->_rootref['FOLDER_MAX_MESSAGES'] != 0) {  ?><p><?php echo (isset($this->_rootref['FOLDER_STATUS'])) ? $this->_rootref['FOLDER_STATUS'] : ''; ?></p><?php } if ($this->_rootref['U_POST_REPLY_PM'] || $this->_rootref['U_POST_NEW_TOPIC'] || $this->_rootref['U_FORWARD_PM']) {  ?>

		<div class="buttons">
			<?php if ($this->_rootref['U_POST_REPLY_PM']) {  ?><div class="pmreply-icon clearfix"><a title="<?php echo ((isset($this->_rootref['L_POST_REPLY_PM'])) ? $this->_rootref['L_POST_REPLY_PM'] : ((isset($user->lang['POST_REPLY_PM'])) ? $user->lang['POST_REPLY_PM'] : '{ POST_REPLY_PM }')); ?>" href="<?php echo (isset($this->_rootref['U_POST_REPLY_PM'])) ? $this->_rootref['U_POST_REPLY_PM'] : ''; ?>"><span></span><?php echo ((isset($this->_rootref['L_POST_REPLY_PM'])) ? $this->_rootref['L_POST_REPLY_PM'] : ((isset($user->lang['POST_REPLY_PM'])) ? $user->lang['POST_REPLY_PM'] : '{ POST_REPLY_PM }')); ?></a></div>
			<?php } else if ($this->_rootref['U_POST_NEW_TOPIC']) {  ?><div class="newpm-icon"><a href="<?php echo (isset($this->_rootref['U_POST_NEW_TOPIC'])) ? $this->_rootref['U_POST_NEW_TOPIC'] : ''; ?>" accesskey="n" title="<?php echo ((isset($this->_rootref['L_UCP_PM_COMPOSE'])) ? $this->_rootref['L_UCP_PM_COMPOSE'] : ((isset($user->lang['UCP_PM_COMPOSE'])) ? $user->lang['UCP_PM_COMPOSE'] : '{ UCP_PM_COMPOSE }')); ?>"><span></span><?php echo ((isset($this->_rootref['L_UCP_PM_COMPOSE'])) ? $this->_rootref['L_UCP_PM_COMPOSE'] : ((isset($user->lang['UCP_PM_COMPOSE'])) ? $user->lang['UCP_PM_COMPOSE'] : '{ UCP_PM_COMPOSE }')); ?></a></div><?php } if ($this->_rootref['U_FORWARD_PM']) {  ?><div class="forwardpm-icon"><a title="<?php echo ((isset($this->_rootref['L_POST_FORWARD_PM'])) ? $this->_rootref['L_POST_FORWARD_PM'] : ((isset($user->lang['POST_FORWARD_PM'])) ? $user->lang['POST_FORWARD_PM'] : '{ POST_FORWARD_PM }')); ?>" href="<?php echo (isset($this->_rootref['U_FORWARD_PM'])) ? $this->_rootref['U_FORWARD_PM'] : ''; ?>"><span></span><?php echo ((isset($this->_rootref['L_FORWARD_PM'])) ? $this->_rootref['L_FORWARD_PM'] : ((isset($user->lang['FORWARD_PM'])) ? $user->lang['FORWARD_PM'] : '{ FORWARD_PM }')); ?></a></div><?php } ?>

		</div>

		<?php if ($this->_rootref['U_POST_REPLY_PM'] && $this->_rootref['S_PM_RECIPIENTS'] > (1)) {  ?>

			<div class="reply-all"><a title="<?php echo ((isset($this->_rootref['L_REPLY_TO_ALL'])) ? $this->_rootref['L_REPLY_TO_ALL'] : ((isset($user->lang['REPLY_TO_ALL'])) ? $user->lang['REPLY_TO_ALL'] : '{ REPLY_TO_ALL }')); ?>" href="<?php echo (isset($this->_rootref['U_POST_REPLY_ALL'])) ? $this->_rootref['U_POST_REPLY_ALL'] : ''; ?>">&raquo; <?php echo ((isset($this->_rootref['L_REPLY_TO_ALL'])) ? $this->_rootref['L_REPLY_TO_ALL'] : ((isset($user->lang['REPLY_TO_ALL'])) ? $user->lang['REPLY_TO_ALL'] : '{ REPLY_TO_ALL }')); ?></a></div>
		<?php } } if ($this->_rootref['TOTAL_MESSAGES'] || $this->_rootref['S_VIEW_MESSAGE']) {  ?>

	<ul class="linklist pm-return-to">
		<li class="rightside pagination">
			<?php if ($this->_rootref['S_VIEW_MESSAGE']) {  ?><a class="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''; ?>" href="<?php echo (isset($this->_rootref['U_CURRENT_FOLDER'])) ? $this->_rootref['U_CURRENT_FOLDER'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RETURN_TO'])) ? $this->_rootref['L_RETURN_TO'] : ((isset($user->lang['RETURN_TO'])) ? $user->lang['RETURN_TO'] : '{ RETURN_TO }')); ?> <?php echo (isset($this->_rootref['CUR_FOLDER_NAME'])) ? $this->_rootref['CUR_FOLDER_NAME'] : ''; ?></a><?php } if ($this->_rootref['FOLDER_CUR_MESSAGES'] != 0) {  if ($this->_rootref['TOTAL_MESSAGES']) {  echo (isset($this->_rootref['TOTAL_MESSAGES'])) ? $this->_rootref['TOTAL_MESSAGES'] : ''; } ?>

			</div>
</div>

<form id="viewfolder" method="post" action="<?php echo (isset($this->_rootref['S_PM_ACTION'])) ? $this->_rootref['S_PM_ACTION'] : ''; ?>">
sorry ist unübersichtlich
hab die datei hochgeladen, sorry wusste aber net wo, deswegen da

http://www.fileuploadx.de/654171
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Birne94
Mitglied
Beiträge: 129
Registriert: 22.02.2009 18:57
Kontaktdaten:

Re: Parse error: syntax error

Beitrag von Birne94 »

Nein, das ist bereits die gecachte Version des Templates. Ich meine die Datei /styles/STYLENAME/template/ucp_pm_message_header.html
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: Parse error: syntax error

Beitrag von DaSasha »

achso ok sorry :D
hier die andere datei http://www.fileuploadx.de/350726

oder der code

Code: Alles auswählen

<h2>{L_TITLE}<!-- IF CUR_FOLDER_NAME -->: {CUR_FOLDER_NAME}<!-- ENDIF --></h2>

<div class="panel clearfix pm-panel-header<!-- IF S_VIEW_MESSAGE --> pm<!-- ENDIF -->">
	<div class="inner"><span class="corners-top"><span></span></span>

	<!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p>{FOLDER_STATUS}</p><!-- ENDIF -->

	<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
		<div class="buttons">
			<!-- IF U_POST_REPLY_PM --><div class="pmreply-icon clearfix"><a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}"><span></span>{L_POST_REPLY_PM}</a></div>
			<!-- ELSEIF U_POST_NEW_TOPIC --><div class="newpm-icon"><a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}"><span></span>{L_UCP_PM_COMPOSE}</a></div><!-- ENDIF -->
			<!-- IF U_FORWARD_PM --><div class="forwardpm-icon"><a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}"><span></span>{L_FORWARD_PM}</a></div><!-- ENDIF -->
		</div>

		<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 -->
			<div class="reply-all"><a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}">&raquo; {L_REPLY_TO_ALL}</a></div>
		<!-- ENDIF -->

	<!-- ENDIF -->

		<!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE -->
	<ul class="linklist pm-return-to">
		<li class="rightside pagination">
			<!-- IF S_VIEW_MESSAGE --><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_CURRENT_FOLDER}">{L_RETURN_TO} {CUR_FOLDER_NAME}</a><!-- ENDIF -->
			<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
				<!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF -->
			</div>
</div>

<form id="viewfolder" method="post" action="{S_PM_ACTION}">
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Birne94
Mitglied
Beiträge: 129
Registriert: 22.02.2009 18:57
Kontaktdaten:

Re: Parse error: syntax error

Beitrag von Birne94 »

Code: Alles auswählen

<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
hat kein schließendes Tag. Füge mal nach

Code: Alles auswählen

            <!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF -->
das ein:

Code: Alles auswählen

<!-- ENDIF -->
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: Parse error: syntax error

Beitrag von DaSasha »

hab ich, aber ist immernoch das gleiche
cache auch geleert
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: Parse error: syntax error

Beitrag von DaSasha »

hab den fehler gefunden :D

Code: Alles auswählen

		<!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE -->
	<ul class="linklist pm-return-to">
		<li class="rightside pagination">
			<!-- IF S_VIEW_MESSAGE --><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_CURRENT_FOLDER}">{L_RETURN_TO} {CUR_FOLDER_NAME}</a><!-- ENDIF -->
			<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
				<!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF -->
	</div>
</div>
da musste ich noch <ul> und <li> endungen hinmachen, desweiteren noch eine zeile

hier der code

Code: Alles auswählen

		<!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE -->
	<ul class="linklist pm-return-to">
		<li class="rightside pagination">
			<!-- IF S_VIEW_MESSAGE --><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_CURRENT_FOLDER}">{L_RETURN_TO} {CUR_FOLDER_NAME}</a><!-- ENDIF -->
			<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
				<!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF -->
				<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
			<!-- ENDIF -->
		</li>
	</ul>
		<!-- ENDIF -->
	</div>
</div>>
hätte ich auch vorher drauf kommen können :D
trotzdem danke für die hilfe
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Antworten

Zurück zu „[3.0.x] Administration, Benutzung und Betrieb“