index.php leere Seite

Dieses Thema im Forum "Webentwicklung" wurde erstellt von warden, 22. Februar 2008 .

Schlagworte:
Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 22. Februar 2008
    moin,
    ich hab meinem design nun das neue webspell angepasst (das tutorial hat mir geholfen, obwohl ich zuerst dachte, dass es zu kompliziert ist (http://cms.webspell.org/index.php?site=tutorials&action=show&tutorialsID=4)), jedoch wird nun bei meiner index.php nur eine weiße seite angezeigt.


    mfg warden
     
  2. 22. Februar 2008
    AW: index.php leere Seite

    Klick mich, ich bin ein Link

    Schau mal ob das hier hilft^^
     
  3. 22. Februar 2008
    AW: index.php leere Seite

    hat leider nicht weitergeholfen...
     
  4. 22. Februar 2008
    AW: index.php leere Seite

    Du könntest versuchen mal error_reporting auf E_ALL zu setzen.

    Dazu fügst du in der index.php einfach "error_reporting(E_ALL);" in die erste Zeile ein.

    Sowas sieht nämlich immer nach nem Fehler aus der nicht ausgegeben wird.

    noch auf der webspell seite gefunden "In webSPELL 4 ist die Fehlerausgabe standardmässig unterdrückt.".
    Also denke ich du hast ne gute chance an deinen Fehler zu kommen wenn du das error_reporting einschaltest.
     
  5. 22. Februar 2008
    AW: index.php leere Seite

    nachdem ich error_reporting(E_ALL); gemacht hab, ist meine seite immernoch weiß. villeilleicht hilft es, wenn ich den quellcode dazuschreibe:


    Spoiler
    error_reporting(E_ALL);
    <?
    include("_mysql.php");
    include("_settings.php");
    include("_functions.php");
    ?>
    <? echo Clan SERS; ?>


    <html>
    <head>
    <title>design1</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    body {
    background-image: url(Bilder/bg.png);
    }
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('Bilder/homerollover.jpg','Bilder/guestbookrollover.jpg','Bilder/forumrollover.jpg','Bilder/clanrollover.jpg','Bilder/contactrollover.jpg')">
    <div style="position:absolute; top:220px; left:308px; width:106px; height: 17px;"></div>
    <div style="position:absolute; top:201px; left:52px; width:505px; height: 13px;"><? include("sc_scrolltext.php"); ?></div>
    <div style="position:absolute; top:219px; left:140px; width:106px; height: 17px;"></div>
    <div style="position:absolute; top:269px; left:45px; width:519px; height: 302px;">
    <?
    if(!isset($site)) $site="news";
    $invalide = array('\\','/','/\/',':','.');
    $site = str_replace($invalide,' ',$site);
    if(!file_exists($site.".php")) $site = "news";
    include($site.".php");
    ?></div>
    <!-- ImageReady Slices (design1.psd) -->
    <table id="Tabelle_01" width="610" height="601" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="18">
    <img src="Bilder/index_01.jpg" width="609" height="28" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="28" alt=""></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="2">
    <img src="Bilder/index_02.jpg" width="47" height="139" alt=""></td>
    <td colspan="13"><img src="Bilder/index_03.jpg" width="508" height="129" alt=""></td>
    <td colspan="3" rowspan="2">
    <img src="Bilder/index_04.jpg" width="54" height="139" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="129" alt=""></td>
    </tr>
    <tr>
    <td colspan="13">
    <img src="Bilder/index_05.jpg" width="508" height="10" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="10" alt=""></td>
    </tr>
    <tr>
    <td rowspan="12">
    <img src="Bilder/index_06.jpg" width="40" height="433" alt=""></td>
    <td colspan="4"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image64','','Bilder/homerollover.jpg',1)"><img src="Bilder/index_07.jpg" name="Image64" width="105" height="30" border="0"></a></td>
    <td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image65','','Bilder/guestbookrollover.jpg',1)"><img src="Bilder/index_08.jpg" name="Image65" width="101" height="30" border="0"></a></td>
    <td colspan="2"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image66','','Bilder/forumrollover.jpg',1)"><img src="Bilder/index_09.jpg" name="Image66" width="109" height="30" border="0"></a></td>
    <td colspan="3"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image67','','Bilder/clanrollover.jpg',1)"><img src="Bilder/index_10.jpg" name="Image67" width="106" height="30" border="0"></a></td>
    <td colspan="6"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image68','','Bilder/contactrollover.jpg',1)"><img src="Bilder/index_11.jpg" name="Image68" width="104" height="30" border="0"></a></td>
    <td rowspan="12">
    <img src="Bilder/index_12.jpg" width="44" height="433" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="30" alt=""></td>
    </tr>
    <tr>
    <td colspan="16">
    <img src="Bilder/index_13.jpg" width="525" height="5" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="5" alt=""></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="8">
    <img src="Bilder/index_14.jpg" width="11" height="65" alt=""></td>
    <td colspan="13">
    <img src="Bilder/index_15.jpg" width="506" height="14" alt=""></td>
    <td rowspan="10">
    <img src="Bilder/index_16.jpg" width="8" height="398" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="14" alt=""></td>
    </tr>
    <tr>
    <td colspan="13">
    <img src="Bilder/index_17.jpg" width="506" height="3" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="3" alt=""></td>
    </tr>
    <tr>
    <td rowspan="6">
    <img src="Bilder/index_18.jpg" width="88" height="48" alt=""></td>
    <td colspan="2" rowspan="5">
    <img src="Bilder/index_19.jpg" width="107" height="18" alt=""></td>
    <td rowspan="6">
    <img src="Bilder/index_20.jpg" width="61" height="48" alt=""></td>
    <td colspan="2" rowspan="5">
    <img src="Bilder/index_21.jpg" width="107" height="18" alt=""></td>
    <td colspan="7">
    <img src="Bilder/index_22.jpg" width="143" height="3" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="3" alt=""></td>
    </tr>
    <tr>
    <td rowspan="5">
    <img src="Bilder/index_23.jpg" width="14" height="45" alt=""></td>
    <td colspan="2" rowspan="3">
    <img src="Bilder/index_24.jpg" width="36" height="12" alt=""></td>
    <td colspan="4">
    <img src="Bilder/index_25.jpg" width="93" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
    </tr>
    <tr>
    <td rowspan="4">
    <img src="Bilder/index_26.jpg" width="20" height="44" alt=""></td>
    <td>
    <img src="Bilder/index_27.jpg" width="49" height="9" alt=""></td>
    <td colspan="2" rowspan="4">
    <img src="Bilder/index_28.jpg" width="24" height="44" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="9" alt=""></td>
    </tr>
    <tr>
    <td rowspan="3">
    <img src="Bilder/index_29.jpg" width="49" height="35" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="2" alt=""></td>
    </tr>
    <tr>
    <td colspan="2" rowspan="2">
    <img src="Bilder/index_30.jpg" width="36" height="33" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="3" alt=""></td>
    </tr>
    <tr>
    <td colspan="2">
    <img src="Bilder/index_31.jpg" width="107" height="30" alt=""></td>
    <td colspan="2">
    <img src="Bilder/index_32.jpg" width="107" height="30" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="30" alt=""></td>
    </tr>
    <tr>
    <td rowspan="2">
    <img src="Bilder/index_33.jpg" width="7" height="333" alt=""></td>
    <td colspan="14">
    <img src="Bilder/index_34.jpg" width="510" height="303" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="303" alt=""></td>
    </tr>
    <tr>
    <td colspan="14">
    <img src="Bilder/index_35.jpg" width="510" height="30" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="1" height="30" alt=""></td>
    </tr>
    <tr>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="40" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="7" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="4" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="88" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="6" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="101" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="61" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="48" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="59" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="14" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="33" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="3" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="20" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="49" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="22" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="2" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="8" height="1" alt=""></td>
    <td>
    <img src="Bilder/Abstandhalter.gif" width="44" height="1" alt=""></td>
    <td></td>
    </tr>
    </table>
    <!-- End ImageReady Slices -->
    </body>
    </html>
     
  6. 22. Februar 2008
    AW: index.php leere Seite

    Okay, ich hab dir mist erzählt, das error reporting ist an der falschen stelle...

    <?
    include("_settings.php");
    error_reporting(E_ALL);
    include("_mysql.php");
    include("_functions.php");
    echo Clan SERS;
    ?>

    versuchs mal so (ersetzen), falls das Problem weiterhin besteht solltest du mal den ganzen Part zwischen <? und ?> rausnehmen.
    Wenn es dann immmernoch nicht geht ist da gewaltig was kaputt
     
  7. 22. Februar 2008
    AW: index.php leere Seite

    <?
    include("_start.php");
    include("_mysql.php");
    include("_settings.php");
    include("_functions.php");
    include("_amqips.php");
    include("_ipban.php");
    ?>

    beim kollegen von mir sieht die seite so aus ... also der anfangs teil
     
  8. 23. Februar 2008
    AW: index.php leere Seite

    so^^ nun wird das problem angezeigt. und zwar will er die zeile <? echo Clan SERS; ?> nicht annehmen, die ja eigentlich im code laut webspell zwischen <title> und </title> ist.
     
  9. 23. Februar 2008
    AW: index.php leere Seite

    das heißt doch:
    Code:
    <? echo "Clan SERS"; ?>
    also vl ist das schon dein Problem??
    ansonsten kommentier die zeile mal aus ("//" ohne die Anführungszeichen vor die zeile schreiben) und guck dann obs geht
     
  10. 23. Februar 2008
    AW: index.php leere Seite

    das wars, danke. jetzt hab ich aber noch ein problem: wie stelle ich es ein, dass ich meine eigenen login buttons hab?
     
  11. 27. Februar 2008
    AW: index.php leere Seite

    html lernen > meta > closed
     
  12. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.