Problem adding Fleet on PhpVMS V5.5.2.72

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.

What php version are you using?

PHP 7.2

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

Same error 😕

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?

I don’t get any error at the error_log, and on my console doesn’t appears anything, Hostinger

 

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?

I added the airports with https://github.com/eliezerazevedo/Airports-PHPVMS, how can i turn it on?

And, no problems adding schedules

 

I just got this “problem” at the console (https://prnt.sc/t97jux), “problem” because i don’t use google api

 

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?

No, i didn’t found it

I deleted the airports at the database and i tried adding the airline hub, it says, problem adding airport, (console error: https://prnt.sc/t994q7)

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.

Hi!, i just deleted my DB, and restored the information about the airports and fleet, and now it works fine, thank you very much!!!

 

Kind Regards.

 

Salinas.

On 6/30/2020 at 1:45 PM, ProAvia said:

database -

Can you show me what to do if possible because i am currently having this error 

 

What exact error? 

 

What version of PHP?

What version of MySQL or MariaDB?