Seite 1 von 1

Parse error: parse error, unexpected T_LNUMBER, expecting

Verfasst: Mo 13. Feb 2006, 18:12
von renasco
Ich hab schon wieder ein problem. Wenn ich etwas editieren will kommt so ein fehler:

Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in C:\Programme\XAMPP\xampp\htdocs\cms\contenido\includes\include.con_editcontent.php(644) : eval()'d code on line 1169

woran kan das liegen bitte hilft mir. Ich hab in includes\include.con_editcontent.php nichts geändert.

Re: Parse error: parse error, unexpected T_LNUMBER, expectin

Verfasst: Mo 13. Feb 2006, 18:31
von mvf
schau mal in deine module? alles im grunen bereich?
check mal welche du in dem template im einsatz hast ob da nicht irgendwo im output doch ne rote ampel leuchtet

ansonsten mehr infos bitte

und hoffentlich nicht die standard hauptnavi , da fehlt ein komma in der sql clause, wenn's dass sein sollte dann sage lieber nichts sonst geht herrB (zu recht) in die luft, stichwort -> suche ;)

Verfasst: Mo 13. Feb 2006, 18:37
von renasco
da ist alles im grünen bereich weil vorher alles in ordnung war, aber es könnte an mein Artikelmodul liegen, weil ich es vorkurzem erstellt hab.

input

Code: Alles auswählen

if ("CMS_VALUE[3]" == 'links') {
	$links = 'checked';
	$rechts = '';
	$normal = '';
}
elseif ("CMS_VALUE[3]" == 'rechts') {
	$links = '';
	$rechts = 'checked';
	$normal = '';
}
elseif ("CMS_VALUE[3]" == 'normal') {
	$links = '';
	$rechts = '';
	$normal = 'checked';
}

echo '
   <table>
	<tr>
	  <td class="text_medium" style="padding:5px;">Bild Links</td>
	  <td style="padding:5px;"><input type="radio" name="CMS_VAR[3]" value="links" '.$links.'></td>
	</tr>
	<tr>
	  <td class="text_medium" style="padding:5px;">Bild Rechts</td>
	  <td style="padding:5px;"><input type="radio" name="CMS_VAR[3]" value="rechts" '.$rechts.'></td>
	</tr>
	<tr>
	  <td class="text_medium" style="padding:5px;">Bild Normal</td>
	  <td style="padding:5px;"><input type="radio" name="CMS_VAR[3]" value="normal" '.$normal.'></td>
	</tr>
   </table>
';
output

Code: Alles auswählen

<?php
//####################################
//#Autor: Renasco					 #
//#Datum: 13.02						 #
//####################################

echo'<p><font class="uberschrift1">CMS_HTMLHEAD[1]</font></p>'; 
echo'<p><font class="uberschrift2">CMS_HTMLHEAD[2]</font></p>';
echo"<br>";
echo'<p><font class="vorspann">CMS_HTML[2]</font></p>'; 
echo'<p><font class="autor">CMS_HTML[3]</font></p>';
echo"<br>";

$article_id = $_GET["idart"];

$sql = "SELECT DATE_FORMAT(created, '%d.%m.%Y') AS Changedatum FROM con__art_lang WHERE idart = " .$article_id; 
$db->query($sql); 
if ($db->next_record()) 
{ 
   $time = $db->f('Changedatum'); 
} 
echo'<p><font class="datum">CMS_HTML[4]&nbsp;&nbsp;'.$time;
echo'</font></p>';
echo"<br>";

/*if ("CMS_IMG[1]" != "") { 

    $img = '<img src="CMS_IMG[1]" border="0">'; 

    $imagelink = "CMS_LINK[1]"; 

    if ($imagelink != "http://" && !empty($imagelink) && $imagelink != $cfgClient[$client]["path"]["htmlpath"]) 
      { 
        $img = sprintf('<a href="%s" target="%s">%s</a>',"$imagelink", "CMS_LINKTARGET[1]", $img); 
      } 
    else {$img = '<img src="CMS_IMG[1]" border="0">';} 

    echo $img; 
}  */
echo "CMS_IMGDESCR[1]"; 
echo "CMS_LINKDESCR[1]"; 

echo'<p><font class="inhalt"><div align="justify">CMS_HTML[1]</div></font></p>';
echo"<br>";
echo'<p><font class="fussnote">CMS_HTML[5]</font></p>';

?>
ist noch in bearbeitung....

Verfasst: Mo 13. Feb 2006, 18:39
von mvf
die suche die suche renasco, jetzt setzts gleich was ;)

http://contenido.org/forum/viewtopic.php?t=6461&start=7

Verfasst: Mo 13. Feb 2006, 18:43
von renasco
ihmm ich weiss nicht wie ihr das macht, zauberei??
ich hab gesucht ich hab auch paar sachen gefunden, aber die haben mir nicht weitergeholfen...
jetzt weiss ich bescheid danke :)

Verfasst: Mo 13. Feb 2006, 18:54
von mvf
nix zauberei
aber gerne nochmal erklärt:

deinen fehler angeschaut
unexpected T_LNUMBER in der suche eingegeben
nach allen wörtern suchen
4 ergebnisse
erstes dein thread fällt weg
zweites post überflogen voila

und nahja, wenn da irgendwo ein , oder ; fehlt ist des halt meist modul, wie du schon sagtest hast du ja im core nix geändert

ansonsten nochmals zu empfehlen:
http://contenido.org/forum/viewtopic.ph ... el&start=6

happy contenidoing und... dranbleiben :D

btw. probelm gelöst?