phpmytourney_v2.0

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • phpmytourney_v2.0

    Hi ich habe ein Problem um das oben genannte Script.
    Also ich trage in der config meine Daten ein und soll dann die install.php ausführen lassen, doch diese Fehler erscheinen:

    OffTopic:

    Warning: main(D:\Dev\WWW\phpmytourney_v2.0\sources\lib/myFuncs.php) [function.main]: failed to open stream: No such file or directory in E:\Programme\xampp\htdocs\phpmytourney_v2.0\sources\tourney\config.php on line 65

    Warning: main() [function.include]: Failed opening 'D:\Dev\WWW\phpmytourney_v2.0\sources\lib/myFuncs.php' for inclusion (include_path='.;E:\Programme\xampp\php\pear\') in E:\Programme\xampp\htdocs\phpmytourney_v2.0\sources\tourney\config.php on line 65

    Fatal error: Call to undefined function: myinclude() in E:\Programme\xampp\htdocs\phpmytourney_v2.0\sources\tourney\config.php on line 69



    ich hoffe mir kann einer helfen

    thx schon mal im voraus

    mfg INu

    edit:
    hier ma der Code:

    PHP-Code:
    //***************************************************************************
    // This program is 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 of the License, or
    // (at your option) any later version.
    //
    // See : ./doc/GPL.txt or [url]http://www.gnu.org/licenses/licenses.html[/url]
    //***************************************************************************
    //***************************************************************************
    // This file is part of the phpmytourney project.
    // [url]http://phpmytourney.sourceforge.net[/url]
    //
    // Created by  : Jérôme Poulin (Ganondorf)
    // Date        : 2003-06-07
    //
    // $Id: config.php,v 1.1 2003/06/07 18:03:25 ganondorf Exp $
    //
    //***************************************************************************

    //had to add this ugly shit for phpnuke ...
    //By the way, almost none of those variable actually need to be
    //global, I mean by that they are use only in 1 function but
    //since they are server dependent, I gather them here.
    global   $cfg_include_paths,$cfg_project_http,$cfg_project_path,
             
    $cfg_nuke_it,$cfg_db_host,$cfg_db_user,$cfg_db_pass,$cfg_db_dbnm,
             
    $cfg_db_dbasdfnm,$cfg_sql_layer_class,$cfg_sql_layer_file;


    //**********************************************************
    // Define the include directory
    // to browse for includes
    // Include the myFuncs file.
    // ABSOLUTE PATH ARE STRONGLY PREFERED
    //**********************************************************
    $cfg_project_http    "http://localhost/phpmytourney_v2.0/sources/tourney/";
    $cfg_project_path    'D:\\Dev\\WWW\\phpmytourney_v2.0\\sources\\';

    //SQL stuff
    $cfg_db_host         "localhost";  //mysql db
    $cfg_db_user         "root";       //mysql user
    $cfg_db_pass         "2231";       //mysql password
    $cfg_db_dbnm         "tourney";    //mysal database name

    //Using it in phpnuke ?
    $cfg_nuke_it         false;

    //Windows or unix/linux server (to know which slash to use)
    $cfg_server_windows  false;

    //****************************
    //SHOULD NOT EDIT BELOW THIS.
    //****************************
    if($cfg_server_windows$cfg_slash '\\';
    else                    
    $cfg_slash '/';
    $cfg_include_paths[0]   = $cfg_project_path;
    $cfg_include_paths[1]   = $cfg_project_path 'lib' $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path 'lib' $cfg_slash 'form' $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path 'lib' $cfg_slash 'sql'  $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path 'lib' $cfg_slash 'table'  $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path 'tourney' $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path 'tourney' $cfg_slash 'include'  $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path 'tourney' $cfg_slash 'class'  $cfg_slash;
    $cfg_include_paths[]    = $cfg_project_path  'languages' $cfg_slash;
    include_once(
    $cfg_include_paths[1] . 'myFuncs.php');

    ////////////////////////////////////////////////////////////
    //The Constants
    myInclude('constants.php');

    ////////////////////////////////////////////////////////////
    // Language file
    // For now only english,
    myInclude('lang_english.php');

    ////////////////////////////////////////////////////////////
    // SQL stuff.
    // we just support mysql for now, and maybe for awhile
    // (need another database support, ask us !)
    $cfg_sql_layer_class 'MySql';           //Sql class name used
    $cfg_sql_layer_file  'sql_mysql.php';   //Sql file used.
    ////////////////////////////////////////////////////////////

    //**********************************************************
    // Which trace should the myTrace function print ?
    // This should all be set to false in release version.
    //**********************************************************
    $cfg_release  false;
    if(!
    $cfg_release)
    {
        
    $cfg_use_trace['all']     = true;    //Display all trace ...

       //error_reporting(E_ALL);
    }
    ////////////////////////////////////////////////////////////



    /****************************************************************************
       This part shows the CVS log information (do not edit !)

       $Log: config.php,v $
       Revision 1.1  2003/06/07 18:03:25  ganondorf
       initial commit


    ****************************************************************************/ 
    Zuletzt geändert von inu123; 01.12.2005, 13:13.

  • #2
    Re: phpmytourney_v2.0

    Original geschrieben von inu123
    Warning: main(D:\Dev\WWW\phpmytourney_v2.0\sources\lib/myFuncs.php) [function.main]: failed to open stream: No such file or directory in E:\Programme\xampp\htdocs\phpmytourney_v2.0\sources\tourney\config.php on line 65

    Warning: main() [function.include]: Failed opening 'D:\Dev\WWW\phpmytourney_v2.0\sources\lib/myFuncs.php' for inclusion (include_path='.;E:\Programme\xampp\php\pear\') in E:\Programme\xampp\htdocs\phpmytourney_v2.0\sources\tourney\config.php on line 65

    Fatal error: Call to undefined function: myinclude() in E:\Programme\xampp\htdocs\phpmytourney_v2.0\sources\tourney\config.php on line 69
    Gibt's die Datei D:\Dev\WWW\phpmytourney_v2.0\sources\lib/myFuncs.php denn?
    Ich denke, also bin ich. - Einige sind trotzdem...

    Kommentar


    • #3
      ja aber nicht in diesem Pfad

      Kommentar


      • #4
        Eben das ist der Fehler

        Ändere den Pfad oder schiebe die Datei da hin, wo sie gesucht wird
        Ich denke, also bin ich. - Einige sind trotzdem...

        Kommentar


        • #5
          Danke hat geklappt ma gucken ob ich nun weiter komme danke erstma

          Kommentar

          Lädt...
          X