[Release] SnailyCAD | Fast, modern and free FiveM CAD/MDT

hmm, all seems to be fine in the browser, is there any error in the console? Like something saying that there was an error inserting into the database?

It starts up normally with no issues at all, I did get an error when i closed it up but nothing major. I did take a screenshot of it just in case.

you mind sending me the screenshot to be 100% sure?

Yeah,


I put it in notepad because the console is on a vps

are you able to scroll up a little more? It doesn’t show the error in this part

I don’t, I tried getting it again by turning it off but i got a different error.

Weird, It crashes on startup without any error, can you try to start server & client manually using:

cd client && npm run serve
cd server && npm start (in different cmd)

Both work without any issues

I think i got an idea on why it’s not working, Since we are using a domain instead of the actual ip, Maybe the my friend set it up wrong. Not sure yet though.

That could be, you could ask him?

I am getting below error when creating account

] (node:13217) UnhandledPromiseRejectionWarning: Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual tha FROM users WHERE id = 1’ at line 1
[0] at Query.Sequence._packetToError (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:4
[0] at Query.ErrorPacket (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/sequences/Query.js:79:18)
[0] at Protocol._parsePacket (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/Protocol.js:291:23)
[0] at Parser._parsePacket (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/Parser.js:433:10)
[0] at Parser.write (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/Parser.js:43:10)
[0] at Protocol.write (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/Protocol.js:38:16)
[0] at Socket. (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/Connection.js:88:28)
[0] at Socket. (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/Connection.js:526:10)
[0] at Socket.emit (events.js:315:20)
[0] at addChunk (_stream_readable.js:295:12)
[0] --------------------
[0] at Protocol._enqueue (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)
[0] at Connection.query (/home/bleh/snaily-cadv2/server/node_modules/mysql/lib/Connection.js:198:25)
[0] at /home/bleh/snaily-cadv2/server/node_modules/promise-mysql2/lib/helper.js:12:21
[0] at new Promise ()
[0] at Connection.pcb (/home/bleh/snaily-cadv2/server/node_modules/promise-mysql2/lib/helper.js:3:9)
[0] at Connection.query (/home/bleh/snaily-cadv2/server/node_modules/promise-mysql2/lib/connection.js:45:42)
[0] at processQuery (/home/bleh/snaily-cadv2/server/utils/db.js:26:37)
[0] at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0] at async /home/bleh/snaily-cadv2/server/routes/authentication/auth.js:173:18

Anyone know how to fix this?

Fixed it. I had MySQL v8. I re-installed to mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper

Works perfectly. Thanks!

I got it sorted out, Thanks a lot!

Suggestion:

The ability to remove warrants from a character as and admin.

this sounds like a good feature, I’ll write that down. Thankyou for suggesting!

can there please be a way i can use this on a web hosting server

For a static website, no. If it’s a vps it should work

can you put this on cpanel?

I haven’t used cpanel at all so I wouldn’t know.

ok
thx you