Getting error when starting the bot
Closed this issue · 6 comments
When i start the bot it starts then has a bunch of errors.
[root@csgoskinbet бот]# node tradebot.js
connected
encrypt request
handshake complete
Logged in!
/var/www/бот/node_modules/mysql/lib/protocol/Parser.js:82
throw err;
^
TypeError: Cannot read property 'value' of undefined
at Query._callback (/var/www/бот/tradebot.js:79:80)
at Query.Sequence.end (/var/www/бот/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)
at Query._handleFinalResultPacket (/var/www/бот/node_modules/mysql/lib/protocol/sequences/Query.js:144:8)
at Query.EofPacket (/var/www/бот/node_modules/mysql/lib/protocol/sequences/Query.js:128:8)
at Protocol._parsePacket (/var/www/бот/node_modules/mysql/lib/protocol/Protocol.js:271:23)
at Parser.write (/var/www/бот/node_modules/mysql/lib/protocol/Parser.js:77:12)
at Protocol.write (/var/www/бот/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at Socket. (/var/www/бот/node_modules/mysql/lib/Connection.js:96:28)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
It's obviously an error with your MySQL database. Make sure a column with the name value
doesn't have any null rows.
It has seemed to make no difference...
Managed to get it working but now i've got to wait the 7days...
Do you mind sharing what was wrong and how you fixed it in case anyone has this problem in the future?
I doubt anyone sane will search for MySQL errors here.