CrewCentre Pirep issue

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!

What do you mean that your local.config.php was truncated? Is the above pasted text all your local.config.php? I believe that the error is clear. There is not any schedule for the airline and flight number you tried to submit. Did the schedule exist?

3 minutes ago, servetas said:

What do you mean that your local.config.php was truncated? Is the above pasted text all your local.config.php? I believe that the error is clear. There is not any schedule for the airline and flight number you tried to submit. Did the schedule exist?

Hi.

 

yes the schedule very much exists. That is my local.config.php in its entirety 

Can you try to add to bid a schedule and try to file it? What is your website url?

Website URL www.crew.koruvirtual.co.nz

Doesn’t help a lot, can you share any demo login details?

Yeah, added bid and then tried still no luck - will setup a demo account for you

, dmeo account details:

 

Username: ANZ101

Password: demokoru

 

I am trying to book a flight from your system but the button is not working. The briefing button is not working too.

I just booked a few on the demo account - try clearing your cache.

 Would you be able to help? this is urgent!

23 hours ago, Baileypellow said:

Hi.

 

yes the schedule very much exists. That is my local.config.php in its entirety 

To come back on that issue, clearly a part of your config is missing. But have you tried adding back the part which is missing? 

/* This is the unit of money. For non-dollars, use : Dollars ($), enter “$” Euro (€), enter “€” Yen (¥), enter “¥” Pounds (£), enter “£” For example, to set EUROS: Config::Set(‘MONEY_UNIT’, ‘€’); */ Config::Set(‘MONEY_UNIT’, ‘$’); # FSPassengers Settings # Units settings Config::Set(‘WeightUnit’, ‘1’);# 0=Kg 1=lbs Config::Set(‘DistanceUnit’, ‘2’);# 0=KM 1= Miles 2=NMiles Config::Set(‘SpeedUnit’, ‘1’);# 0=Km/H 1=Kts Config::Set(‘AltUnit’, ‘1’);# 0=Meter 1=Feet Config::Set(‘LiquidUnit’, ‘2’);# 0=liter 1=gal 2=kg 3=lbs Config::Set(‘WelcomeMessage’, ‘phpVMS/FSPAX ACARS’); # Welcome Message /* FSFK Settings Your FTP Server, and path to the lib/images folder (from where the FTP connects from), IE ftp://phpvms.net/phpvms/lib/fsfk or ftp://phpvms.net/public\_html/phpvms/lib/fsfk You want the path from when you connect to the FTP down to where the /lib/fsfk folder is SECURITY NOTE! Make a separate FTP user and password ONLY for this, with access only to this folder */ Config::Set(‘FSFK_FTP_SERVER’, ‘’); Config::Set(‘FSFK_FTP_PORT’, ‘21’); Config::Set(‘FSFK_FTP_USER’, ‘’); Config::Set(‘FSFK_FTP_PASS’, ‘’); Config::Set(‘FSFK_FTP_PASSIVE_MODE’, ‘TRUE’); Config::Set(‘FSFK_IMAGE_PATH’, ‘/lib/fsfk’); // web path from SITE_ROOT # Options for the signature that’s generated Config::Set(‘SIGNATURE_TEXT_COLOR’, ‘#000’); Config::Set(‘SIGNATURE_SHOW_EARNINGS’, true); Config::Set(‘SIGNATURE_SHOW_RANK_IMAGE’, true); Config::Set(‘SIGNATURE_SHOW_COPYRIGHT’, true); # Avatar information Config::Set(‘AVATAR_FILE_SIZE’, 50000); Config::Set(‘AVATAR_MAX_WIDTH’, 80); Config::Set(‘AVATAR_MAX_HEIGHT’, 80); # Email Settings Config::Set(‘EMAIL_FROM_NAME’, ‘’); Config::Set(‘EMAIL_FROM_ADDRESS’, ‘’); Config::Set(‘EMAIL_USE_SMTP’, false); # Add multiple SMTP servers by separating them with ; Config::Set(‘EMAIL_SMTP_SERVERS’, ‘’); Config::Set(‘EMAIL_SMTP_PORT’, ‘25’); Config::Set(‘EMAIL_SMTP_USE_AUTH’, false); Config::Set(‘EMAIL_SMTP_SECURE’, ‘ssl’); # must be “ssl” for Google Apps Config::Set(‘EMAIL_SMTP_USER’, ‘’); Config::Set(‘EMAIL_SMTP_PASS’, ‘’);

how did you fix this error?