Mysql related - No MetaName string type for userdata (AGH!)
0 replies, posted
So i'm getting this error when the server tries to save information onto the mysql, (It seem to disconnect the mysql aswell, since when the script checks if the server have a connection, it tries to reconnect, then I get a "Successfully connected" msg)
[code]Error - No MetaName string type for userdata (AGH!) [/code]
This is all the info I'm given, From what I've heard you are supposed to get one more line, (Kinda hard to figure out what the problem is with this line?) anyhow I had hopes that someone on facepunch might know how to proceed from here.
The code that would send this info
[code]
function AsyncQuery(query, completed, err, data, wait)
if SQL == 0 then ErrorNoHalt("MySQL is not connected\n") return end
if type(wait) ~= "boolean" then wait = false end
local query = SQL:query(query)
query.onSuccess = function(...) return (completed or empty_function)(query, ...) end
query.onFailure = function(...) print(...)return (err or empty_function)(query, ...) end
query.onData = function(...) return (data or empty_function)(query, ...) end
query:start()
if wait then query:wait() end
return query
end
[/code]
I know there are alot of more code to the sql, however I would have to post around 1000 lines of code, and I doubt anyone would read it.
Anyhow here is some info.
Uses mysqloo.
Very old code
The mysql should be setup right. (98% sure)
If you need anymore info, just tell me.
Sorry, you need to Log In to post a reply to this thread.