GPCI in database
#1

So, what should i do when the console says like this?

PHP код:
[04:24:05Error #1054 - Error: Unknown column 'GPCI' in 'field list' | Query: INSERT INTO `players` (`Username`, `Pass`, `IP`, `RegisterDate`, `GPCI`) VALUES ('Mike_Kube', '41E8DCD3804160792ED97F99320FE60FF21CFFFDA65EE7BA6C2AD3FC55D0BC8FDE1A80B3E265608CD7EE63D4BA3E70341D193890D3600917A0B22C1E61A8461F', '127.0.0.1', 1404523445, '845D44DD94D8D9F0C498490DE4DF8FA9A905FC9D') | Callback: OnQueryFinish 
PHP код:
ErrorUnknown column 'GPCI' in 'field list' 
Or should i do something with pawno?
Reply
#2

What's your database structure? If you go to structure in PhpMyAdmin just screenshot it and paste it here. But you're most definitely missing a column. Hence the error message "Unknown column", meaning it does not exist. Anyway you'll probably want to add a new column called 'GPCI' and choose it as a VARCHAR and probably with a length of more than 40 characters as that's what '845D44DD94D8D9F0C498490DE4DF8FA9A905FC9D' is.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)