Pokaż wyniki od 1 do 9 z 9

Wątek: Błąd gry

  1. #1
    Zarejestrowany
    Dołączył
    Jan 2008
    Posty
    139

    Domyślnie Błąd gry

    Syntax error in file: /var/www/virtual/ugamer.cba.pl/program_files/adodb/drivers/adodb-mysql.cba.pl.inc.php

    ADONewConnection: Unable to load database driver ''

    oto taki błąd mi sie wyswetla i nie wiem czemu

    mogł by mi ktos doradzic jak to naprawic
    bo ja juz pomysłów nie mam

  2. #2
    Zarejestrowany
    Dołączył
    Oct 2007
    Posty
    1,255

    Domyślnie Błąd gry

    "program_files" keplar self pwn!

  3. #3
    Zarejestrowany
    Dołączył
    Jan 2008
    Posty
    139

    Domyślnie Błąd gry

    Duzo mi to powiedzialo

  4. #4
    Zarejestrowany
    Dołączył
    Sep 2007
    Posty
    317

    Domyślnie Błąd gry

    Nie umie pobrać sterownika bazy danych...

  5. #5
    Zarejestrowany
    Dołączył
    Jan 2008
    Posty
    139

    Domyślnie Błąd gry

    no to jak mam sobie go pobrac bo ja tam takiej opcji nie widzeGeralt,

  6. #6
    Zarejestrowany
    Dołączył
    Sep 2007
    Posty
    317

    Domyślnie Błąd gry

    Pokaż plik w którym są dane do bazy danych

  7. #7
    Zarejestrowany
    Dołączył
    Jan 2008
    Posty
    139

    Domyślnie Błąd gry

    Kod:
    <?php
    
    //phpffl uses adodb database abstraction library. For reference, http&#58;//adodb.sourceforge.net/
    //DATABASE_SERVER_PATH - The location of your database server. For example my database server is located at www.phpffl.com so I would set this to www.phpffl.com. You can also leave this blank for localhost.
    $DATABASE_SERVER_PATH=""; 
    
    $DATABASE_USER="*******"; 
    
    $DATABASE_PASS="*******"; 
    
    $DATABASE_NAME="ugamer_cba_pl"; 
    
    $DATABASE_TYPE="mysql.cba.pl&#58;3306"; 
    
    
    include&#40;"common.php"&#41;;
    to jest plik config.php

    w tym sa ustawinie bazy

    login i haslo zamazalem

  8. #8
    Zarejestrowany
    Dołączył
    Sep 2007
    Posty
    317

    Domyślnie Błąd gry

    a plik common.php

  9. #9
    Zarejestrowany
    Dołączył
    Jan 2008
    Posty
    139

    Domyślnie Błąd gry

    Kod:
    <?php 
    
    
    
    	error_reporting&#40;E_ERROR | E_WARNING | E_PARSE&#41;; 
    	session_start&#40;&#41;; 
    	
    	//Include ADODB Datbase Abstraction Library - http&#58;//mysql.cba.pl&#58;3306
    	include&#40;'adodb/adodb.inc.php'&#41;; 
    	$PHP_SELF=$_SERVER&#91;'PHP_SELF'&#93;; 
    	
    	//Security Check
    	if&#40;strlen&#40;$_REQUEST&#91;'DATABASE_SERVER_PATH'&#93;&#41;>0 || strlen&#40;$_REQUEST&#91;'DATABASE_USER'&#93;&#41;>0  || strlen&#40;$_REQUEST&#91;'DATABASE_PASS'&#93;&#41;>0  || strlen&#40;$_REQUEST&#91;'DATABASE_NAME'&#93;&#41;>0 &#41; 
    	&#123; 
    		die&#40;"Security Check - common.php"&#41;; 
    	&#125; 
    
    	$DB = NewADOConnection&#40;$DATABASE_TYPE&#41;; 
    	$DATABASE_CONNECTION_STATUS=$DB->Connect&#40;$DATABASE_SERVER_PATH, $DATABASE_USER, $DATABASE_PASS, $DATABASE_NAME&#41;; 
    	if&#40;!&#40;$DATABASE_CONNECTION_STATUS&#41;&#41; 
    	&#123; 
    		die&#40;"<br><br><strong>Failed to connect to database. Please check your database connection settings.</strong>"&#41;; 
    	&#125; 
    	$sql="select ID, value, variable_name from config_global;"; 
    	$rs=$DB->Execute&#40;$sql&#41;; 
    	if&#40;$rs&#41; 
    	&#123; 
    		while&#40;!&#40;$rs->EOF&#41;&#41; 
    		&#123; 
    			$current_variable_name=$rs->fields&#40;"variable_name"&#41;; 
    			$$current_variable_name=$rs->fields&#40;"value"&#41;; 
    			define&#40;$current_variable_name, $rs->fields&#40;"value"&#41;&#41;; 
    			$rs->movenext&#40;&#41;; 
    		&#125; 
    	&#125; 
    	else
    	&#123; 
    		$PHPFFL_DB_NOT_LOADED=1; 
    	&#125; 
    
    if&#40;$PHPFFL_INSTALLED && basename&#40;$PHP_SELF&#41;!="install.php"&#41; 
    &#123; 
    	if&#40;file_exists&#40;$PHPFFL_FILE_ROOT."install.php"&#41; && $PHPFFL_DEVELOPMENT_INSTALL!=1&#41; 
    	&#123; 
    		die&#40;"NOTICE&#58; You must delete install.php before using phpFFL for security reasons. If you need to you need to update any of the values in install.php you can do so in the Admin area of phpFFL or by uploading install.php again."&#41;; 
    	&#125; 
    	$PHPFFL_IMAGE_PATH=$PHPFFL_WEB_ROOT."images/"; 
    	$USERSID=$_SESSION&#91;'USERSID'&#93;; 
    	$LEAGUEID=$_SESSION&#91;'LEAGUEID'&#93;; 
    	$GO_TO_LOGIN=0; 
    	
    	include&#40;"global/functions/global_functions.php"&#41;; 
    	include&#40;"global/functions/mail_functions.php"&#41;; 
    	
    	//Check if Superuser or Admin
    	if&#40;strlen&#40;$USERSID&#41;>0&#41; 
    	&#123; 
    		$ISADMIN=check_is_admin&#40;$USERSID, $LEAGUEID&#41;; 
    		$ISSUPERUSER=check_is_superuser&#40;$USERSID&#41;; 
    		$current_date=gmdate&#40;"Y-m-d H&#58;i&#58;s"&#41;; 
    		$sql="update users set last_activity='$current_date' where ID=$USERSID;"; 
    		$DB->Execute&#40;$sql&#41;; 
    	&#125; 
    	else
    	&#123; 
    		$ISADMIN=0; 
    		$ISSUPERUSER=0; 
    	&#125; 
    	
    	//Get LEAGUEID to set session to first time when set through Leagues 
    	if&#40;strlen&#40;$_POST&#91;"League_Session_ID"&#93;&#41;>0 && $_POST&#91;"Action"&#93;=="set_leagueid"&#41; 
    	&#123; 
    		
    		$NEW_LEAGUEID=$_POST&#91;"League_Session_ID"&#93;; 
    		$Languages_ID=$_POST&#91;"Languages_ID"&#93;; 
    		if&#40;strlen&#40;$Languages_ID&#41;>0&#41; 
    		&#123; 
    			$_SESSION&#91;'DEFAULT_LANGUAGE'&#93;=$Languages_ID; 
    		&#125; 
    
    	&#125;//set Session on login
    	elseif&#40;strlen&#40;$USERSID&#41;>0 && strlen&#40;$LEAGUEID&#41;<1&#41; 
    	&#123; 
    		$sql="select leagues_ID from teams, users_teams where users_ID=$USERSID and teams.ID=teams_ID;"; 
    		$rs=$DB->Execute&#40;$sql&#41;; 
    		$NEW_LEAGUEID=$rs->fields&#40;"leagues_ID"&#41;; 
    	&#125; 
    	elseif&#40;strlen&#40;$LEAGUEID&#41;<1&#41; 
    	&#123; 
    		if&#40;$PHPFFL_UPDATES_SCRIPT!=1&#41; 
    		&#123; 
    			$sql="select ID from leagues where is_default=1;"; 
    			$rs=$DB->Execute&#40;$sql&#41;; 
    			if&#40;!&#40;$rs->EOF&#41;&#41; 
    			&#123; 
    				$NEW_LEAGUEID=$rs->fields&#40;"ID"&#41;; 
    				$GO_TO_LOGIN=1; 
    			&#125; 
    		&#125; 
    	&#125; 
    	//Set LEAGUEID session variable
    	if&#40;strlen&#40;$NEW_LEAGUEID&#41;>0&#41; 
    	&#123; 
    		session_start&#40;&#41;; 
    		session_register&#40;'LEAGUEID'&#41;; 
    		$_SESSION&#91;'LEAGUEID'&#93;=$NEW_LEAGUEID; 
    		$LEAGUEID=$NEW_LEAGUEID; 
    	&#125; 
    	
    	/*
    	Set Language - overwrite config global variable PHPFFL_DEFAULT_LANGUAGE if user or league language is available.
    	*/
    	if&#40;strlen&#40;$USERSID&#41;>0&#41; 
    	&#123; 
    		//Set language for user
    		$sql="select languages_ID from users where ID=$USERSID;"; 
    		$rs=$DB->Execute&#40;$sql&#41;; 
    		if&#40;!&#40;$rs->EOF&#41;&#41; 
    		&#123; 
    			$PHPFFL_DEFAULT_LANGUAGE=$rs->fields&#40;"languages_ID"&#41;; 
    		&#125; 
    	&#125; 
    	elseif&#40;strlen&#40;$_SESSION&#91;'DEFAULT_LANGUAGE'&#93;&#41;>0&#41; 
    	&#123; 
    		$PHPFFL_DEFAULT_LANGUAGE=$_SESSION&#91;'DEFAULT_LANGUAGE'&#93;; 
    	&#125; 
    	elseif&#40;strlen&#40;$LEAGUEID&#41;>0&#41; 
    	&#123; 
    		//Set language for league
    		$sql="select default_languages_ID from leagues where ID=$LEAGUEID;"; 
    		$rs=$DB->Execute&#40;$sql&#41;; 
    		if&#40;!&#40;$rs->EOF&#41;&#41; 
    		&#123; 
    			$PHPFFL_DEFAULT_LANGUAGE=$rs->fields&#40;"default_languages_ID"&#41;; 
    		&#125; 
    	&#125; 
    	
    
    	$sql="select language_directory from languages where ID='$PHPFFL_DEFAULT_LANGUAGE';"; 
    	$rs=$DB->Execute&#40;$sql&#41;; 
    	if&#40;!&#40;$rs->EOF&#41;&#41; 
    	&#123; 
    		$PHPFFL_DEFAULT_LANGUAGE_DIR=$rs->fields&#40;"language_directory"&#41;; 
    	&#125; 
    	else
    	&#123; 
    		echo "Error loading language file. There is not a record for this language in the languages table. Please add this language to the languages table along with the directory name.<br>"; 
    		echo "Languages ID&#58; $PHPFFL_DEFAULT_LANGUAGE"; 
    		die&#40;&#41;; 
    	&#125; 
    	include&#40;PHPFFL_FILE_ROOT."language/&#123;$PHPFFL_DEFAULT_LANGUAGE_DIR&#125;/general.php"&#41;; 
    	
    &#125; 
    else
    &#123; 
    	if&#40;basename&#40;$PHP_SELF&#41;!="install.php"&#41; 
    	&#123; 
    		die&#40;"Before you use phpFFL please go to install.php and update your installation settings. <br>install.php is located in the root directory of your phpFFL installation."&#41;; 
    	&#125; 
    &#125; 
    
    
    
    
    
    
    
    
    
    
    ?>
    proszę

    [size=9px][ Dodano: Nie 10 Lut, 2008 ][/size]
    Niema chętnego do pomocy dla mnie, ja juz przetlumaczylem gre dragon king i wrzuciolem i chcialem dokonczyc fantasy fotball manager ale nie moge sprawdzic dotychczasowego tlumaczenia

Informacje o wątku

Użytkownicy przeglądający ten wątek

Aktualnie 1 użytkownik(ów) przegląda ten wątek. (0 zarejestrowany(ch) oraz 1 gości)

Zakładki

Uprawnienia umieszczania postów

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •