Jump to content

exports: Call to non running server resource


Recommended Posts

 

 

Quote

\mta_item\server.lua: 1 : exports: Call to non running server resource <mta_connection> [string "?"]

local connection = exports['mta_connection']:getConnection()

 

Quote

\mta_item\server.lua: 2 : exports: Call to non running server resource <mta_connection> [string "?"]

local mysql = exports['mta_connection']

 

Quote

\mta_item\server.lua: 496 Bad arguement @ 'dbQuery' [Expected db-connection at arquement 1, got nil]

local result = dbQuery(connection,"SELECT * FROM bins")

 

Quote
Quote

\mta_item\server.lua: 497 Bad arguement @ 'dbPoll' [Expected db-query at arquement 1, got boolean]

local handler = dbPoll(result, -1)

 

Quote

\mta_item\server.lua: 867 Bad arguement @ 'dbQuery' [Expected db-connection at arquement 1, got nil]

local SafeQuery = dbQuery(connection,"SELECT * FROM Safe")

 

Quote

\mta_item\server.lua: 868 Bad arguement @ 'dbPoll' [Expected db-query at arquement 1, got boolean]

local Safe, ID = dbPoll(SafeQuery,-1)

 

Could you please help me to fix this problem.

Thanks

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...