Jump to content

Recommended Posts

Posted

Hey friends!

 

Having an error when trying to setup a flight - on the newest version of PHPVMS and PHP7.4, looks like the ACARS can't find the ID of the PIREP... any ideas?

 

08-27 00:15:54|INFO; Flight selected: F8120
08-27 00:15:54|INFO; Loading flight, ID=R4m1bOb54BoPEkeK
08-27 00:15:56|INFO; Handling action button, val=Start Flight
08-27 00:15:56|ERROR; You must select an aircraft
08-27 00:15:56|INFO; MessageBox, message=You must select an aircraft
08-27 00:15:59|INFO; Handling action button, val=Start Flight
08-27 00:15:59|INFO; Found loaded flight plan, adding to PIREP
08-27 00:15:59|INFO; Field Version=1.0.0.1618
08-27 00:16:00|ERROR; uri=http://vms.virtualflairairlines.com/api/pireps/prefile
08-27 00:16:00|ERROR; error=
08-27 00:16:00|ERROR; req=https://vms.virtualflairairlines.com/api/pireps/prefile
08-27 00:16:00|ERROR; code=404-NotFound
08-27 00:16:00|ERROR; response body={"type":"https:\/\/phpvms.net\/errors\/not-found","title":"No query results for model [App\\Models\\Pirep] prefile","details":"No query results for model [App\\Models\\Pirep] prefile","status":404,"error":{"status":404,"message":"No query results for model [App\\Models\\Pirep] prefile"}}
08-27 00:16:00|INFO; Error prefiling, retrying, No query results for model [App\Models\Pirep] prefile
08-27 00:16:00|ERROR; Error prefiling, server says "No query results for model [App\Models\Pirep] prefile"
08-27 00:16:00|INFO; MessageBox, message=Error prefiling, server says "No query results for model [App\Models\Pirep] prefile"

 

Posted
7 hours ago, natopower said:

Yeah, that was solved. Just a misclick on that first bit. The App\Models\Pirep issue is the main problem.

 

"No query results for model [App\Models\Pirep] prefile" simply means that Acars is not able to connect to your phpvms properly and can not pre-file the pirep to move on...

 

And root cause of that error lies just above it ;

 

08-27 00:16:00|ERROR; uri=http://
08-27 00:16:00|ERROR; req=https://

 

Sometimes, SSL certificates do these kind of redirections and when that happens, acars fails 'cause it looks for http response comes from https (or vice versa).

 

Check your acars settings and your phpvms / env.php (APP_URL=)

 

Hope this helps

 

 

 

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...