Acc...

Virtue

Active User
Zarejestrowany
Dołączył
Styczeń 17, 2010
Posty
82
Liczba reakcji
1
Witam.
Posiadam Account Manager by Gesior rewritten by Infinity.
No i tam par? b??d?w ... Co? tam pisa?o ?eby doda? Top Powergamers by G?sior wi?c doda?em jaki?.
I dalej nie dzia?a.
Patrze na chara np. ju? zrobionego Rook Sample:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'exphist_lastexp' in 'field list'' in X:\Lol\xampp\htdocs\pot\OTS_Player.php:1811 Stack trace: #0 X:\Lol\xampp\htdocs\pot\OTS_Player.php(1811): PDO->query('SELECT `exphist...') #1 X:\Lol\xampp\htdocs\characters.php(426): OTS_Player->getCustomField('exphist_lastexp') #2 X:\Lol\xampp\htdocs\index.php(171): include('X:\Lol\xampp\ht...') #3 {main} thrown in X:\Lol\xampp\htdocs\pot\OTS_Player.php on line 1811

Prosz? o pomoc :thumbup:
 
Odp: Acc...

Witam.
Posiadam Account Manager by Gesior rewritten by Infinity.
No i tam par? b??d?w ... Co? tam pisa?o ?eby doda? Top Powergamers by G?sior wi?c doda?em jaki?.
I dalej nie dzia?a.
Patrze na chara np. ju? zrobionego Rook Sample:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'exphist_lastexp' in 'field list'' in X:\Lol\xampp\htdocs\pot\OTS_Player.php:1811 Stack trace: #0 X:\Lol\xampp\htdocs\pot\OTS_Player.php(1811): PDO->query('SELECT `exphist...') #1 X:\Lol\xampp\htdocs\characters.php(426): OTS_Player->getCustomField('exphist_lastexp') #2 X:\Lol\xampp\htdocs\index.php(171): include('X:\Lol\xampp\ht...') #3 {main} thrown in X:\Lol\xampp\htdocs\pot\OTS_Player.php on line 1811
Prosz? o pomoc :thumbup:


brakuje kolumny exphist-Lastexp

poszukaj skryptu na powergammer i dodaj tebele, wszysto bedzie dzia?a?.
 
Odp: Acc...

Doda?em 2 tabele st?d:
[Gesior acc. maker][TFS 0.3]Powergamers and online time stats

2. How to install?
1. In MySQL execute (phpmyadmin -> 'SQL'):

PHP:
ALTER TABLE `players` ADD `exphist_lastexp` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist1` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist2` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist3` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist4` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist5` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist6` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `exphist7` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetimetoday` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime1` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime2` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime3` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime4` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime5` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime6` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetime7` BIGINT( 255 ) NOT NULL DEFAULT '0',
ADD `onlinetimeall` BIGINT( 255 ) NOT NULL DEFAULT '0';
and:
PHP:
UPDATE `players` SET `exphist_lastexp`=`players`.`experience`

To doda?em i dalej wyskakuje b??d :confused:
 
Back
Do góry