Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [MySQL][PHP] Problem z dodaniem tabeli
jarzyslaw
post 23.11.2009, 16:08:00
Post #1





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

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


Witam przy instalcacji webleague na yoyo.pl napotkałem taki problem otóż nie wiem jakie parametry mam wpisac jaką ilośc pól oraz dodatkowa konfiguracje. W instrukcji był taki fragment. Z góry dzięki za pomoc

  1. <?php
  2.  
  3. //start
  4.  
  5. //configure database info
  6. $databaseserver = "localhost"; //usually localhost
  7. $databasename = "dbname"; //the name of your database
  8. $databaseuser = "dbuser"; //the name of the database-user
  9. $databasepass = "dbpass"; // the password to your database
  10. $directory ="http://www.yoursite.com/WebLeague" ; //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. ?>


Ten post edytował jarzyslaw 23.11.2009, 16:12:48
Go to the top of the page
+Quote Post
Fifi209
post 23.11.2009, 16:11:20
Post #2





Grupa: Zarejestrowani
Postów: 4 655
Pomógł: 556
Dołączył: 17.03.2009
Skąd: Katowice

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


Nie rozumiem pytania, szczególnie, iż brak struktury bazy.


--------------------
Zainteresowania: C#, PHP, JS, SQL, AJAX, XML, C dla AVR
Chętnie pomogę, lecz zanim napiszesz: Wujek Google , Manual PHP
Go to the top of the page
+Quote Post
jarzyslaw
post 23.11.2009, 16:14:50
Post #3





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

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


Wkleiłem po prostu fragment z instrukcji. W pierwszej części tego co trzeba dodać do jednego z plików. Wprowadziłem parametry dany i wrzuciłem na serwer. Problem ma z ta drugą częścią, Z bazy danych wcześniej usunąłem wszystkie tabele
Go to the top of the page
+Quote Post
Fifi209
post 23.11.2009, 16:20:15
Post #4





Grupa: Zarejestrowani
Postów: 4 655
Pomógł: 556
Dołączył: 17.03.2009
Skąd: Katowice

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


Cytat(jarzyslaw @ 23.11.2009, 16:14:50 ) *
Wkleiłem po prostu fragment z instrukcji. W pierwszej części tego co trzeba dodać do jednego z plików. Wprowadziłem parametry dany i wrzuciłem na serwer. Problem ma z ta drugą częścią, Z bazy danych wcześniej usunąłem wszystkie tabele

Napisz lepiej w ogóle co to jest, poza tym jak ma cokolwiek działać jak tabele z bazy pousuwałeś ?


--------------------
Zainteresowania: C#, PHP, JS, SQL, AJAX, XML, C dla AVR
Chętnie pomogę, lecz zanim napiszesz: Wujek Google , Manual PHP
Go to the top of the page
+Quote Post
jarzyslaw
post 23.11.2009, 16:23:39
Post #5





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

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


przez panel administracyjny bazy smile.gif
Chodzi mi o zainstalowanie skryptu WebLeague.
Go to the top of the page
+Quote Post
cristo
post 26.06.2010, 09:37:25
Post #6





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 26.06.2010

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


Ja też mam ten problem podałem prawidłowe dane do bazy i nic wyskakuje tylko okienko tworzenia konta admina jak podam nick i pass kliknę submit to nic się nie dziej a powinno tworzyć tabele. Poproszę o rady.
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 - 02:53