SmartCars "Pirep Filing Error" Fix

Dear phpvms & users,

I have just spoke with the TFDi team for multiple months on fixing a problem with my SmartCars for my Virtual Airline about pilots getting a “Pirep Filing Error” when Filing the pirep at the end of their flight i have sit for many hours trying to figure the problem out and have found a successful fix. Read below at what i have done to also maybe fix your “Pirep Filing Error” for your virtual airline.

The below code is found within the codon.config.php the first box below will be default and the following box will be with the changes.

session_start();[/b]
[b]error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
@ini_set('display_errors', 'on');

i have changed display errors from on to off, This will not affect any error logs from within phpvms from what i have found but it is the clear fix to your problem. You can find this code on line 43 in the codon.config.php that is within your phpvmsinstallationfolder/core

session_start();[/b]
[b]error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
@ini_set('display_errors', 'off');

I really hope this helps yourself and others that may be frustrated.

Best regards,

Vince @ WeFlyFSX.com

Although this gets your issue with SmartCars fixed it only hides the root cause of the error, and now any others that may be occuring. You really should find what is causing the error to be produced in the first place.

The error returned to a blank line in pilotdataclass got any suggestions on that blank line ?

If u was to sit there for months and not figure out what it could be and this fixed it what would you do ?

On top of that all the errors that may still be producing will still show within error log anything on that ?

That’s isn’t my point and your solution works for you, that’s all that matters.

Yes it does work for me and it can work for others until they may come up with a better solution.

I also have the same problem and I can not solve it, do not send the flight or do what the friend said above in the topic, would anyone have a solution?