Skip to content

Troubleshooting

Start with the server console at boot. Every problem cc_boutique can detect is printed as a [cc_boutique] line. Then run /boutique_prices (admin) to see what was detected.

Start with the server console at boot. Every problem cc_boutique can detect is printed as a [cc_boutique] line. Then run /boutique_prices (admin) to see what was detected.

Server console

You seeCauseFix
Couldn't load resource cc_boutique / could not find dependency cc_libcc_lib missing or started after cc_boutiqueinstall cc_lib 1.13+, ensure cc_lib before ensure cc_boutique
could not find dependency oxmysqloxmysql missinginstall oxmysql and ensure it first
[cc_boutique] config: ... (red) and "the boutique is closed"a setting is wrong. The line names itfix that setting (CONFIG.md) and restart the resource. The shop refuses to open until then
config: ServerConfig.Prices.<id> is missinga piece in Config.Items has no priceadd it to ServerConfig.Prices, or remove it from the shelf
config: ... category "x" is not in Config.Categoriestypo in a categorymatch the names in Config.Categories
attempt to index a nil value (global 'CC')@cc_lib/init.lua did not loadcc_lib is not started, or the folder is not named cc_lib
prices for the week of ... from a fallback medianno wealth source yetnormal without cc_ledger. Set Pricing.fallbackMedian to suit your economy
migration N skipped: ...an old MySQL/MariaDB rejected an index statementharmless: the shop works without the index. Upgrade MariaDB 10.5+ to apply it
re-price failed: ...the database was unreachablecheck oxmysql's connection string. It retries every checkMinutes
treasury refused $N / society "x" refused $Nthe revenue target is not set upcheck the society exists (or cc_government's source key). The sale itself went through
could not register usable item 'lux_...'cc_lib found no supported inventory registrationadd the items to your inventory (INSTALL.md step 2) and check cc_lib detects your inventory

In game (F8)

You seeCauseFix
No blip, no assistant, no target optionthe client found a config problem (red F8 line), or the resource did not startread F8 and fix the named setting
Target option appears, nothing opens, "Stand at the boutique counter."you are further than reach from the counter coordsstand closer, or raise reach (max 25)
"The boutique is closed."the server config failed validationsee the red server console lines
Page opens blank or shows ui.name-style keyslocales/*.json missing from the zip, or invalid JSON in your translationre-copy locales/. Check your JSON in a validator
Item pictures missing in the shopthe image file named in Config.Items[].image is not in web/img/add the PNG there (names are case-sensitive)
Item pictures missing in the inventoryimages were not copied to the inventorycopy web/img/lux_*.png to your inventory's image folder
"Not enough money in that account." with enough moneyConfig.Payments[].account is not one of cc_lib's namesuse cash, bank or black. cc_lib maps them to your framework (never money or black_money)
"You can't carry it."inventory full or overweightfree space, or lower the item weight in your inventory
"The sale did not go through. You were not charged."the inventory refused the item after payment, so it was refundedthe item is probably missing from your inventory's item list (INSTALL.md step 2)
"This piece can't be sold to you right now."a cc_boutique:beforeBuy hook refused itexpected if you wrote one. Check your hook
Using a watch does nothing, or deletes it (ox_inventory)the item entry lacks server = { export = 'cc_boutique.useItem' } or has consume other than 0use the entries in install/ox_inventory/items.lua exactly
Using a piece says "a fine piece"no title or furniture system is running, so it is a keepsakeinstall cc_coins / tcc-housing, or add a cc_boutique:use hook
"That can't be done right now." when hanging arttcc-housing refused the grant (the piece was given back)add the decor catalogue ids to tcc-housing
Mouse stuck after the page closedanother resource holds NUI focusrestart cc_boutique. If it persists, the other resource is the cause
Prices did not change on Mondaythey move at most maxStep % a week, or the median did not change/boutique_prices shows this week and last week. /boutique_reprice applies new shares/floors now

Performance

resmon should show 0.00 ms for cc_boutique when no one is at the counter, and about 0.01 ms while the page is open. More than that means another resource is calling its exports in a loop.

Still stuck?

Open a ticket in the Code Cartel Discord with:

  1. the [cc_boutique] and [cc_lib] lines from the server console at boot
  2. the output of /boutique_prices from the console
  3. your framework, inventory and target resource names and versions