fatfreecrm/fat_free_crm · error · FatFreeCRM::MissingSettings
Tab settings are missing, please run <b>rake ffcrm:setup</b>
Error message
Tab settings are missing, please run <b>rake ffcrm:setup</b> command.
What it means
Error "Tab settings are missing, please run <b>rake ffcrm:setup</b> command." thrown in fatfreecrm/fat_free_crm.
Source
Thrown at app/helpers/application_helper.rb:15
# frozen_string_literal: true
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
module ApplicationHelper
def tabs(tabs = nil)
tabs ||= controller_path.match?(/admin/) ? FatFreeCRM::Tabs.admin : FatFreeCRM::Tabs.main
if tabs
@current_tab ||= tabs.first[:text] # Select first tab by default.
tabs.each { |tab| tab[:active] = (@current_tab == tab[:text] || @current_tab == tab[:url][:controller]) }
else
raise FatFreeCRM::MissingSettings, "Tab settings are missing, please run <b>rake ffcrm:setup</b> command."
end
end
#----------------------------------------------------------------------------
def tabless_layout?
%w[sessions passwords registrations confirmations].include?(controller.controller_name) ||
((controller.controller_name == "users") && %w[create new].include?(controller.action_name))
end
# Show existing flash or embed hidden paragraph ready for flash[:notice]
#----------------------------------------------------------------------------
def show_flash(options = { sticky: false })
%i[error warning info notice alert].each do |type|
next unless flash[type]
html = content_tag(:div, h(flash[type]), id: "flash")
flash[type] = nil
return html << content_tag(:script, "crm.flash('#{type}', #{options[:sticky]})".html_safe, type: "text/javascript")View on GitHub (pinned to 3bb64ca0d5)
When it happens
Trigger: Thrown at app/helpers/application_helper.rb:15 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of fatfreecrm/fat_free_crm@3bb64ca0d5 (2026-08-23).
Data as JSON: /api/errors/cdb22a24136dfacb.
Report an issue: GitHub.