Salinas Posted June 27, 2020 Report Share Posted June 27, 2020 (edited) 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 June 27, 2020 by Salinas Quote Link to comment Share on other sites More sharing options...
Strider Posted June 27, 2020 Report Share Posted June 27, 2020 What php version are you using? 1 Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 28, 2020 Author Report Share Posted June 28, 2020 PHP 7.2 Quote Link to comment Share on other sites More sharing options...
Strider Posted June 28, 2020 Report Share Posted June 28, 2020 Try putting Airbus A320-200 in the section for full name, as it might have a problem with that. Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 28, 2020 Author Report Share Posted June 28, 2020 Same error 😕 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted June 28, 2020 Administrators Report Share Posted June 28, 2020 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? Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 29, 2020 Author Report Share Posted June 29, 2020 I don't get any error at the error_log, and on my console doesn't appears anything, Hostinger Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted June 29, 2020 Administrators Report Share Posted June 29, 2020 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? Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 30, 2020 Author Report Share Posted June 30, 2020 I added the airports with https://github.com/eliezerazevedo/Airports-PHPVMS, how can i turn it on? Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 30, 2020 Author Report Share Posted June 30, 2020 And, no problems adding schedules Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 30, 2020 Author Report Share Posted June 30, 2020 I just got this "problem" at the console (https://prnt.sc/t97jux), "problem" because i don't use google api Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted June 30, 2020 Administrators Report Share Posted June 30, 2020 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? Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 30, 2020 Author Report Share Posted June 30, 2020 No, i didn't found it Quote Link to comment Share on other sites More sharing options...
Salinas Posted June 30, 2020 Author Report Share Posted June 30, 2020 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) Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted June 30, 2020 Administrators Report Share Posted June 30, 2020 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. Quote Link to comment Share on other sites More sharing options...
Salinas Posted July 3, 2020 Author Report Share Posted July 3, 2020 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. Quote Link to comment Share on other sites More sharing options...
DDm Posted November 12, 2021 Report Share Posted November 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted November 13, 2021 Administrators Report Share Posted November 13, 2021 What exact error? What version of PHP? What version of MySQL or MariaDB? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.