Blåhaj
Blåhaj2y ago

Error marking messages as answer

No description
No description
17 Replies
Blåhaj
BlåhajOP2y ago
No description
No description
Blåhaj
BlåhajOP2y ago
No description
No description
Blåhaj
BlåhajOP2y ago
all those were at least 12 hours or more ago
Rhys
Rhys2y ago
@mwlica could you link to the pages that’s occurring on please? Thanks
Blåhaj
BlåhajOP2y ago
Answer Overflow
“There was an error talking to the database” - Someone's x Waya
Bot randomly stopped working and says “There was an error talking to the database”.
Rhys
Rhys2y ago
Ah it’s since the bot isn’t able to send the solution id question id message If you make sure the bot can send embeds and messages it’ll work
Blåhaj
BlåhajOP2y ago
because I delete that one it looks ugly in chat
Rhys
Rhys2y ago
Yeah it uses that to get the solution id and message it’s when indexing
Blåhaj
BlåhajOP2y ago
why isn’t that stored in a database
Rhys
Rhys2y ago
It is stored in a database as well
Blåhaj
BlåhajOP2y ago
then why not use it from the database lol storing data in a chat the website relies on isnt really a good thing to do
Rhys
Rhys2y ago
I’m aware of that it’s just from when it was implemented originally from a while ago, hasn’t really need to be redone since then The main thing was originally it was a bit of a pain to figure out what needed to be indexed next, and so when you marked the solution of a post if it’d add that to the database, then it’d make it more difficult to figure out what posts between that one and the last one that was indexed were It’s easier to do now I just haven’t gone thru and updated it
Blåhaj
BlåhajOP2y ago
let me know when the issue is fixed
Rhys
Rhys2y ago
Will do, it’ll be about ~4 weeks until I’m back from vacation and I can work on it
Blåhaj
BlåhajOP2y ago
okey