Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [MySQL][PHP]Problem z zainstalowaniem skryptu
jarzyslaw
post 6.12.2009, 16:47:11
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 22.11.2009

Ostrzeżenie: (0%)
-----


Otóż potrzebuje skrytu ligowego i komletnie nie wiem jak się za jego instalacje zabrać. kiedyś juz instalowałem forum phpbb i poszło bez większych problem . Lecz teraz cały czas wyskakują błędy msql i to w rożnych plikach. Mimo przeczytania instrukcji nic nie jestem w stanie zrobić. Byłby wdzięczny gdyby ktoś wrzucił to na jakiś darmowy hosting i zainstalował podał mi dane i w ten sposób poprostu posprawdzałbym gdzie zrobiłem błędy. Chodzi mi os któryś z skryptów WebLeague lub ccleaguepro. Jeśłi tkos juz sie tym zajmował to wdzieczny byłbym za instrukcje. jeżeli potrzebowali byście jakiś informacji
  1. Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/sites/yoyo.pl/p/r/projekt2008/variablesdb.php on line 2
  2.  
  3. Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/sites/yoyo.pl/p/r/projekt2008/variablesdb.php on line 3
  4.  
  5. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/sites/yoyo.pl/p/r/projekt2008/variablesdb.php on line 5
  6.  
  7. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/sites/yoyo.pl/p/r/projekt2008/variablesdb.php on line 6
  8.  
  9. Go to: news | join | edit profile | players | standings | report | played games | statistics |
  10. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/sites/yoyo.pl/p/r/projekt2008/menu.php on line 31
  11.  
  12. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/sites/yoyo.pl/p/r/projekt2008/menu.php on line 32
  13. forum |
  14.  
  15. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/sites/yoyo.pl/p/r/projekt2008/index.php on line 31
  16.  
  17. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/sites/yoyo.pl/p/r/projekt2008/index.php on line 32
  18.  
  19. Other news articles:
  20.  
  21.  
  22. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/sites/yoyo.pl/p/r/projekt2008/index.php on line 57
  23.  
  24. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/sites/yoyo.pl/p/r/projekt2008/index.php on line 58



  1. <?php
  2. $databaseserver = "localhost"; //usually localhost
  3. $databasename = "db502277"; //the name of your database
  4. $databaseuser = "db502277"; //the name of the database-user
  5. $databasepass = "haslozaslonie:)"; // the password to your database
  6. $directory ="http://www.projekt2008.yoyo.pl" ; //the location of your WebLeague directory (no trailing slash)
  7.  
  8. //configure the tables in the database
  9. $playerstable = "webl_players"; //the name of the table that contains information about the players
  10. $gamestable = "webl_games"; //the name of the table that stores the played games
  11. $newstable = "webl_news"; // the name of the table that stores the news
  12. $varstable = "webl_vars"; //the name of the table that stores various information
  13. $admintable = "webl_admin"; //name of the table that stores the admin login information
  14. $pagestable = "webl_pages"; //name of the table that stores additional pages
  15.  
  16. //finish
  17.  
  18. ?>
Go to the top of the page
+Quote Post
gabcio
post 6.12.2009, 16:54:00
Post #2





Grupa: Zarejestrowani
Postów: 109
Pomógł: 1
Dołączył: 31.08.2006

Ostrzeżenie: (10%)
X----


Kiedyś było tak, że w yoyo.pl trzeba było podawać IP do mysqla.
Po localhoscie nie działał mogło być tak, że MySQL był zainstalowany na innej maszynie z innym adresie IP.

Spróbuj.
Go to the top of the page
+Quote Post
jarzyslaw
post 7.12.2009, 18:55:26
Post #3





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 22.11.2009

Ostrzeżenie: (0%)
-----


wstawiłem i zmieniły sie błędy. Jęsi ktoś by mógł to może zrobiłby tak że stworzyłby dla mnie jakąs darmową baze danych zainstalowal na niej odpowiednie tabele i przekazał by pliki mi ftp ze wporwadzonymi parametrami

błagam o pomoc dość pilnie tego potrzebuje a za nic w świecie nie mogę sobie poradzić
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 05:30