Account Maker Po??czenie z MySQL

Status
Zamknięty.

Kikoszek

Active User
Zarejestrowany
Dołączył
Grudzień 28, 2008
Posty
116
Liczba reakcji
1
Witam, od dw?ch dni robi? serwer, i siedz? ju? nad nim z dobre 15 godzin.
A poniewa?, jestem kompletnie zielony, nie wiem dlaczego nie mo?na si? po??czy? z MySQL
|
8755053-20110815110943.png

Prosz? o pomoc. Mo?liwe ?e pope?ni?em b??d w konfiguracji, lecz w to w?tpi?.
Chocia? ja nie wiem:
Punkt 2 (step 2):
Kod:
Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.Can't connect to MySQL database.
|
Ma?a wzmianka o pliku config.lua.
Kod:
	-- MySQL
	mysqlHost = "localhost"
	mysqlUser = "root"
	mysqlPass = ""
	mysqlDatabase = "theforgottenserver"
	mysqlPort = 3306
Kod:
	-- SQL
	sqlType = "mysql"
	passwordType = "plain"
 
Odp: Po??czenie z MySQL

1. Baza mysql dzia?a ? jest stworzona ? sprawdz "http://twojeip/phpmyadmin"
2. Hasla wpisujesz tam ?
3. Hasla sie zgadzaja ?
4. Sprawdz wszystko i napisz
 
Kolejne b??dy

Kolejne b??dy

Dobra, tam, zadzia?a?o mi, samo si? zrobi?o. Ale dziwnie si? zrobi?o bo z b??dami.
Step3:
Kod:
Add tables and columns to DB
Installer try to add new tables and columns to database.
Add columns to table accounts
Can't add column page_lastday to table accounts, already exist?
Can't add column email_new to table accounts, already exist?
Can't add column email_new_time to table accounts, already exist?
Can't add column created to table accounts, already exist?
Can't add column rlname to table accounts, already exist?
Can't add column location to table accounts, already exist?
Can't add column page_access to table accounts, already exist?
Can't add column last_post to table accounts, already exist?
Can't add column email_code to table accounts, already exist?
Can't add column next_email to table accounts, already exist?
Can't add column premium_points to table accounts, already exist?
Add columns to table guilds
Can't add column description to table guilds, already exist?
Can't add column logo_gfx_name to table guilds, already exist?
Add columns to table players
Can't add column created to table players, already exist?
Can't add column nick_verify to table players, already exist?
Can't add column old_name to table players, already exist?
Can't add column hide_char to table players, already exist?
Can't add column comment to table players, already exist?
Can't add column vote to table players, already exist?
Add new tables to database
Table z_news_big not added. Already exist?
Table z_news_tickers not added. Already exist?
Table z_spells not added. Already exist?
Table z_monsters not added. Already exist?
Table z_forum not added. Already exist?
Table z_ots_comunication not added. Already exist?
Table z_shop_offer not added. Already exist?
Table z_shop_history_pacc not added. Already exist?
Table z_shop_history_pacc not added. Already exist?
Tables and columns added to database.
|
Step4:
Kod:
Add samples to DB:
News ticker sample is already in database. New sample is not needed.
Added first news.
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'skulltime' in 'field list'' in F:\xampp\xampp\htdocs\install.php:505 Stack trace: #0 F:\xampp\xampp\htdocs\install.php(505): PDO->query('INSERT INTO pla...') #1 {main} thrown in F:\xampp\xampp\htdocs\install.php on line 505
|
Step5:
1701461-20110815134549.png

A po naci?ni?ciu "set".
Kod:
Set Admin Account
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list'' in F:\xampp\xampp\htdocs\pot\OTS_Account.php:229 Stack trace: #0 F:\xampp\xampp\htdocs\pot\OTS_Account.php(229): PDO->query('SELECT `id`, `n...') #1 F:\xampp\xampp\htdocs\install.php(558): OTS_Account->load(1) #2 {main} thrown in F:\xampp\xampp\htdocs\pot\OTS_Account.php on line 229

Czy to wina jednego pliku, czy jakiego? ca?ego sterowania? ;(
 
Odp: Po??czenie z MySQL

Od nowa, w bazie istnia?y ju? tabele dlatego acc maker nie doda? nowych (swoich), co skutkuje b??dem POT ?e nie mo?na odnale?? pola w tabeli.

Naj?atwiej postaw od nowa baz?, albo po prostu usu? z niej wszystkie tabele dotycz?ce acc makera i zainstaluj go od nowa.
 
Odp: Po??czenie z MySQL

Najlepiej to zaimportuj czyst? baze z source twojego TFSa i potem zabierz si? za instalacj? :)
 
Odp: Po??czenie z MySQL

@up
Co mam zrobi?? Nie rozumiem.
 
Odp: Po??czenie z MySQL

Postaw baz? OD NOWA.
 
Odp: Po??czenie z MySQL

Step3 dzia?a poprawnie.
I dalej te same b??dy.
Kod:
Add samples to DB:
News ticker sample is already in database. New sample is not needed.
Added first news.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'skulltime' in 'field list'' in F:\xampp\xampp\htdocs\install.php:505 Stack trace: #0 F:\xampp\xampp\htdocs\install.php(505): PDO->query('INSERT INTO pla...') #1 {main} thrown in F:\xampp\xampp\htdocs\install.php on line 505
 
Odp: Po??czenie z MySQL

refresh.png

Od?wie?am, czy nikt - wci?? nie mo?e mi pom?c?
 
Odp: Po??czenie z MySQL

1. Zmieni na TFS 0.4
2. Zmieni AAC kt?ry b?dzie dzia? z silnikiem TFS 0.2

Inaczej tego nie naprawisz...
 
Odp: Po??czenie z MySQL

Proponuje u?y? innego acc makera i trzyma? sie poradnika je?eli sam sobie rady nie dajesz.

-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "" <<<<<<<<<<<<<<<<<<<<<<<<<<<< WPISALES TU HASLO ?
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306

Pozdrawiam :)
 
Odp: Po??czenie z MySQL

Ty trollujesz? Czy jeste? tak durny?
#1. Usu? baz? danych ,kt?r? teraz posiadasz //zrozumia?e chyba
#2. Zaimportuj baz? danych ,kt?ra znajduje si? w Source/Schemas/Mysql.sql
#3. Zainstaluj od nowa acc maker.

?atwiej si? chyba nie da:(

#PS. Nie bierz si? za to.
 
Odp: Po??czenie z MySQL

1. Zmieni na TFS 0.4
2. Zmieni AAC kt?ry b?dzie dzia? z silnikiem TFS 0.2
Inaczej tego nie naprawisz...

Dobra, spr?buj?.
Tylko sk?d ja Ci 0.4 wytrzasn?? :O


Proponuje u?y? innego acc makera i trzyma? sie poradnika je?eli sam sobie rady nie dajesz.
-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "" <<<<<<<<<<<<<<<<<<<<<<<<<<<< WPISALES TU HASLO ?
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306
Pozdrawiam :)

Ba, ?e wpisa?em.


Ty trollujesz? Czy jeste? tak durny?
#1. Usu? baz? danych ,kt?r? teraz posiadasz //zrozumia?e chyba
#2. Zaimportuj baz? danych ,kt?ra znajduje si? w Source/Schemas/Mysql.sql
#3. Zainstaluj od nowa acc maker.
?atwiej si? chyba nie da:(
#PS. Nie bierz si? za to.


#1 Zrobione
#2 Gdzie jest to "source"? - dok?adniej prosz? :)
#3 .. :P

-------------
Jeszcze takie moje przypuszczenie.
W punkcie 4, b??d wygl?da tak.
Fatal error: Call to a member function query() on a non-object in F:\xampp\xampp\htdocs\install.php on line 489

A linijka 489 w install.php
$check_news_ticker = $SQL->query('SELECT * FROM z_news_tickers WHERE image_id = 1 AND author = 1 AND hide_ticker = 0 LIMIT 1 OFFSET 0')->fetch();

Usuwaj?c linijki, 489, 505 itd.
Dodaj? si? jakie? tam pliki.
Ale nie wiem, czy dzi?ki temu, nie zepsu? by si? serwer, lub czy nie by?oby b??d?w jaki?.
 
Ostatnia edycja:
Odp: Po??czenie z MySQL

Nie mog? znale?? "Schemas". Nie wiem gdzie jest... Albo "source".. :o
 
Odp: Po??czenie z MySQL

Schemas? Je?eli chodzi ci o mysql.sql to znajdziesz w data/schemas .
 
Odp: Po??czenie z MySQL

Cholera, ja nie mam mysql w schemas.

6900755-medzaevo.png
 
Status
Zamknięty.
Back
Do góry