pr7 0 Posted September 5, 2021 Report Share Posted September 5, 2021 SQLSTATE[HY000]: General error: 1364 Field 'number' doesn't have a default valueBacktrace:#0 C:\UniServerZ\www\system\libs\pot\OTS_Account.php(142): PDO->exec('INSERT INTO `ac...')#1 C:\UniServerZ\www\install\steps\7-finish.php(63): OTS_Account->create(NULL, '123456')#2 C:\UniServerZ\www\install\index.php(216): require('C:\\UniServerZ\\w...')#3 {main} Se eu coloco nulo o campo "number" ele até cria a account porém dá senha incorreta no jogo, sendo que tá sha1 no config.lua.. Ajudem ai por favor! Link to comment https://xtibia.com/forum/topic/253331-ajuda-com-banco-de-dados/ Share on other sites More sharing options...
0 TICyber 0 Posted March 25 Report Share Posted March 25 (edited) 👽Sou programador, pode estar me contatando, desenvolvo em: 👨💻HTML, CSS, PYTHON👨💻 sob margem de LINUX e Windows. Contato:(27) 998931903.🤓 Edited March 25 by TICyber Link to comment https://xtibia.com/forum/topic/253331-ajuda-com-banco-de-dados/#findComment-1776855 Share on other sites More sharing options...
Question
pr7 0
SQLSTATE[HY000]: General error: 1364 Field 'number' doesn't have a default value
Backtrace:
#0 C:\UniServerZ\www\system\libs\pot\OTS_Account.php(142): PDO->exec('INSERT INTO `ac...')
#1 C:\UniServerZ\www\install\steps\7-finish.php(63): OTS_Account->create(NULL, '123456')
#2 C:\UniServerZ\www\install\index.php(216): require('C:\\UniServerZ\\w...')
#3 {main}
Se eu coloco nulo o campo "number" ele até cria a account porém dá senha incorreta no jogo, sendo que tá sha1 no config.lua..
Ajudem ai por favor!
Link to comment
https://xtibia.com/forum/topic/253331-ajuda-com-banco-de-dados/Share on other sites
1 answer to this question
Recommended Posts