Common issues

Common Issues

Errors when inserting the SQL file

Make sure that you are using HeidiSQL (opens in a new tab) instead of phpMyAdmin and that you're using an up-to-date version of MariaDB.

Please note that if you use a game panel, you may not be able to run the query. Hosts using game panels often have outdated versions of MariaDB and/or use phpMyAdmin. You can either contact your host, or, preferably, switch to a Virtual Private Server/Virtual Dedicated Server.

Could not find dependency loaf_lib for resource lb-phone

Make sure that you have installed loaf_lib (opens in a new tab) and renamed it from loaf_lib-master to loaf_lib.

Phone not opening

Follow these steps:

  1. Stop your server
  2. Remove lb-phone from your resources folder
  3. Install a fresh copy from keymaster (opens in a new tab)
  4. Start and join your server

Still having issues? Follow these steps:

  1. Stop your server
  2. Set Config.Debug = true in lb-phone/config/config.lua
  3. Start and join your server
  4. Type ensure lb-phone in your server console
  5. Send a screenshot of BOTH your F8 console AND your server console in #🔰customer-support
  6. Try to open the phone
  7. Send a screenshot of BOTH your F8 console AND your server console in #🔰customer-support

Export x does not exist

Make sure that you are using the export on the correct side. If you are using a client export on the server, or vice versa, you will get this error. Double check that you are using an export that exists. If you check the right sidebar in the documentation, you can see if the export is server or client sided.

Unknown column x in 'field list'

You are missing a database column / field. Sometimes when a phone update is released, a new column is added to the database. You can fix this by running the queries from the #🔨updates (opens in a new tab) channel.

Music not working

You need to configure songs yourself. Follow the music guide to learn how to do this.

AirShare not working / Can't share my contact

The phone uses OneSync features for AirShare. Make sure that you have OneSync infinity enabled, and that your artifacts are up-to-date.

Likes not updating

If your likes are not updating on social media apps such as Birdy and InstaPic, that usually means that you did not install the SQL file correctly. Usually this happens because you are using an outdated version of MariaDB, or because you are using phpMyAdmin. Make sure to use HeidiSQL (opens in a new tab) and that your MariaDB version is up to date.

Video calls / Live stream is black

If video calls or InstaPic live streams are black, that usually means that your firewall is blocking the connection. You can try setting up a turn server in Config.RTCConfig. You can use something like metered (opens in a new tab). See this message (opens in a new tab) for more information. We're looking into an alternative solution.

Fatal Error: Assertion failure: status.ok() ... ServerKVScriptFunctions.cpp"

Please create a zip of your db folder in your server files and send it to Loaf Scripts in a ticket. Then delete the db folder. If the issue persists, set Config.Crypto.Enabled to false.

My cursor is stuck in the center

Enable raw input in your game settings.

I denied microphone access, how do I enable it again?

First make sure that FiveM is not running. Then remove the AppData\Roaming\CitizenFX\media_access.json file. Next time you connect to the server you will be prompted to allow access again.

I'm missing an app

If you're missing the wallet, garage or services app, that means that the script did not detect your framework, or that you didn't set it up correctly.

If you're missing the home app, that means you haven't configured your housing script corretly. By default, the home app only works with a few scripts. Follow the custom housing scripts guide to add your housing script.