Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: blad z instalacja :(
Forum PHP.pl > Forum > PHP
mRx^
sad.gif Witam. Pobrałem skrypt i uploadalem pliki na serwer ,wypelnilem wszystko w plika ktore sa odpowiedzialne za polaczenie z baza mysql wchodze w link i jak zawsze zreszta blad wyskakuje:

http://emeriks.ovh.org/liga/
http://emeriks.ovh.org/liga/install.php

  1. <?php
  2.  
  3. //start
  4.  
  5. //configure database info
  6.  $databaseserver = "localhost"; //usually localhost
  7.  $databasename = "---"; //the name of your database
  8.  $databaseuser = "---"; //the name of the database-user
  9.  $databasepass = "---"; // the password to your database
  10.  $directory ="http://---.com/liga" ; //the location of your WebLeague directory (no trailing slash)
  11.  
  12. //configure the tables in the database
  13.  $playerstable = "webl_players"; //the name of the table that contains information about the players
  14.  $gamestable = "webl_games"; //the name of the table that stores the played games
  15.  $newstable = "webl_news"; // the name of the table that stores the news
  16.  $varstable = "webl_vars"; //the name of the table that stores various information
  17.  $admintable = "webl_admin"; //name of the table that stores the admin login information
  18.  $pagestable = "webl_pages"; //name of the table that stores additional pages
  19.  
  20. //finish
  21.  
  22. ?>


ale jest problem bo w żadnym pliku nie zauważyłem aby tworzył tabele ;/ wiec nie wiem moze ktos pomoze ? sad.gif sad.gif sad.gif sad.gif
devnul
a jaki to skrypt etc to nie łaska powiedziec? sami się wszyscy domyślą co i czemu jest nie tak
piczu
nie napisales co to za skrypt.

PS.Imho to sie nadaje do dzialu "Gotowe rozwiązania"
mRx^
nazwa: PredictionLeague
link: http://csgamers.info/mrx-script.rar

to naprawde wazne prosze o pomoc sad.gif
ascalcin
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/sites/yoyo.pl/l/i/ligaszkocka/PredictionLeague/dbasefunctions.php5 on line 22
Could not connect Lost connection to MySQL server at 'reading initial communication packet', system error: 111


a 22 linijka to wartość :

$link = mysql_connect($dbaseHost, $dbaseUsername, $dbasePassword)


co trzeba zmienić ? blinksmiley.gif
skrypt PredictionLeague
k@mil
  1. <?php
  2. $databasename = "---"; //the name of your database
  3.  $databaseuser = "---"; //the name of the database-user
  4.  $databasepass = "---"; // the password to your database
  5. ?>

tylko nie wiem czmu inne nazwy zmiennych sa
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.