Fehler beim Artikel Editor und der Vorschau ...

Gesperrt
JB2002
Beiträge: 8
Registriert: Fr 4. Nov 2005, 15:31
Kontaktdaten:

Fehler beim Artikel Editor und der Vorschau ...

Beitrag von JB2002 »

Hallo, ich habe Contenido 4.4.5 installiert und benutze firefox.

die installation lief glatt, die rechte für die einzelnen ordner sind gesetzt und das backend läuft.
nun ist es aber leider so, dass beim editieren eines Artikels folgende fehlermeldeung erscheint:

Code: Alles auswählen

Parse error: parse error, unexpected '<' in /var/www/vhosts/wbb-bot.de/subdomains/vogelfotos/httpdocs/cms2/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 169
und wenn ich die vorschau aufrufe erscheint

Code: Alles auswählen

Parse error: parse error, unexpected '<' in /var/www/vhosts/wbb-bot.de/subdomains/vogelfotos/httpdocs/cms2/cms/front_content.php(567) : eval()'d code on line 39

da ich noch ein neuling bin was contenido und php angeht bin ich ein wenig verzweifelt ...


könnt ihr mir helfen?


gruß
Moritz
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

hmm, koennte evtl. ein Fehler im Layout sein ... Ist das die Installation mit Beispielmandanten oder hast du selbst Layout, Template und Artikel angelegt?
JB2002
Beiträge: 8
Registriert: Fr 4. Nov 2005, 15:31
Kontaktdaten:

Beitrag von JB2002 »

Halchteranerin hat geschrieben:hmm, koennte evtl. ein Fehler im Layout sein ... Ist das die Installation mit Beispielmandanten oder hast du selbst Layout, Template und Artikel angelegt?
allse selbst angelegt
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

dann ueberpruef dein Layout.
JB2002
Beiträge: 8
Registriert: Fr 4. Nov 2005, 15:31
Kontaktdaten:

Beitrag von JB2002 »

hab ich aber wo könnte der fehler liegen?

ich hängs hier mal an:

Code: Alles auswählen

<html>
<head>
        <title>VCPBN.de - VCP Bad Nauheim</title>
        <link rel="stylesheet" type="text/css" href="css/format.css">
</head>

<body bgcolor="#62696c" style="topmargin: 5px; leftmargin: 0px;">

<!-- Seitenrahmen mit 1024px Breite -->

<table width="100%" cellpadding="0" cellspacing="0" noborder  height="100%">
<tr>
<td>&nbsp; <!-- Linke Platzhalterspalte -->   </td>
<td width="1024" style="width:1024px;">
<!-- BEGINN EIGENTLICHER SEITENINHALT -->
<table width="100%" cellpadding="0" cellspacing="0" noborder>
        <!-- Titelleiste -->
                <tr><td bgcolor="#ffffff" colspan="2" align="center">
<table noborder cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr bgcolor="#000000"><td align="left"><img src="upload/images/header.jpg" alt="Header" border="0"></td>
</table>

                </td></tr><!-- Location-Leiste --><tr><td style="background-color: #004288; vertical-align:middle; height:20px;"><font face="Verdana" style="font-size: 12px; color: #ffcc00; margin-top: 4px; margin-bottom:4px; margin-left:10px;">VCPBN.de</font></td>
<td align="right" style="background-color: #004288; vertical-align:middle; height:20px;">
<?PHP CMS_CONTAINER[1] ?>
</td></tr>
        </table>
        <table width="100%" height="83%" cellpadding="0" cellspacing="0" style="margin-top:5px; min-height: 500px;">
        <!-- Datenbereich: Unterteilung in Navigationsteil und Datenteil -->
                <tr style="margin-top:2px">
                <td align="center">
                        <table width="100%" height="100%" cellspacing="0" cellpadding="0">

                        <!-- linker Navigationsteil -->
                        <tr><td style="width: 160px; vertical-align:top; border-left-style:solid; border-right-style:solid; border-color:#004288; border-left-width:1px; border-right-width:1px; backround-color: #004288;" valign="top" bgcolor="#004288">

                        <br><br>

                        <table cellspacing="0" cellpadding="0" border="0">


<?PHP CMS_CONTAINER[2] ?>

<?PHP CMS_CONTAINER[3] ?>

<?PHP CMS_CONTAINER[4] ?>

<?PHP CMS_CONTAINER[5] ?>

<?PHP CMS_CONTAINER[6] ?>


</table><br></td>
                        <!-- Datenteil -->
                        <td><div style="margin-left:5px; width: 864px; margin-right:5px; height:100%; background-color:#ffffff; background: url('upload/images/back.gif'); ">


<?PHP CMS_CONTAINER[14] ?>
<?PHP CMS_CONTAINER[15] ?>
<?PHP CMS_CONTAINER[16] ?>
<?PHP CMS_CONTAINER[17] ?>
<?PHP CMS_CONTAINER[18] ?>
<?PHP CMS_CONTAINER[19] ?>
<?PHP CMS_CONTAINER[20] ?>


<br></font>
</div>
<p align="center"><font face="Arial"> </font></p></div></div></td>
     
                       </tr>
                        </table>
                </td>
                </tr>


        </table>
<!-- ENDE EIGENTLICHER SEITENINHALT -->
</td>
<td> &nbsp;<!-- Rechte Platzhalterspalte -->   </td>
</tr></table><!-- Ende Seitenrahmen -->
</body>
</html>


wär toll wenn ihr mir helfen könntet
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

tja <?PHP CMS_CONTAINER[1] ?> wird wohl nicht funktionieren

schau dir ggf mal das Beispiellayout an ;)
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

in dem Fall kann man's auch kuerzer machen. :wink:
Statt <?PHP CMS_CONTAINER[x] ?> musst du nur
CMS_CONTAINER[x], ggf. <p>CMS_CONTAINER[x]</p> oder CMS_CONTAINER[x]<br>CMS_CONTAINER[y] oder so nehmen.
JB2002
Beiträge: 8
Registriert: Fr 4. Nov 2005, 15:31
Kontaktdaten:

Beitrag von JB2002 »

timo hat geschrieben:tja <?PHP CMS_CONTAINER[1] ?> wird wohl nicht funktionieren

schau dir ggf mal das Beispiellayout an ;)
hat leider beides nicht geholfen ...

@timo: das prob is ich hab aj keine beispiellayouts installiert ...

wie sehn die denn aus?

Moritz
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

poste dein neues (geaendertes) Layout.
JB2002
Beiträge: 8
Registriert: Fr 4. Nov 2005, 15:31
Kontaktdaten:

Beitrag von JB2002 »

Halchteranerin hat geschrieben:poste dein neues (geaendertes) Layout.

Code: Alles auswählen

<html>
<head>
        <title>VCPBN.de - VCP Bad Nauheim</title>
        <link rel="stylesheet" type="text/css" href="css/format.css">
</head>

<body bgcolor="#62696c" style="topmargin: 5px; leftmargin: 0px;">

<!-- Seitenrahmen mit 1024px Breite -->

<table width="100%" cellpadding="0" cellspacing="0" noborder  height="100%">
<tr>
<td>&nbsp; <!-- Linke Platzhalterspalte -->   </td>
<td width="1024" style="width:1024px;">
<!-- BEGINN EIGENTLICHER SEITENINHALT -->
<table width="100%" cellpadding="0" cellspacing="0" noborder>
        <!-- Titelleiste -->
                <tr><td bgcolor="#ffffff" colspan="2" align="center">
<table noborder cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr bgcolor="#000000"><td align="left"><img src="upload/images/header.jpg" alt="Header" border="0"></td>
</table>

                </td></tr><!-- Location-Leiste --><tr><td style="background-color: #004288; vertical-align:middle; height:20px;"><font face="Verdana" style="font-size: 12px; color: #ffcc00; margin-top: 4px; margin-bottom:4px; margin-left:10px;">VCPBN.de</font></td>
<td align="right" style="background-color: #004288; vertical-align:middle; height:20px;">


<p>CMS_CONTAINER[1]</p>


</td></tr>
        </table>
        <table width="100%" height="83%" cellpadding="0" cellspacing="0" style="margin-top:5px; min-height: 500px;">
        <!-- Datenbereich: Unterteilung in Navigationsteil und Datenteil -->
                <tr style="margin-top:2px">
                <td align="center">
                        <table width="100%" height="100%" cellspacing="0" cellpadding="0">

                        <!-- linker Navigationsteil -->
                        <tr><td style="width: 160px; vertical-align:top; border-left-style:solid; border-right-style:solid; border-color:#004288; border-left-width:1px; border-right-width:1px; backround-color: #004288;" valign="top" bgcolor="#004288">

                        <br><br>

                        <table cellspacing="0" cellpadding="0" border="0">

<p>CMS_CONTAINER[2]</p>

<p>CMS_CONTAINER[3]</p>

<p>CMS_CONTAINER[4]</p>

<p>CMS_CONTAINER[5]</p>

<p>CMS_CONTAINER[6]</p>


</table><br></td>
                        <!-- Datenteil -->
                        <td><div style="margin-left:5px; width: 864px; margin-right:5px; height:100%; background-color:#ffffff; background: url('upload/images/back.gif'); ">


<p>CMS_CONTAINER[14]</p>
<p>CMS_CONTAINER[15]</p>
<p>CMS_CONTAINER[16]</p>
<p>CMS_CONTAINER[17]</p>
<p>CMS_CONTAINER[18]</p>
<p>CMS_CONTAINER[19]</p>
<p>CMS_CONTAINER[20]</p>


<br></font>
</div>
<p align="center"><font face="Arial"> </font></p></div></div></td>
     
                       </tr>
                        </table>
                </td>
                </tr>


        </table>
<!-- ENDE EIGENTLICHER SEITENINHALT -->
</td>
<td> &nbsp;<!-- Rechte Platzhalterspalte -->   </td>
</tr></table><!-- Ende Seitenrahmen -->
</body>
</html>








ich hab <p> auch mal wegelassen und es ging auch nicht ...
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

sorry, aber ich steige bei den vielen verschachtelten Tabellen nicht durch. Der W3C-Validator http://validator.w3.org/check meldet jede Menge Fehler, aber ob die alle berechtigt sind oder nicht, vermag ich nicht zu beurteilen, zumal du auch keinen DOCTYPE angegeben hast.
Kommt ueberhaupt noch die Fehlermeldung vom Anfang, oder was passiert? Sind alle Module fehlerfrei?
JB2002
Beiträge: 8
Registriert: Fr 4. Nov 2005, 15:31
Kontaktdaten:

Beitrag von JB2002 »

mist verdammter jetzt nervts mich ...

ich installiers mal wieder neu (min. das 8e mal oder so ...)

:x
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

eine Neuinstallation duerfte wenig bis gar nichts bringen, wenn dein Layout oder die von dir eingebauten Module fehlerhaft sind :!:
nspace
Beiträge: 8
Registriert: Fr 4. Nov 2005, 13:30
Kontaktdaten:

Beitrag von nspace »

Hi ...

Hmm .. also mal abgesehen davon das dieser HTML-Layout-Code völlig,
ich sag mal inakzeptabel -sorry, bitte nicht persönlich nehmen- ist, liegt
es eher an einem deiner 20 Module die du in die Seite einbindest. Wenn
du mal im Backend unter Style->Module schaust, dort jedes Modul mal
durchklickst, siehst du im rechten Frame das Input u. Output Feld. In der
rechten oberen Ecke des jeweilgen Feldes ist ein -normalerweise- grünes
icon, sollte der code beim verarbeiten irgendwelche Fehler produzieren,
wird dieses grüne icon zu einem roten icon. Daran könntest du jetzt am
einfachsten sehen an welchem Modul es hängt.

Mal kurz zu deinem Layoutcode:
(ich geh mal auf die Fehler ein die mir jetzt auf die schnelle aufgefallen
sind, könnten durchaus mehr sein, Stellen die mit ######**'######
markiert sind, sind weiter unten kommentiert.)

Code: Alles auswählen

<html> 
<head> 
        <title>VCPBN.de - VCP Bad Nauheim</title> 
        <link rel="stylesheet" type="text/css" href="css/format.css"> 
</head> 

<body bgcolor="#62696c" style="topmargin: 5px; leftmargin: 0px;"> 

<!-- Seitenrahmen mit 1024px Breite --> 

<table width="100%" cellpadding="0" cellspacing="0" ######01######noborder  height="100%"> 
	<tr> 
		<td>&nbsp; <!-- Linke Platzhalterspalte -->   </td> 
		<td width="1024" style="width:1024px;"> 
			<!-- BEGINN EIGENTLICHER SEITENINHALT --> 
			<table width="100%" cellpadding="0" cellspacing="0" noborder> 
        		<!-- Titelleiste --> 
                		<tr>
                			<td bgcolor="#ffffff" colspan="2" align="center"> 
						<table noborder cellpadding="0" cellspacing="0" width="100%" height="100%"> 
							<tr bgcolor="#000000">
								<td align="left"><img src="upload/images/header.jpg" alt="Header" border="0"></td> 
							######02######
						</table> 
					</td>
				</tr>
				<!-- Location-Leiste -->
				<tr>
					<td style="background-color: #004288; vertical-align:middle; height:20px;">
						<font face="Verdana" style="font-size: 12px; color: #ffcc00; margin-top: 4px; margin-bottom:4px; margin-left:10px;">
						VCPBN.de
						</font>
					</td> 
					<td align="right" style="background-color: #004288; vertical-align:middle; height:20px;"> 
						<p>CMS_CONTAINER[1]</p> 
					</td>
				</tr> 
        		</table> 
        
        		<table width="100%" height="83%" cellpadding="0" cellspacing="0" style="margin-top:5px; min-height: 500px;"> 
        			<!-- Datenbereich: Unterteilung in Navigationsteil und Datenteil --> 
                		<tr style="margin-top:2px"> 
                			<td align="center"> 
                        			<table width="100%" height="100%" cellspacing="0" cellpadding="0"> 
						<!-- linker Navigationsteil --> 
                        				<tr>
                        					<td style="width: 160px; vertical-align:top; border-left-style:solid; border-right-style:solid; border-color:#004288; border-left-width:1px; border-right-width:1px; backround-color: #004288;" valign="top" bgcolor="#004288"> 
                        						<br><br> 
									<table cellspacing="0" cellpadding="0" border="0"> 
										######03######
										<p>CMS_CONTAINER[2]</p> 
										
										<p>CMS_CONTAINER[3]</p> 
										
										<p>CMS_CONTAINER[4]</p> 
										
										<p>CMS_CONTAINER[5]</p> 
										
										<p>CMS_CONTAINER[6]</p> 

									</table>
									<br>
								</td> 
                        					<!-- Datenteil --> 
                        					<td>
                        						<div style="margin-left:5px; width: 864px; margin-right:5px; height:100%; background-color:#ffffff; background: url('upload/images/back.gif'); "> 
										<p>CMS_CONTAINER[14]</p> 
										<p>CMS_CONTAINER[15]</p> 
										<p>CMS_CONTAINER[16]</p> 
										<p>CMS_CONTAINER[17]</p> 
										<p>CMS_CONTAINER[18]</p> 
										<p>CMS_CONTAINER[19]</p> 
										<p>CMS_CONTAINER[20]</p> 
										<br>
										######04######
										</font> 
									</div> 
									######05########
									<p align="center">
										<font face="Arial"> </font>
									</p>
									######06########
									</div>
									</div>
								</td> 
      
                      					</tr> 
                      				</table> 
                			</td> 
                		</tr> 
        		</table> 
		<!-- ENDE EIGENTLICHER SEITENINHALT --> 
		</td> 
		<td> 
			&nbsp;<!-- Rechte Platzhalterspalte -->   
		</td> 
	</tr>
</table><!-- Ende Seitenrahmen --> 
</body> 
</html> 


zu 1: noborder ? Also ich würde schreiben border=0
zu 2: willst du die Tabelrow nicht mehr mit </tr> schliessen ?

zu 3: Also <p> direkt nach einem <table> tag zu verwenden,
würde ich nicht empfehlen. Aber selbst wenn du jetzt die <p>
wegnimmst müssen deine dort definierten Module (2-6) etwas
wie das hier

Code: Alles auswählen

<tr>
	<td>
		inhalt
	</td>
</tr>
ausgaben, sonst stimmts wieder nicht mehr ... tun sie das ?

zu 4: Welchen offenen <font> tag schliesst du hier ?

zu 5: was bringt das ? tut da nicht auch nur das ein oder andere <br>

zu 6: Und weil wir gerade dabei sind, welche offenen <div> tags
schliesst du hier ?


allgemein: Warum definierst du eine externe CSS File wenn du
dann doch immer und immer wieder style-attribute in den einzelnen
Tags anlegst ? Wie gesagt können druchaus noch mehr Fehler drin sein
und ob das Layout so das anzeigt was du gerne haben möchstest waage
ich ein wenig zu bezweifeln. Ich würde mir nochmal HTML anschauen
dann mit PHP etc. weitermachen. Hierbei hilft meiner Meinung nach
immer ganz gut: http://www.selfhtml.de/

Ich hoffe das mein Beitrag kommt jetzt nicht irgendwie blöd rüber
ansonsten sorry.

mfg,

erik
Gesperrt