[Hilfe] bei BXCP Clanportal

Dieses Thema im Forum "Webentwicklung" wurde erstellt von Darkless, 8. Mai 2005 .

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 8. Mai 2005
    Hallo, ich habe mir das BXCP Clanportal mal installiert und alles so gemacht, wie es in der Anleitung drinsteht, aber ich bekomme diesen fehler!


    Also in Zeile 14 im index.php ist nicht richtig, aber es hießt in der Anleitung, nix von "ändere da noch was" was muss ich da nun ändern?

    Die index.php sieht so aus:

    PHP:
    <? php
    error_reporting
    ( E_ERROR  E_WARNING  E_PARSE );
    $mtime  explode ( " " microtime ());
    $time  time ();
    $date  date ( 'd.m.Y' );
    $today  date ( 'H:i' );
    $zone  date ( 'T' );
    function 
    parsetime  ( $mtime ) {
    $m2time  explode ( " " microtime ());
    $prtime  $m2time [ 1 ] -  $mtime [ 1 ] +  $m2time [ 0 ] -  $mtime [ 0 ];
    return 
    $prtime ; }
    $uploaddir = getcwd ();
    $show  $_REQUEST [ 'show' ];
    require (
    "config.php" );
    if (empty(
    $show )) {  $show = 'news' ; }
    else { 
    $title  $title2 ; }
    $show_error = 0 ;
    if (!
    file_exists ( "show/ $show .php" ) ) {  $show_error ++; }
    if (
    preg_match ( "=\.{2}=i" , $show )) {  $show_error ++; }
    if (
    preg_match ( "=[;'%]=i" , $_SERVER [ 'REQUEST_URI' ])) {  $show_error ++; }
    if (!empty(
    $show_error )) {
    $notfound  $show $show  'error' ; }
    $page  "show/ $show .php" ;
    require (
    "system/head.php" );
    require (
    "system/secure.php" );
    include (
    "system/visits.php" );
    $tmp_get  implode  ( "" , file ( "gfx/index.htm" ));
    $clipot  "<script language=\"Javascript\" type=\"text/javascript\">" ;
    $clipjs  implode ( "" file ( "system/clip.php" ));
    $tmp_get  preg_replace  ( "=</head>=si" , " $clipot  \n  $clipjs  \n </script> \n </head>" $tmp_get , 1 );
    $tmp_get  preg_replace  ( "=link href\=\"(?!http)(.*?)\"=si" , "link href=\"gfx/\\1\"" $tmp_get );
    $tmp_get  preg_replace  ( "=background\=\"(?!http)(.*?)\"=si" , "background=\"gfx/\\1\"" $tmp_get );
    $tmp_get  preg_replace  ( "=src\=\"(?!http)(.*?)\"=si" , "src=\"gfx/\\1\"" $tmp_get );
    require (
    "system/template.php" );
    foreach (
    $temp_array  as  $tmp_row  =>  $tmp_new ) {
    if (
    file_exists ( $tmp_new )) {
    ob_start ();
    include (
    $tmp_new );
    $tmp_new  ob_get_contents ();
    ob_end_clean (); }
    $tmp_new  str_replace  ( '{' "{" $tmp_new );
    $tmp_new  str_replace  ( '}' "}" $tmp_new );
    $tmp_get  str_replace  ( '{'  $tmp_row  '}' $tmp_new $tmp_get ); }
    $getparse  parsetime  ( $mtime );
    $tmp_get  str_replace  ( '{func:parse}' $getparse $tmp_get );
    echo 
    $tmp_get ?>
    könnt ihr mir helfen?

    msfg
    Darkless
     
  2. 8. Mai 2005
    Du hast es nicht wie in der Anleitung gemacht, sonst hättest du den Fehler ned.
    Code:
    <?php
    
     $db_host ="localhost";
     $db_user ="xx";
     $db_pass ="xx";
     $db_dbase = "xx";
    
     $db = mysql_connect("$db_host","$db_user","$db_pass"); mysql_select_db("$db_dbase"); 
    
     $noacc = "Was soll kommen wenn man zu wenig rechte hat"; 
     $title = titel der homepage"; 
     $title2 = "titel eigener seiten- $show"; 
     $joinage = "alter um zu joinen nur zahl"; 
     $org = "clan"; 
     $width = "100%";
     $regmail = "absender reg mail"; 
     $pwdmail = "absender passwort mail"; 
     $musmail = "wohin sollen mails gehen"; 
     $about = "Webmaster"; 
    
    ?>
     
  3. 8. Mai 2005
    wo muss das noch rein? in die index.php?
     
  4. 8. Mai 2005
    nein du musst die config.php mit deinen Daten für die mysql Datenbank füllen und sie uppen ...
     
  5. 9. Mai 2005
    ist schon erledigt! geht einwandfrei
     
  6. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.