Was für nee Felhermeldung ist das denn?

nizzan

Mitglied
Hallo,

Sorry wenn ich schon wieder stöhre aber was für nee Felhermeldung ist das denn? Hier kommt sie mal:

Parse error: parse error, unexpected '}' in /srv/www/htdocs/web123/html/german/community/intern/profils.php on line 485

Hier mal der CODE in der Zeile 485:

PHP:
}


Hier mal der Code etwas weiter oben und dann etwas weiter unten:

PHP:
										    <td width="49%"><?php echo $_data['messenger']; ?>:</td>
 										    <td width="51%"><?php
 		    		    		    		    		    	if($_data['messenger'] == "ICQ" AND $_data['messengerid'])
 		    		    		    		    		    	{
 		    		    		    		    		    		echo GetICQ($_data['messengerid']);
 		    		    		    		    		    		echo $_data['messengerid'];
 		    		    		    		    		    	}
 		    		    		    		    		    	elseif($_data['messenger'] == "Yahoo" AND $_data['messengerid'])
 		    		    		    		    		    	{
 		    		    		    		    		    		echo $_data['messengerid'] . " ";
 		    		    		    		    		    		echo GetYahoo($_data['messengerid']);
 		    		    		    		    		    	}
 		    		    		    		    		    	elseif($_data['messengerid'])
 		    		    		    		    		    	{
 		    		    		    		    		    		echo $_data['messengerid'];
 		    		    		    		    		    	}
 		    		    		    		    		    	else echo "Keine Angabe";
 		    		    		    		    		    	?></td>
 										  </tr>
 										  <tr bgcolor="#efefef">
 										    <td><p class="Stil3">Nachrichtensystem</p></td>
 										    <td><a href="mypost.php?show=write&amp;empfaenger=<?php echo $_data['benutzername'],"&amp;",SID; ?>" style="color:#000000">Nachricht schreiben</a></td>
 										  </tr>
 									    </table>
 									    <br>
 									    <br>
 									    <table cellpadding="4" cellspacing="0" width="97%">
 										  <tr>
 										    <th bgcolor="#CCCCCC"><span class="Stil3">About me</span></th>
 										  </tr>
 										  <?php if(!empty($_data['selbstbeschreibung']) OR !empty($_data['hobbies']) OR
 		    		    		    		 !empty($_data['ichmag']) OR !empty($_data['ichmagnicht']) OR
 		    		    		    		 !empty($_data['motto']) OR!empty($_data['nachricht']))
 		    		    		    	{
 		    		    		    	if($_data['selbstbeschreibung'])
 		    		    		    	{
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2" bgcolor="#efefef"><span class="Stil3">Selbstbeschreibung: </span></td>
 										  </tr>
 										  <tr>
 										    <td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['selbstbeschreibung']))); ?></div></td>
 										  </tr>
 										  <?php
 		    		    		    	}
 		    		    		    	if($_data['hobbies'])
 		    		    		    	{
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2" bgcolor="#efefef"><span class="Stil3">Hobbies:</span></td>
 										  </tr>
 										  <tr>
 										    <td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['hobbies']))); ?></div></td>
 										  </tr>
 										  <?php
 		    		    		    	}
 		    		    		    	if($_data['ichmag'])
 		    		    		    	{
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2" bgcolor="#efefef"><span class="Stil3">Likes:</span></td>
 										  </tr>
 										  <tr>
 										    <td colspan="0"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['ichmag']))); ?></div></td>
 										  </tr>
 										  <?php
 		    		    		    	}
 		    		    		    	if($_data['ichmagnicht'])
 		    		    		    	{
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2" bgcolor="#efefef"><span class="Stil3">Dislikes:</span></td>
 										  </tr>
 										  <tr>
 										    <td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['ichmagnicht']))); ?></div></td>
 										  </tr>
 										  <?php
 		    		    		    	}
 		    		    		    	if($_data['motto'])
 		    		    		    	{
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2" bgcolor="#efefef"><span class="Stil3">Mein Motto:</span></td>
 										  </tr>
 										  <tr>
 										    <td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['motto']))); ?></div></td>
 										  </tr>
 										  <?php
 		    		    		    	}
 		    		    		    	if($_data['nachricht'])
 		    		    		    	{
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2" bgcolor="#efefef"><span class="Stil3">Meine Nachricht an euch:</span></td>
 										  </tr>
 										  <tr>
 										    <td colspan="2"><div class="text"><?php echo nl2br(htmlentities(stripslashes($_data['nachricht']))); ?></div></td>
 										  </tr>
 										  <?php
 		    		    		    	}
 		    		    			  }
 		    		    			  else
 		    		    			  {
 		    		    		    	?>
 										  <tr>
 										    <td colspan="2"><?php echo $_data['benutzername']; ?> hat leider keine Daten &uuml;ber sich eingegeben.</td>
 										  </tr>
 										  <?php
 		    		    			  }
 		    		    			  ?>
 									    </table>
 									    <?php
 		    		    			}
 		    		    		    elseif(isset($_GET['user']) AND !$_data)
 		    		    			{
 		    		    		    	?>
 									    <table width="90%"  border="0">
 										  <tr>
 										    <td height="45" valign="top">Es wurde leider kein Benutzer mit dem Namen &quot;<?php echo htmlentities($_GET['user']); ?>&quot; gefunden. Hast du dich vielleicht nur verschrieben? Hier kannst du es nochmal probieren:</td>
 										  </tr>
 									    </table>
 									    <form action="<?php echo $_SERVER['PHP_SELF'],"?",SID; ?>" method="post">
 										  <input type="text" name="user" size="25">
 										  <input name="submit" type="submit" value="Anzeigen">
 									    </form>
 									    <?php
 		    		    			}
 		    		    			else
 		    		    			{
 		    		    		    	?>
 									    <table width="90%"  border="0">
 										  <tr>
 										    <td height="45" valign="top">Bitte gib hier den Benutzernamen des Community Mitgliedes an, dessen Profil du sehen willst:</td>
 										  </tr>
 									    </table>
 									    <form action="<?php echo $_SERVER['PHP_SELF'],"?",SID; ?>" method="post">
 										  <input type="text" name="user2" size="25">
 										  <input name="submit" type="submit" value="Anzeigen">
 									    </form>
 									    <?php
 		    		    			}
 		    		    		    ?></td>
 
Das heißt, dass an dieser Stelle keine schließende Klammer stehen darf. Wahrscheinlich, weil sie vorher nicht geöffnet wurde. Vor der Stelle
PHP:
elseif(isset($_GET['user']) AND !$_data)
wird eine Klammer geschlossen, die nicht geöffnet wurde.
 
Zurück