kostenloser Webspace werbefrei: lima-city


Ausgerechnet ich mit meinen Problemen...!

lima-cityForumProgrammiersprachenPHP, MySQL & .htaccess

  1. Autor dieses Themas

    s********n

    Hi,
    ich hab wiedermal ein deftiges Problem!
    Ich hab n Loginskript heruntergeladen, in welche steht:

    Um die unten stehenden Funktionen aufrufen zu k?nnen, m?ssen Sie am Anfang von jeder .php Datei folgendes schreiben:
    <?php include("login/include.php"); ?>
    Wenn sich die Datei, auf der Sie die Funktion anwenden wollen im Hauptverzeichnis befindet
    <?php include("../login/include.php"); ?>
    Wenn sich die Datei, auf der Sie die Funktion anwenden wollen in einem Ordner im Hauptverzeichnis befindet


    Nun ja, ich hab das ja gemacht...!
    Jetzt kommt aber die index.php:

    <?php include("login/include.php"); ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Skate 4-Fun :: Home</title>
    <meta name="description" content="Skate, skate, skate, ...!">
    <meta name="keywords" content="Skaten, Skater, Skate, Fun, Filme, Downloads">
    <meta name="author" content="sebi, ...@....de">
    <meta name="DC.Language" content="de">
    <!-- de = deutschsprachig -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" type="text/css" href="styles.css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    </head>

    <body text="#000000" link="#ad351a" vlink="#78534a" alink="#e00000">
    <a name="top"></a>
    <!-- Sprungmarke nach oben-->
    <!-- Tabelle Kopf-->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr bgcolor="#E0E2D4">
    <td bgcolor="#E0E2D4" width="50%"><a href="index.php" onFocus="this.blur()"><img src="images/logo.gif" width="170" height="61" align="middle" border="0" alt=""></a>
    <b>Skate 4 - Fun</b> :: v.1.1 :: 02.07.05</td>
    <td height="62" width="42%"><img src="images/anzeige2.gif" width="10" height="60"></td>
    <td width="8%">&nbsp;</td>
    </tr>
    <tr>
    <td style="background-image: url(images/bg_gelb.gif)" width="50%">&nbsp;</td>
    <td style="background-image: url(images/bg_gelb.gif)" width="42%" height="25">
    <div align="right"><a href="imp.htm">impressum</a> :: <a href="fb.htm">feedback</a> :: <a href="nwl.htm">newsletter</a>&nbsp;::&nbsp;&nbsp;</div>
    </td>
    <td style="background-image: url(images/bg_gelb.gif)" width="8%">
    <!-- Buttons rechts/links - home -->
    <div align="right"> <a href="index.php" onFocus="this.blur()"><img src="images/bu_home.gif" width="42" height="15" border="0" alt=""></a></div>
    </td>
    </tr>

    <!--Pfadangaben mit Links-->
    <tr bgcolor="#E0E2D4">
    <td colspan="3" height="25"><b>&nbsp;LINKWEG&nbsp;::: <a href="index.php" onFocus="this.blur()">Home</a></b></td>
    </tr>
    </table>
    <!-- Tabelle Kopf Ende-->
    <p></p>
    <table width="100%" border="0" cellspacing="10" cellpadding="20">
    <tr>
    <td width="83" bgcolor="#E5E2C5" valign="top"><p><a href="news.htm">News</a><br>
    <a href="pics.htm">Bilder</a><br>
    <a href="films.htm">Filme</a><br>
    <a href="games.htm">Games</a><br>
    <a href="skp.htm">Skaterparks</a><br>
    <a href="events.htm">Events</a><br>
    <a href="titr.htm">Tipps/Tricks</a><br>
    <a href="downl.htm">Downloads</a><br>
    <a href="gb.htm">G&auml;stebuch</a><br>
    <a href="left.htm">Links</a><br>
    <a href="sons.htm">Sonstiges</a><br>
    </p></td>
    <td width="399" valign="top" bgcolor="#E0E2D4"><div align="center">
    <p> Willkommen auf Skate 4-Fun!</p>
    <table width="100%" border="0">
    <tr>
    <td><p>Hier findest du ziehmlich viel &uuml;ber Skaten u.s.w! Falls
    du Material f&uuml;r mich hast, schick mir das ganze per Mail!
    Wir k&ouml;nnen es sicher gut gebrauchen! </p></td>
    <td><img src="images/skate/Boardslide.gif" width="100" height="74" align="middle"></td>
    </tr>
    </table>
    <p>&nbsp;</p>
    <p>Wenn ihr zum ersten mal da Seit schaut euch mal ein bisschen um! Es
    kann nicht schaden!</p>
    <p>Da ich in der Schweiz lebe weiss ich leider nicht so genau was im Ausland
    f&uuml;r Events stattfinden, also k&ouml;nnt ihr mir auch Mails schicken,
    wenn ihr ein Eventvorschlag habt!</p>
    <p>Ich schreibe, schreibe und schreibe, aber ihr kommt gar nicht weiter!
    ;)</p>
    <p>Also, dann w&uuml;nsch ich euch mal viel Spass!</p>
    <p>Greets sebi</p>
    <hr>
    <p>Diese Page ist noch im Bau! </p>
    <p>Also sind jederzeit Verbesserungsvorschl&auml;ge willkommen: <a href="mailto:skate-4fun@hotmail.com">skate-4fun@hotmail.com</a></p>
    </div></td>
    <td width="125" valign="top" bgcolor="#E5E2C5" align="center"><p><strong>Zufallsfoto:</strong></p>
    <p>&nbsp;</p>
    <hr>
    <p><strong>Memberbereich:</strong></p>
    <p>{unrestricted}{loginbox}{/unrestricted}</p>
    <p><font size="1">Noch nicht registriert?<br>
    <a href="login/templates/register.html">Dann klick mich an!</a></font></p> </td>
    </tr>
    </table>
    <p>&nbsp;</p>

    <!--Tabelle Fu? -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">

    <!-- Copyright + Mail -->
    <tr>
    <td style="background-image: url(images/bg_gelb.gif)" height="25">&nbsp; </td>

    <!-- TopButton -->
    <td style="background-image: url(images/bg_gelb.gif)" width="8%">
    <div align="right"><a href="#top" ONFOCUS="this.blur()"><img src="images/bu_top.gif" width="32" height="15" border="0" align="middle" alt=""></a></div>
    </td>
    </tr>
    <tr bgcolor="#E0E2D4">
    <td colspan="2" height="65">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&copy;
    2001 by Sebastian Wehrli &#149; mail: &nbsp;<a href="mailto:skate-4fun@hotmail.com" onFocus="this.blur()">skate-4fun@hotmail.com</a>
    </td>
    </tr>
    </table>
    <!-- Tabelle Fu? Ende -->

    </body>
    </html>

    Jetzt noch die Fehlermeldung:


    Warning: main(): Unable to access ../login/includes/install_config.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 11

    Warning: main(../login/includes/install_config.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 11

    Warning: main(): Unable to access ../login/includes/install_config.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 11

    Warning: main(../login/includes/install_config.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 11

    Warning: main(): Failed opening '../login/includes/install_config.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 11

    Warning: main(): Unable to access ../login/includes/mysql_connect2.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 12

    Warning: main(../login/includes/mysql_connect2.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 12

    Warning: main(): Unable to access ../login/includes/mysql_connect2.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 12

    Warning: main(../login/includes/mysql_connect2.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 12

    Warning: main(): Failed opening '../login/includes/mysql_connect2.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 12

    Warning: main(): Unable to access ../login/engine/function_parser.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 13

    Warning: main(../login/engine/function_parser.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 13

    Warning: main(): Unable to access ../login/engine/function_parser.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 13

    Warning: main(../login/engine/function_parser.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 13

    Warning: main(): Failed opening '../login/engine/function_parser.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 13

    Warning: main(): Unable to access ../login/languages/.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 14

    Warning: main(../login/languages/.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 14

    Warning: main(): Unable to access ../login/languages/.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 14

    Warning: main(../login/languages/.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 14

    Warning: main(): Failed opening '../login/languages/.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 14

    Warning: main(): Unable to access ../login/engine/settemplates.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 29

    Warning: main(../login/engine/settemplates.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 29

    Warning: main(): Unable to access ../login/engine/settemplates.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 29

    Warning: main(../login/engine/settemplates.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 29

    Warning: main(): Failed opening '../login/engine/settemplates.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 29

    Warning: main(): Unable to access ../login/engine/germandate.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 32

    Warning: main(../login/engine/germandate.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 32

    Warning: main(): Unable to access ../login/engine/germandate.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 32

    Warning: main(../login/engine/germandate.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 32

    Warning: main(): Failed opening '../login/engine/germandate.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 32
    Warning: main(): Unable to access ../login/engine/couple.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 38

    Warning: main(../login/engine/couple.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 38

    Warning: main(): Failed opening '../login/engine/couple.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 38

    Warning: main(): Unable to access ../login/includes/rights.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 42

    Warning: main(../login/includes/rights.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 42

    Warning: main(): Unable to access ../login/includes/rights.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 42

    Warning: main(../login/includes/rights.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 42

    Warning: main(): Failed opening '../login/includes/rights.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 42

    Fatal error: Call to undefined function: parse() in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 46

    So und ich komm jezt nicht ganz nach und dies ist nur ein Teil der Fehlermeldung! :mad::mad:
    Ich weiss nicht mehr was ich machen soll!?
    Jajaja ich habe vielleicht hier jetzt SEHR VIEL Codes geschickt!
    Zudem geht bei mir das mit dem PHP-Code einbinden nicht!

    Greets

    Beitrag ge?ndert am 15.10.2005 08:41 von skate-4fun

    Beitrag ge?ndert am 15.10.2005 08:43 von skate-4fun
  2. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

  3. c*********c

    Um PHP-Code in einer Datei auszuf?hren, muss die Dateimit ".php" enden.

    Des Weiteren wird der Ordner /login/ nicht gefunden. ?berpr?fe, wo er sich befindet!

    Falls er sich im HTML-Ordner befindet, wovon ich ausgehe, m?sste der Include-PFad so lauten:

    <? include("../login/include.php"); ?>
  4. Autor dieses Themas

    s********n

    Jetzt habe ich den direkten link auf lima genommen:

    <? include("http://skate-4fun.xardas.lima-city.de/v1.1/login/include.php"); ?>

    Jetzt kommt aber:


    Warning: main(): URL file-access is disabled in the server configuration in /home/webpages/lima-city/skate-4fun/html/v1.1/index.php on line 1

    Warning: main(http://skate-4fun.xardas.lima-city.de/v1.1/login/include.php): failed to open stream: no suitable wrapper could be found in /home/webpages/lima-city/skate-4fun/html/v1.1/index.php on line 1

    Warning: main(): URL file-access is disabled in the server configuration in /home/webpages/lima-city/skate-4fun/html/v1.1/index.php on line 1

    Warning: main(http://skate-4fun.xardas.lima-city.de/v1.1/login/include.php): failed to open stream: no suitable wrapper could be found in /home/webpages/lima-city/skate-4fun/html/v1.1/index.php on line 1

    Warning: main(): Failed opening 'http://skate-4fun.xardas.lima-city.de/v1.1/login/include.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun/html/v1.1/index.php on line 1

    Greets :mad:
  5. H?rt sich so an, als sei externes Includen nicht erlaubt.
    Folglich: Bau einen korrekten relativen Pfad wieder ein.

    MfG lagerhaus
  6. Autor dieses Themas

    s********n

    Sry wollte ich nicht melden!
    Hab mich verklickt!!!

    Was meinst du mit relativem Pfad???

    Greets
  7. Ein Pfads ohne http:// Also etwas wie:

    ../login/datei.php
  8. Autor dieses Themas

    s********n

    Hab ich ja, aber es kommt doch:


    Warning: main(): Unable to access ../login/include.php in /home/webpages/lima-city/skate-4fun2/html/index.php on line 2

    Warning: main(../login/include.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun2/html/index.php on line 2

    Warning: main(): Unable to access ../login/include.php in /home/webpages/lima-city/skate-4fun2/html/index.php on line 2

    Warning: main(../login/include.php): failed to open stream: No such file or directory in /home/webpages/lima-city/skate-4fun2/html/index.php on line 2

    Warning: main(): Failed opening '../login/include.php' for inclusion (include_path='.:/home/webpages/include') in /home/webpages/lima-city/skate-4fun2/html/index.php on line 2

    Dies sind die ersten 3 Zeilen:

    <?php
    include("../login/include.php");
    ?>

    Greets

    Beitrag ge?ndert am 15.10.2005 12:12 von skate-4fun
  9. c*********c

    Nach Deinem Code, m?sste sich die gesuchte Datei hier befinden: /home/webpages/lima-city/skate-4fun2/login/include.php

    Ist dem so, oder befindet sich der Ordner "login" im html-Verzeichnis?
  10. Autor dieses Themas

    s********n

    Jep genau!
    Ich hoffe du meinst damit das Verzeichniss, dass als aller erstes angezeigt wird...!

    Greets

    Beitrag ge?ndert am 15.10.2005 12:54 von skate-4fun
  11. Wenn ich das richtig verstanden hab, hat er einfach vergessen, die Dateien zu uppen, die durch die login/include.php includet werden^^

    Weiss nicht ob ich richtig liege, aber f?r mich schauts so aus
    Warning: main(): Unable to access ../login/includes/install_config.php in /home/webpages/lima-city/skate-4fun/html/v1.1/login/include.php on line 11


    Demnach war "login/include.php" richtig (also das was er als erstes hatte), denn es wird schon eine weitere datei versucht zu includen, n?mlich "install_config.php", ausserdem steht da auch Fehler in der include.php.
    Demnach hat er richtig verlinkt, nur die anderen Dateien fehlen.
  12. Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!

    lima-city: Gratis werbefreier Webspace für deine eigene Homepage

Dir gefällt dieses Thema?

Über lima-city

Login zum Webhosting ohne Werbung!