BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: detomb on November 24, 2006, 09:56:59 pm
-
When I try to add new guests now, this is what I get:
MySQL error (# 0) on query: INSERT guests (id) VALUES (1738987736)
Field 'timeadd' doesn't have a default value
This happened all of a sudden, and nothing has changed on bot/been restarted.
All old guests can still join and leave.
??? Any help would be appreciated :)
-
Sounds like "timeadd" requires a value and it's not adding one in the code. You could check the code to see whether it's putting a time() in the insert statement, or a variable with the timestamp stored.
You could also alter the table to make a default value for timeadd.
-
I might be missing something that's right infront of me here. But where is the code for this?
Nvm, it was right infront of me ;)