Heyy, so i and my friends are making a fivem server and we downloaded a ESX Fullbase pack and got all the police jobs ext. but we are getting alot of errors and cant add /register and cant add es_admin2 permission or something. our database is glitched and we dont know what to do. we are stuck for a couple of days. if you have any idee or can send me some scripts or join a call with me i would appriciate it:
{Error code for es_admin2:}
SCRIPT ERROR: @es_admin2/server.lua:302: attempt to index a nil value (local ‘user’)
ref (@es_admin2/server.lua:302)
handler (@essentialmode/server/player/login.lua:134)
ref (@es_admin2/server.lua:301)
handler (@essentialmode/server/classes/groups.lua:141)
ref (@es_admin2/server.lua:298)
{and this??::}
[ERROR] getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [es_extended] An error happens on MySQL for query “SELECT * FROM items”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_vehicleshop] An error happens on MySQL for query “SELECT * FROM vehicle_categories”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_addoninventory] An error happens on MySQL for query “SELECT * FROM items”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_addonaccount] An error happens on MySQL for query “SELECT * FROM addon_account”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_shops] An error happens on MySQL for query “SELECT * FROM shops LEFT JOIN items ON items.name = shops.item”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_property] An error happens on MySQL for query “SELECT * FROM properties”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_society] An error happens on MySQL for query “SELECT * FROM jobs”: getaddrinfo ENOTFOUND 51.91.167.85:3306
server thread hitch warning: timer interval of 175 milliseconds
SCRIPT ERROR: @es_extended/server/common.lua:23: attempt to get length of a nil value (local ‘result’)
ref (@es_extended/server/common.lua:23)
(@mysql-async/mysql-async.js:14959)
SCRIPT ERROR: @esx_society/server/main.lua:18: attempt to get length of a nil value (local ‘result’)
fn (@mysql-async/lib/MySQL.lua:197)
[ERROR] [MySQL] [esx_datastore] An error happens on MySQL for query “SELECT * FROM datastore”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_boat] An error happens on MySQL for query “UPDATE owned_vehicles SET stored
= true WHERE stored
= false AND type = ‘boat’”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_joblisting] An error happens on MySQL for query “SELECT name, label FROM jobs WHERE whitelisted = false”: getaddrinfo ENOTFOUND 51.91.167.85:3306
[ERROR] [MySQL] [esx_vehicleshop] An error happens on MySQL for query “SELECT * FROM vehicles”: getaddrinfo ENOTFOUND 51.91.167.85:3306
SCRIPT ERROR: @esx_addoninventory/server/main.lua:10: attempt to get length of a nil value (local ‘items’)
fn (@mysql-async/lib/MySQL.lua:197)
SCRIPT ERROR: @esx_addonaccount/server/main.lua:9: attempt to get length of a nil value (local ‘result’)
fn (@mysql-async/lib/MySQL.lua:197)
SCRIPT ERROR: @esx_joblisting/server/main.lua:10: attempt to get length of a nil value (local ‘result’)
ref (@esx_joblisting/server/main.lua:10)
(@mysql-async/mysql-async.js:14959)
SCRIPT ERROR: @esx_datastore/server/main.lua:9: attempt to get length of a nil value (local ‘result’)
fn (@mysql-async/lib/MySQL.lua:197)
fff
cccc ff xx xx rr rr eee
cc ffff xx rrr r ee e
cc ff xx … rr eeeee
ccccc ff xx xx … rr eeeee
PLEASE HELP US