Jump to content
Salinas

Problem adding Fleet on PhpVMS V5.5.2.72

Recommended Posts

Hi!, i'm working on the VA system for my VA, and when i add aircrafts it gives me the error "There was an error adding the aircraft" (same thing editing the aircraft) but this is my form https://prnt.sc/t7brbt (it appears in blue because the other times was the same problem, so it's easier to me, i added it from de database directly but i can't still fly with the aircrafts, when i book my pirep i can't select the plate of the aircraft, i tried to add the aircrafts on a .csv, but it doesn't work (https://prnt.sc/t7bsck),it returns this text, The import process is complete, added 0 aircraft, updated 0, for a total of 0! ".

 

I searched on the forum but i didn't found the topic, i've looked about the install/dbcheck.php, so here is the image, https://prnt.sc/t7btgl.

 

Thank you for everything, 

 

Kind Regards.

Edited by Salinas

Share this post


Link to post
Share on other sites

Try putting Airbus A320-200 in the section for full name, as it might have a problem with that.

Share this post


Link to post
Share on other sites

Do you have error reporting turned on and is there anything in the error_log file? In some installs using PHP 7.2 (like mine) you need to add to the .user.ini file or php.ini file (located in same directory as phpVMS) to get the errors to show in error_log file.

 

Have you checked the console in Chrome or any other browser to see if there are errors?

 

Who is your webhost?

Share this post


Link to post
Share on other sites

Is error logging turned on?

 

Are there any other errors not related to aircraft in the error_log file?

 

Any issues adding airports or schedules?

Share this post


Link to post
Share on other sites

It is recommended not to add airports that you don't intend to have schedules to. Many times, phpVMS loads the entire airports table. Having 52,000+ airports will take a while to load. Although, this shouldn't have an effect in importing/adding aircraft.

 

As for the Google "issue" - you will still see that occassionally as there is at least one map (maybe more) that a successful conversion to OSM/Leaflet maps does not remedy. But that should not affect aircraft import/add.

 

Is there and error_log file?

Share this post


Link to post
Share on other sites

You have to have at least one airport in the database - the default install adds KJFK as that default and I believe it also shows KJFK as a hub.

 

You need to verify that error reporting is ON and that you have PHP set to log errors to a file named error_log that is usually located in the main phpVMS directory. Ask your host how to set all that up - as requirements may be different between hosts.

Share this post


Link to post
Share on other sites

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...