Repository navigation
Office Configuration
The Office configuration is stored in a file named config.php. The configuration page will verify if this file is available and writable. If the file is missing it will suggest instructions to correct the situation. One the file is present and writable you can proceed with configuration. Configuration has several sections accessible via tabs running horizontally below the normal menu.
The Necessities tab deals primarily with establishing connections to required databases along with a few other miscellaneous settings. This page also initializes the databases and may be a bit slow the very first time as well as after major upgrades.
The Main Server section has fields for the database server host, type, username, password, and the names for the two primary databases (operational & transactional). If connecting to the database succeeds these fields are hidden to reduce the length of the page but can be shown again by clicking Main Server.
The Transaction Archiving sections sets up a third database for long term data storage. The partitions type is recommended when using MySQL (if interested, look into performance of partitioned tables compared to unions and particularly unions in subqueries). Like Main Server, the fields are hidden when the connection succeeds but can be shown by clicking Transaction Archiving.
The Lanes section defines a number of lanes that are managed by this Office installation. First enter the number of lanes and save the configuration, then using the adjacent dropdown to enter database connection information for each individual lane. This configuration allows Office to send changes (e.g. pricing, member names, etc) to the lanes. Some operations may be slow if a lane is offline as Office waits for the connection to time out. Recommended remedies are either bringing the lane back online or removing it from the configuration.
The Logging & Debugging section controls how error logging occurs along with some options for viewing it from the browser. Viewing very large logs via the browser is not efficient though and may cause crashes or other problems. The fannie.log file is written by scheduled tasks. It contains informational lines as well as warnings and errors. The fannie_debug.log file is developer oriented and contains programming warnings and errors. Color highlighted logs only applies to viewing logs through the browser (again, not always ideal). Log Rotation Count controls how many old logs are kept when rotating logs via the browser (on Linux configuring your system's logrotate to handle this is a better approach). Verbose Debug Messages will include stack traces in fannie_debug.log. This results in larger log files but more detailed information about programming errors. Task Severity resulting in Emails applies when Scheduled Tasks in the Admin menu is configured with an email address. Emergency is the highest severity and Debug is the lowest. Office is capable of sending logs to a remote server. This is completely optional and uses the syslog protocol via either TCP or UDP.
The Co-op section includes the name of the store and the home page. The name of the store is often optional and used for certain kinds of customized, store-specific behavior. Home page controls where the very top link above the main menu goes.
The Locale section includes both a country and a language. Country will alter a few settings related to postal addresses and units of measure but language does not currently do anything. There are no translations built in yet.
The Back Office Transaction section has to do with transactions that are generated directly in Office rather than being rung through a lane. These kinds of transactions are used to make corrections or manage specialized customer accounts. Specifying an employee number and register number helps easily identify transactions that did not occur at a lane.