Hi guys, I was trying to add Fltbook V2 to my Phpvms 5.5.2.72 and import fltbook.sql file to database. However, I realized that after I install it, I cannot add aircraft via admin panel anymore.
To be more specific, it is caused by /core/comman/PIREPData.class.php. Looks like this mod changed this file and add one line:
Go to phpvms_aircraft table -> Structure -> Select these two columns : ‘airline’ and ‘location’ -> CLick on change at the bottom -> Set Default for both as NULL in the dropdown.
Go to phpvms_aircraft table -> Structure -> Select these two columns : ‘airline’ and ‘location’ -> CLick on change at the bottom -> Set Default for both as NULL in the dropdown.
That should solve the issue.
Uh thank you so much! You saved my life, or at least, half… I am still having problem with adding route. Kept getting error like:
There was an error adding the schedule, already exists DB error: Data truncated for column 'price' at row 1
Go to phpvms_aircraft table -> Structure -> Select these two columns : ‘airline’ and ‘location’ -> CLick on change at the bottom -> Set Default for both as NULL in the dropdown.
This is fine for the location column, but the airline column should not be NULL at any point. If it is, then you need to re-install the module correctly as you may be missing some admin files otherwise it will not work as expected.