iLLeniumStudios / illenium-appearance

fivem-appearance for qb-core and ESX framework, packed with a lot of features
MIT License
237 stars 213 forks source link

Saved Outfits issue #398

Closed Webb1014 closed 4 months ago

Webb1014 commented 5 months ago

When trying to save an outfit i am getting this error message:

[script:illenium-appe] SCRIPT ERROR: @illenium-appearance/server/server.lua:200: illenium-appearance was unable to execute a query! [script:illenium-appe] Query: INSERT INTO player_outfits (citizenid, outfitname, model, components, props) VALUES (?, ?, ?, ?, ?) [script:illenium-appe] ["ATM16068","test","mp_m_freemode_01","[{\"texture\":0,\"drawable\":0,\"component_id\":0},{\"texture\":0,\"drawable\":121,\"component_id\":1},{\"texture\":0,\"drawable\":3,\"component_id\":2},{\"texture\":0,\"drawable\":30,\"component_id\":3},{\"texture\":0,\"drawable\":284,\"component_id\":4},{\"texture\":0,\"drawable\":0,\"component_id\":5},{\"texture\":5,\"drawable\":147,\"component_id\":6},{\"texture\":0,\"drawable\":303,\"component_id\":7},{\"texture\":0,\"drawable\":15,\"component_id\":8},{\"texture\":2,\"drawable\":103,\"component_id\":9},{\"texture\":0,\"drawable\":0,\"component_id\":10},{\"texture\":1,\"drawable\":22,\"component_id\":11}]","[{\"texture\":0,\"prop_id\":0,\"drawable\":143},{\"texture\":0,\"prop_id\":1,\"drawable\":84},{\"texture\":-1,\"prop_id\":2,\"drawable\":-1},{\"texture\":-1,\"prop_id\":6,\"drawable\":-1},{\"texture\":-1,\"prop_id\":7,\"drawable\":-1}]"] [script:illenium-appe] Unknown column 'components' in 'field list' [script:illenium-appe] > handler (@illenium-appearance/server/server.lua:200) [script:illenium-appe] > logError (@oxmysql/dist/build.js:26272) [script:illenium-appe] > rawQuery (@oxmysql/dist/build.js:26447) [script:illenium-appe] > processTicksAndRejections (node:internal/process/task_queues:96)

I have followed the documents and did everything as they said and still not working

TheiLLeniumStudios commented 4 months ago

You have not followed the docs. Follow them properly