tanii
Empire-war.com
- Joined
- Jan 16, 2015
- Messages
- 383
- Solutions
- 1
- Reaction score
- 12
$SQL = Website::getDBHandle();
Website::getDBHandle()->setPrintQueries(true);
$SQL = Website::getDBHandle();
Website::getDBHandle()->setPrintQueries(true);
I think we fixed it on Skype/Discord.
If you have similar problem, you should edit install.php, under (179 line):
Add:PHP:$SQL = Website::getDBHandle();
Then website will print all queries send to database during installation. It will also print all errors with text messages what is wrong with query to database.PHP:Website::getDBHandle()->setPrintQueries(true);
In this case it was missing 'comment' column in table 'players'.
Add samples to DB:
[TABLE]
[TR]
[TD]Query:[/TD]
[TD]SELECT `id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `create_ip`, `create_date`, `comment`, `hide_char` FROM `players` WHERE `name` = 'Account Manager'[/TD]
[/TR]
[TR]
[TD]SQLSTATE:[/TD]
[TD]42S22[/TD]
[/TR]
[TR]
[TD]Driver code:[/TD]
[TD]1054[/TD]
[/TR]
[TR]
[TD]Error message:[/TD]
[TD]Unknown column 'comment' in 'field list'[/TD]
[/TR]
[/TABLE]
Add field 'comment' to the players table, just like gesior said..bump
Query: | SELECT id , name , password , premium_ends_at , email , key , create_ip , creation , premium_points , page_access , location , rlname , email_new , email_new_time , email_code , next_email , last_post , flag FROM accounts WHERE name = '1' |
SQLSTATE: | 42S22 |
Driver code: | 1054 |
Error message: | Unknown column 'premium_ends_at' in 'field list' |
Switched to xampp. Works there.Hi!
I am having trouble as well.
I am using Gesior
With the latest version of Uniserver.![]()
GitHub - gesior/Gesior2012 at TFS-1.5
Gesior 2012 - Account Maker [website] for OTSes, account maker you can find in BRANCHES. Select 'branch'. - GitHub - gesior/Gesior2012 at TFS-1.5github.com
This is the info.
View attachment 72744
Everything is fine up until step 4.
Then it is blank.
View attachment 72745
I am using TFS1.5
Compiled with Windows 10 64x.
Grateful for guidance!