←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Błąd przy aktualizacji psycho

Zablokowany

  • +
  • -
emm - zdjęcie emm 28.01.2011

Witam, mam pewien problem, zainstalowałem psychostaty na vpsie i gdy dodaje komendy żeby aktualizowało wywala mi taki błąd na maila:

PsychoStats failed initialization!
The following modules are required and could not be loaded.
DBI
DBD::mysql

You can install the modules listed using either CPAN or if your distro
supports it by installing a binary package with your package manager like
'yum' (fedora / redhat), 'apt-get' or 'aptitude' (debian).


Wiecie może jak to naprawić?
Odpowiedz

  • +
  • -
Portek - zdjęcie Portek 28.01.2011

The following modules are required and could not be loaded.
DBI
DBD::mysql

You can install the modules listed using either CPAN or if your distro
supports it by installing a binary package with your package manager like
'yum' (fedora / redhat), 'apt-get' or 'aptitude' (debian).


Wystarczające wytłumaczenie? ;x

perl -MCPAN -e 'install DBI' && perl -MCPAN -e 'DBD::mysql'
Odpowiedz

  • +
  • -
emm - zdjęcie emm 28.01.2011

Dzięki aktualizuje, ale teraz przychodzi takie coś:

[FATAL]* Called from PS::Player(952)->PS::Player(1082)->PS::DB(749)->PS::DB(281)->PS::DB(598) >>>
Error executing DB query:
INSERT INTO ps_c_plr_victims (`dataid`, `plrid`, `victimid`, `kills`, firstdate, lastdate, `killsperdeath`, `headshotkillspct`) VALUES ('33880', '1313', '1388', '1', '2010-04-18', '2010-04-18', IFNULL(`kills` / `deaths`, `kills`), IFNULL(`headshotkills` / `kills` * 100, 0.00))
Duplicate entry '33880' for key 'PRIMARY'
--end of error--

Odpowiedz

  • +
  • -
Portek - zdjęcie Portek 28.01.2011

Duplicate entry '33880' for key 'PRIMARY'

To też mam tłumaczyć? ;x Naucz się analizować logi...

DELETE * from ps_c_plr_victims where dataid='33880';
Wykonaj takie zapytanie w phpMyAdmin'ie.
Odpowiedz

  • +
  • -
emm - zdjęcie emm 03.02.2011

No super szkoda, że nie działa ;)
Odpowiedz

  • +
  • -
Portek - zdjęcie Portek 03.02.2011

No super szkoda, że nie działa ;)

Co znowu nie działa :mur: nie jestem kutwa wróżką, jakieś logi? Cokolwiek?!
Odpowiedz

  • +
  • -
emm - zdjęcie emm 04.02.2011

Spokojnie ;)

Gdy wykonuje to polecenie w phpmyadmin, pokazuje mi taki komunikat:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* from ps_c_plr_victims where dataid='33880'' at line 1

Odpowiedz
Zablokowany