⚠️Common Issues
Ilegal mix of collations

Works for every script with this error
Solution for PhpMyAdmin
Open your PhpMyAdmin Panel
Select Database which u are using for your FiveM Server in Panel on Left Side
Click
OperationsSection on Top of Panel

Scroll to
CollationSection on Bottom ofOperationsPageSelect
utf8mb4_unicode_cifrom Dropdown List - Make sure to check 2 checkboxes and clickGo

[QB] Cannot change column 'citizenid': used in a foreign key constraint 'fk_citizenid' of table 'database_name.player_groups'
Solution for this Error
Go to
player_groupstable - OpenStructurePage and SelectRelation view

Click
Droponfk_citizenidkey and Change Collation again :)

Solution for HeidiSQL
Open your database and find tables from error in your server console - in my example it will be
playersanddoj_citizen_profiles

Go to first table [in my example it will be
players] and check collation of every column. Collation should be the same in every column and in both tables. If they are different, double click on it and change. Do the same with second table.

GPT won't open
To ensure your job is correctly configured, you need to verify the config.lua file of the GPT system. Follow these steps:
Open the
config.luafile in your preferred text editor.Locate the section where jobs are defined.
Check if your specific job is listed and configured correctly.
Make any necessary adjustments to ensure it aligns with your server’s requirements.
Save the file and restart the server to apply changes.
Last updated