Parse error: --> Hilfe ersucht
Verfasst: Sa 13. Sep 2003, 15:19
Hallo!
Ich mache meine ersten Gehversuche in dem System (4.3 Beta).
Nachdem ich ein neues Layout angelegt habe, bekomme ich im editor die folgende Meldung:
Parse error: parse error, unexpected ')' in /home/www/web28/html/cms_/contenido/includes/include.con_editcontent.php(549) : eval()'d code on line 355
Der Layout Code ist wie folgt:
##################################################
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>PB</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<table width="780" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="107"><font size="-2">CMS_CONTAINER[1]</font></td>
<td width="555">
<!--hilfsnavi-->
<div align="right">
<p> </p>
<p>CMS_CONTAINER[2]
<!--hilfsnavi ende-->
</p>
</div></td>
<td width="118">CMS_CONTAINER[3]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<!--navi-->
CMS_CONTAINER[4]
<!--navi ende-->
</td>
<td><p>CMS_CONTAINER[5]</p>
<p>CMS_CONTAINER[6]</p>
<p>CMS_CONTAINER[7]</p></td>
<td><table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>CMS_CONTAINER[8]</td>
</tr>
<tr>
<td>CMS_CONTAINER[9]</td>
</tr>
<tr>
<td>CMS_CONTAINER[10]</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<?
</textarea></td>
</tr>
<tr><td><img src="images/spacer.gif" width="1" height="10"></td></tr>
<!-- END:BLOCK -->
<tr>
<td align="right"><input type="image" src="images/but_ok.gif"></td>
</tr>
</form>
</body>
</html>
<?php</textarea></td>
</tr>
<tr><td><img src="images/spacer.gif" width="1" height="10"></td></tr>
<!-- END:BLOCK -->
<tr>
<td align="right"><input type="image" src="images/but_ok.gif"></td>
</tr>
</form>
</body>
</html>
#####################################################
Muß am Ende des Codes nicht ein '<?php'? Problem ist, wenn ich dieses einfüge, das System dieses nicht übernimmt.
Kann mir jemand einen Tip geben?
MfG
Arek[/b]
Ich mache meine ersten Gehversuche in dem System (4.3 Beta).
Nachdem ich ein neues Layout angelegt habe, bekomme ich im editor die folgende Meldung:
Parse error: parse error, unexpected ')' in /home/www/web28/html/cms_/contenido/includes/include.con_editcontent.php(549) : eval()'d code on line 355
Der Layout Code ist wie folgt:
##################################################
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>PB</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<table width="780" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="107"><font size="-2">CMS_CONTAINER[1]</font></td>
<td width="555">
<!--hilfsnavi-->
<div align="right">
<p> </p>
<p>CMS_CONTAINER[2]
<!--hilfsnavi ende-->
</p>
</div></td>
<td width="118">CMS_CONTAINER[3]</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<!--navi-->
CMS_CONTAINER[4]
<!--navi ende-->
</td>
<td><p>CMS_CONTAINER[5]</p>
<p>CMS_CONTAINER[6]</p>
<p>CMS_CONTAINER[7]</p></td>
<td><table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>CMS_CONTAINER[8]</td>
</tr>
<tr>
<td>CMS_CONTAINER[9]</td>
</tr>
<tr>
<td>CMS_CONTAINER[10]</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<?
</textarea></td>
</tr>
<tr><td><img src="images/spacer.gif" width="1" height="10"></td></tr>
<!-- END:BLOCK -->
<tr>
<td align="right"><input type="image" src="images/but_ok.gif"></td>
</tr>
</form>
</body>
</html>
<?php</textarea></td>
</tr>
<tr><td><img src="images/spacer.gif" width="1" height="10"></td></tr>
<!-- END:BLOCK -->
<tr>
<td align="right"><input type="image" src="images/but_ok.gif"></td>
</tr>
</form>
</body>
</html>
#####################################################
Muß am Ende des Codes nicht ein '<?php'? Problem ist, wenn ich dieses einfüge, das System dieses nicht übernimmt.
Kann mir jemand einen Tip geben?
MfG
Arek[/b]