How To Fix this error
#1

Hi i have These Errors On my mysql_log.txt

PHP код:
[17:37:51] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[17:40:08] [ERRORcache_get_row_int invalid datatype
[17:40:08] [ERRORcache_get_row_int invalid datatype
[17:40:34] [ERRORcache_get_row_int invalid datatype
[17:40:34] [ERRORcache_get_row_int invalid datatype
[17:42:36] [ERRORcache_get_row_int invalid datatype
[17:42:36] [ERRORcache_get_row_int invalid datatype
[17:42:37] [ERRORcache_get_row_int invalid datatype
[17:42:37] [ERRORcache_get_row_int invalid datatype
[17:43:13] [ERRORcache_get_row_int invalid datatype
[17:43:13] [ERRORcache_get_row_int invalid datatype
[17:47:55] [ERRORcache_get_row_int invalid datatype
[17:47:55] [ERRORcache_get_row_int invalid datatype
[17:47:55] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[17:48:43] [ERRORcache_get_row_int invalid datatype
[17:48:43] [ERRORcache_get_row_int invalid datatype
[19:01:24] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[19:01:59] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[20:41:42] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[20:53:59] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[22:06:32] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[22:35:24] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[09:14:04] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[11:40:19] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[14:22:48] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[18:55:14] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[19:47:43] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[19:47:43] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[20:44:41] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[21:45:26] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[09:33:53] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[13:45:26] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[15:29:25] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[15:34:24] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[15:40:05] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[16:52:16] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[18:01:45] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[20:36:50] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[20:39:28] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[21:51:30] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[00:47:13] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[01:04:57] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[01:14:11] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[03:01:49] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[03:03:43] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[03:08:04] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[03:14:01] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[12:36:11] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[12:47:15] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[12:56:15] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[13:01:01] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[14:20:14] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[14:39:48] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[14:47:40] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pBanDays' in 'field list'
[16:08:52] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[16:26:26] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[16:30:42] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[19:16:24] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list'
[20:46:52] [ERRORCMySQLQuery::Execute[SendQuery] - (error #1054) Unknown column 'pHk' in 'field list' 
how to fix?
Reply
#2

Codes?
Reply
#3

pHk, pBanDays don't exist in the database. This doesn't require code to know the problem. Add them to the table
Reply
#4

Quote:
Originally Posted by sammp
Посмотреть сообщение
pHk, pBanDays don't exist in the database. This doesn't require code to know the problem. Add them to the table
where i should make pBanDays On my Users database Or Banned Database?
Reply
#5

As it clearly says invalid datatype, you must have placed cache_get_row_int in a float field(instead use cache_get_row_float). Check the code, were the bans has been placed(see the query) and according to that create a table.
Reply
#6

I have test i make pBanDays and my freind banned me for 1 day i see on database pBanDays is 1 but i can join server it's like kick
Reply
#7

any body cant help me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)