Hilfe

Begonnen von BDM, 01 Juni 2002, 16:15:01

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 2 Gäste betrachten dieses Thema.

BDM

Fatal error: input in flex scanner failed in /usr/local/httpd/htdocs/modules/phpnews/admin on line 1 <----bekomme diesen Fehler was sagt der und wie kann mans beheben?

jogi24

hi
du hast ein neues modul aufgespielt?

gehe bitte alle php dateien durch, und setze ganz oben hinter <? einfach ein enter (enter taste betätigen).

das müste es gewesen sein.

die daten in den php stehen warscheinlich nicht untereinander, sondern sind nur fortlaufend zu lesen.

stimmts??

 ;) ;) ;)

BDM

Ja Jogi so in der art:

<HTML>
<?

/*
 PHPNews Version Beta 0.9 - index.php
 Copyright (C) 2002 Andreas Robertz <php@crear.de / www.php-world.crear.de>
 
 Andreas Robertz
 In den Galleien 13
 D-47533 Kleve
 Germany

 This Software is not totaly free, it is Postcard-Ware for non-commercial use.
 This means, if you want to use this Software for more than 14 days, you have to send
 an postcard or at least e-mail to the author, he collects them! THX ;-)

 This is mostly free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2, or (at your option)
 any later version.
 
 This software is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this package; see the file COPYING.  If not, write to
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  
*/

require("../connect.php");

//Including the language.inc

$language = "../";
$language .= $lang;

require($language);

//Including the config_style.inc which gives extra config oportunity

$adminstyle = "../";
$adminstyle .= $style;

require($adminstyle);

?>

<HEAD>
<title><? echo $headtitle; ?> - <? echo $admin_men_admin; ?></title>
<?

// Here the Head-Information and MetaTags are included in this script

$adminheader = "../";
$adminheader .= $header;
include ($adminheader);

// Using CSS

echo'<LINK rel="stylesheet" href="../'.$css.'">';


include($format_menue_java);

?>
<meta name="generator" content="Namo WebEditor v5.0(Trial)">
</HEAD>

<body bgcolor=<? echo($bodycolor); ?> onload="CSScriptInit();">

   


   <FONT SIZE=<? echo $admin_fontsize; ?> face="arial,helvetica"><!--Hier beginnt der Includebereich mit den Inhalten-->

<?PHP

if ($menue_do <> "") {

   $do  = "inc/";
   $do .= $menue_do;
   $do .= ".php";

}else{                  
   $do  = "inc/";
   $do .= $standard_do;
   $do .= ".php";

}
   include ("inc/menue.inc.php");
   include ($do);


// Deleting this Part is against the GNU!
// You may Modify this Part, but it must be readable!
?>
<!-- DON'T REMOVE THE COPYRIGHT OR YOU OFFEND AGAINST THE LICENSE AGREEMENT!! //-->
</font><DIV ALIGN="center">
<FONT SIZE=<? echo $admin_fontsize; ?> face="arial,helvetica"><FONT SIZE="1"><BR><?PHP echo($program_version); ?><BR>Copyright (C) 2002 Andreas Robertz</FONT>
<FONT SIZE="1"><B><A HREF="http://www.crear.de" TARGET=_blank ONFOCUS="filter:blur()">http://www.crear.de</A></B></FONT></font></DIV>


</body>
</HTML>

Das ist der Code.
Das passiert nur bei der AdminIndex seite[Bearbeitet am: 1/6/2002 von BDM]

jogi24

ZitatJa Jogi so in der art:

<?

/*
 PHPNews Version Beta 0.9 - index.php
 Copyright (C) 2002 Andreas Robertz <php@crear.de / www.php-world.crear.de>
 
 Andreas Robertz
 In den Galleien 13
 D-47533 Kleve
 Germany

 This Software is not totaly free, it is Postcard-Ware for non-commercial use.
 This means, if you want to use this Software for more than 14 days, you have to send
 an postcard or at least e-mail to the author, he collects them! THX ;-)

 This is mostly free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2, or (at your option)
 any later version.
 
 This software is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this package; see the file COPYING.  If not, write to
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  
*/

require("../connect.php");

//Including the language.inc

$language = "../";
$language .= $lang;

require($language);

//Including the config_style.inc which gives extra config oportunity

$adminstyle = "../";
$adminstyle .= $style;

require($adminstyle);

?>


<title><? echo $headtitle; ?> - <? echo $admin_men_admin; ?></title>
<?

// Here the Head-Information and MetaTags are included in this script

$adminheader = "../";
$adminheader .= $header;
include ($adminheader);

// Using CSS

echo'<LINK rel="stylesheet" href="../'.$css.'">';


include($format_menue_java);

?>

<body bgcolor=<? echo($bodycolor); ?> onload="CSScriptInit();">

   


   <FONT SIZE=<? echo $admin_fontsize; ?> face="arial,helvetica"><!--Hier beginnt der Includebereich mit den Inhalten-->

<?PHP

if ($menue_do <> "") {

   $do  = "inc/";
   $do .= $menue_do;
   $do .= ".php";

}else{                  
   $do  = "inc/";
   $do .= $standard_do;
   $do .= ".php";

}
   include ("inc/menue.inc.php");
   include ($do);


// Deleting this Part is against the GNU!
// You may Modify this Part, but it must be readable!
?>
<!-- DON'T REMOVE THE COPYRIGHT OR YOU OFFEND AGAINST THE LICENSE AGREEMENT!! //-->
</font><DIV ALIGN="center">
<FONT SIZE=<? echo $admin_fontsize; ?> face="arial,helvetica"><FONT SIZE="1"><BR><?PHP echo($program_version); ?><BR>Copyright (C) 2002 Andreas Robertz</FONT>
<FONT SIZE="1"><B><A HREF="http://www.crear.de" TARGET=_blank ONFOCUS="filter:blur()">http://www.crear.de</A></B></FONT></font></DIV>




Das ist der Code.
Das passiert nur bei der AdminIndex seite[Bearbeitet am: 1/6/2002 von BDM]

versuchs mal mit diesem, habe mal ganz schnell geschaut.

 ;) ;) ;)

BDM

das problem ist das er diese syntax nicht nimmt : "../" da mekert mein PHP
Das muss woll am Zend optimizer liegen[Bearbeitet am: 1/6/2002 von BDM]