So Below is The Errors i got it says Error Parsing Script near Line 239 for all these scripts but like they dont even have 239 lines in most of these configs and there is a few different ones putting this error off and im not sure if this is causing my FXServer To crash or not but it is crashing ,… also my GC Phone isnt Showing Any contacts!
Creating script environments for esx_bishops
Error parsing script @esx_bishops/config.lua in resource esx_bishops: @esx_bishops/config.lua:1: unexpected symbol near ‘<\239>’
Failed to load script config.lua.
Error loading script server/main.lua in resource esx_bishops: @esx_bishops/server/main.lua:5: attempt to index a nil value (global ‘Config’)
stack traceback:
@esx_bishops/server/main.lua:5: in main chunk
Failed to load script server/main.lua.
Started resource esx_bishopsCreating script environments for esx_drugs
Error parsing script @esx_drugs/config.lua in resource esx_drugs: @esx_drugs/config.lua:11: ‘}’ expected (to close ‘{’ at line 9) near ‘coke’
Failed to load script config.lua.
Started resource esx_drugs
Creating script environments for esx_duty
Started resource esx_duty
Creating script environments for esx_firejob
==== Enregistrement du telephone fire => Alert fire
Started resource esx_firejob
==== Enregistrement du telephone ballas => Translation [en][alert_ballas] does not exist
Started resource esx_ballas
Creating script environments for esx_inventoryhud
Error parsing script @esx_inventoryhud/config.lua in resource esx_inventoryhud: @esx_inventoryhud/config.lua:66: ‘}’ expected (to close ‘{’ at line 48) near ‘{’
Failed to load script config.lua.
Started resource esx_inventoryhud
Creating script environments for esx_rebel
Error parsing script @esx_rebel/config.lua in resource esx_rebel: @esx_rebel/config.lua:1: unexpected symbol near ‘<\239>’
Failed to load script config.lua.
Error loading script server/main.lua in resource esx_rebel: @esx_rebel/server/main.lua:5: attempt to index a nil value (global ‘Config’)
stack traceback:
@esx_rebel/server/main.lua:5: in main chunk
Failed to load script server/main.lua.
Started resource esx_rebel
ncaught AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
internal/errors.js(102,11): AssertionError
assert.js(42,9): innerFail
assert.js(56,3): fail
internal/process/promises.js(27,25):
@mysql-async/mysql-async.js(4973,13): db.query
@mysql-async/mysql-async.js(280,24): Sequence.end
@mysql-async/mysql-async.js(2122,8): Query.ErrorPacket
@mysql-async/mysql-async.js(5941,23): Protocol._parsePacket
@mysql-async/mysql-async.js(6198,12): write
@mysql-async/mysql-async.js(5701,16): Protocol.write
AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
[ERROR] [MySQL] [esx_dockshop] An error happens on MySQL for query “[object Object]”: ER_NO_SUCH_TABLE: Table ‘essentialmode.dock_categories’ doesn’t exist
Error: (node:10060) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
[MySQL] [Slow Query Warning] [esx_addoninventory] [1621ms] SELECT * FROM items
[MySQL] [Slow Query Warning] [esx_coffee] [1630ms] SELECT * FROM items
[MySQL] [Slow Query Warning] [gcphone] [1629ms] DELETE FROM phone_messages WHERE (DATEDIFF(CURRENT_DATE,time) > 10)
[MySQL] [Slow Query Warning] [esx_inventoryhud_glovebox] [1625ms] SELECT * FROM glovebox_inventory
[MySQL] [Slow Query Warning] [esx_datastore] [1629ms] SELECT * FROM datastore
[MySQL] [Slow Query Warning] [esx_inventoryhud_trunk] [1625ms] SELECT * FROM trunk_inventory
[MySQL] [Slow Query Warning] [esx_inventoryhud_glovebox] [1631ms] DELETE FROM glovebox_inventory WHERE owned = 0
[MySQL] [Slow Query Warning] [esx_inventoryhud_trunk] [1628ms] DELETE FROM trunk_inventory WHERE owned = 0
[MySQL] [Slow Query Warning] [esx_trunk] [1626ms] DELETE FROM truck_inventory WHERE count = 0
[MySQL] [Slow Query Warning] [esx_vehicleshop] [1627ms] SELECT * FROM vehicle_categories
[MySQL] [Slow Query Warning] [el_bwh] [1629ms] SELECT id,receiver,sender,reason,UNIX_TIMESTAMP(length) AS length FROM bwh_bans
[MySQL] [Slow Query Warning] [es_extended] [1636ms] SELECT * FROM items
[MySQL] [Slow Query Warning] [esx_addonaccount] [1636ms] SELECT * FROM addon_account
[MySQL] [Slow Query Warning] [esx_shops] [1644ms] SELECT * FROM shops LEFT JOIN items ON items.name = shops.item
[MySQL] [Slow Query Warning] [esx_boat] [1647ms] UPDATE owned_vehicles SET stored = true WHERE stored = false AND type = ‘boat’
[ERROR] [MySQL] [esx_boat] An error happens on MySQL for query “[object Object]”: ER_BAD_FIELD_ERROR: Unknown column ‘stored’ in ‘where clause’
Error: (node:10060) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
Error: (node:10060) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
[MySQL] [Slow Query Warning] [esx_weaponshop] [1646ms] SELECT * FROM weashops
Error parsing script @esx_bennys/config.lua in resource esx_bennys: @esx_bennys/config.lua:1: unexpected symbol near ‘<\239>’
Failed to load script config.lua.
Started resource esx_bennys
Moved to ES/ESX 
This important bits
Check your database, that seems to be to root cause of your problems.
thank you for helping organize it for me sir… ummm i will look into my database and see what it could be im not 100% sure what it is i am looking for and these “nil values” i know in some of my configs it says like config.maxplayers -1 or config.copsneededonline -1 should those values be 0 or is -1 usable because some scripts come default with -1 so i figured -1 mean no set value therefor depending on defining variable it was either unlimited / no max or no minimum requires
system
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.