Cannot Edit Aircraft [SOLVED]
Just wanted to let you know that I fixed this error by exporting the aircraft sql to my pc and edited with notepad++. The error message was Error: (1054) - Unknown column ‘airline’ in ‘field list’ so I just added ‘airline’ in the sql.
I went back into phpvms admin and added a Citation X and everything went flawlessly.
The steps I took to fix the issue:
The Error: Backtrace: DB::write_debug > DB::query > OperationsData::addAircraft > Operations->add_aircraft_post > Operations->aircraft > MainController::RunAllActions
Query: INSERT INTO phpvms_aircraft (icao, name, fullname, registration, downloadlink, imagelink, range, weight, cruise, maxpax, maxcargo, airline, minrank, enabled, ranklevel) VALUES (‘B737’, ‘737-700’, ‘boeing 737-700’, ‘N131MC’, ‘’, ‘’, ‘3060’, ‘154500’, ‘41000’, ‘140’, ‘30000’, ‘’, ‘2’, ‘1’, ‘1’)
Error: (1054) - Unknown column ‘airline’ in ‘field list’
1.) exported the aircraft sql to my pc
2.) added airline between max cargo and minrank using notepad++
3.) Deleted aircraft sql from server.
4.) Imported edited copy of airport sql to server
5.) Went into phpvms admin and added Citation X to see if the edited sql fixed my issue. Added plane without problems.
6.) Issue resolved
Hope this helps others who may have this issue in the future.