Hi again
I did a flight this afternoon on SmartCARs, and finished, clicked ‘File PIREP’ and SmartCARS confirmed PIREP filing. I checked on the website. It hadn’t. So I attempted to file a Manual PIREP, returning this error:
There was an error adding your PIREP : Schedule does not exist. Please update this manually.
The entire form was filled out completely correctly, and I have retried multiple times.
I found a similar situation somewhere else, and that lead me to discover my local.config.php seems to be truncated. I tried reinstalling phpvms elsewhere, but that also returned a truncated local.config.php
My local.config.php is attached, if that has anything to do with the problem I am having. I need this fixed ASAP!
\<?php /\*\* \* This is the phpVMS Main Configuration File \* \* This file won't be modified/touched by future versions \* of phpVMS, you can change your settings here \* \* There may also be additional settings in app.config.php \* To change it, copy the line into this file here, for the \* settings to take effect \* \*/ Config::Set('DEBUG\_MODE', false); Config::Set('DEBUG\_LEVEL', 1); // 1 logs query errors, 2 logs all queries Config::Set('ERROR\_LEVEL', E\_ALL ^ E\_NOTICE); define('DBASE\_USER', '\*username\*'); define('DBASE\_PASS', '\*password\*'); define('DBASE\_NAME', '\*database\*'); define('DBASE\_SERVER', 'localhost'); define('DBASE\_TYPE', 'mysqli'); define('TABLE\_PREFIX', 'phpvms\_'); define('SITE\_URL', 'http://crew.koruvirtual.co.nz'); # Page encoding options Config::Set('PAGE\_ENCODING', 'ISO-8859-1'); # Clean URLs - set this to true, and then uncomment # the lines indicated in the .htaccess file Config::Set('URL\_REWRITE', false); # Maintenance mode - this disables the site to non-admins Config::Set('MAINTENANCE\_MODE', false); Config::Set('MAINTENANCE\_MESSAGE', 'We are currently down for maintenance, please check back soon.'); /\* Whether you have the /admin/maintenance.php script added into cron. If you do, set this to true. This saves many DB calls since phpVMS will have to 'fake' a cron-job \*/ Config::Set('USE\_CRON', false); Config::Set('CHECK\_RELEASE\_VERSION', true); Config::Set('CHECK\_BETA\_VERSION', false); # See more details about these in the docs Config::Set('PAGE\_EXT', '.htm');# .htm is fine. You can still run PHP Config::Set('PILOTID\_OFFSET', 0);# What # to start pilot ID's from Config::Set('PILOTID\_LENGTH', 4);# Length of the Pilot ID Config::Set('UNITS', 'nm');# Your units: nm, mi or km Config::Set('LOAD\_FACTOR', '82');# %age load factor Config::Set('CARGO\_UNITS', 'lbs'); # After how long to mark a pilot inactive, in days Config::Set('PILOT\_AUTO\_RETIRE', true); Config::Set('PILOT\_INACTIVE\_TIME', 90); # Automatically confirm pilots? Config::Set('PILOT\_AUTO\_CONFIRM', false); # Automatically calculate ranks? Config::Set('RANKS\_AUTOCALCULATE', true); # For how many hours a pilot can edit their submitted PIREP (custom fields only) Config::Set('PIREP\_CUSTOM\_FIELD\_EDIT', '48'); # If someone places a bid, whether to disable that or not Config::Set('DISABLE\_SCHED\_ON\_BID', true); Config::Set('DISABLE\_BIDS\_ON\_BID', false); # If you want to count transfer hours in rank calculations Config::Set('TRANSFER\_HOURS\_IN\_RANKS', false); # The StatsData::UserOnline() function - how many minutes to check Config::Set('USERS\_ONLINE\_TIME', 20); # Google Map Options Config::Set('MAP\_WIDTH', '800px'); Config::Set('MAP\_HEIGHT', '600px'); # Valid types are G\_NORMAL\_MAP, G\_SATELLITE\_MAP, G\_HYBRID\_MAP, G\_PHYSICAL\_MAP Config::Set('MAP\_TYPE', 'G\_PHYSICAL\_MAP'); Config::Set('MAP\_LINE\_COLOR', '#ff0000'); Config::Set('MAP\_CENTER\_LAT', '45.484400'); Config::Set('MAP\_CENTER\_LNG', '-62.334821'); Config::Set('MAP\_ZOOM\_LEVEL', 12); # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS\_LIVE\_TIME', 720); Config::Set('ACARS\_DEBUG', false); # This is your airline's twitter account, if it exists Config::Set('TWITTER\_AIRLINE\_ACCOUNT', ''); Config::Set('TWITTER\_ENABLE\_PUSH', false); Config::Set('TWITTER\_CONSUMER\_KEY', ''); Config::Set('TWITTER\_CONSUMER\_SECRET', ''); Config::Set('TWITTER\_OAUTH\_TOKEN', ''); Config::Set('TWITTER\_OAUTH\_SECRET', ''); /\* This is the unit of money. For non-dollars, use : Dollars ($), enter "$" Euro (
Any and all help is much appreciated!