MySQL Error

Please report Bugs and Problems here
Post Reply
alasizon
FSAirlines DB and Wiki Admin
Posts: 865
Joined: Tue Apr 08, 2008 2:08 am
Location: PHX

MySQL Error

Post by alasizon » Sat Sep 13, 2008 9:07 pm

In attempting to buy an aircraft, I got this:

MySQL errno 1054
MySQL error Unknown column 'Value_AC' in 'field list'
MySQL query INSERT INTO FlyNET_Accounts_VA (VA_ID, Value, Reason, TS, Object, Object_ID, Partner, Value_AC) VALUES ('1632', '-36000', 'Aircraft purchase', '1221336270', 'Nicollier Menestrel II', '15553', 'FlyNET System', '-36000')
Function Called from At line
0 stackTrace() /home/fsa_ftp/public_html/global_functions.php5 486
1 db_query() /home/fsa_ftp/public_html/aircraft_buy_n.php5 94
2 include() /home/fsa_ftp/public_html/index.php5 329
Matt-FSAirlines DB Admin
Image

alasizon
FSAirlines DB and Wiki Admin
Posts: 865
Joined: Tue Apr 08, 2008 2:08 am
Location: PHX

Re: MySQL Error

Post by alasizon » Sun Sep 14, 2008 9:32 pm

Got another one today while attempting to purchase an A320.

MySQL errno 1054
MySQL error Unknown column 'Value_AC' in 'field list'
MySQL query INSERT INTO FlyNET_Accounts_VA (VA_ID, Value, Reason, TS, Object, Object_ID, Partner, Value_AC) VALUES ('1632', '-61000000', 'Aircraft purchase', '1221336270', 'Airbus A320', '15553', 'FlyNET System', '-61000000')
Function Called from At line
0 stackTrace() /home/fsa_ftp/public_html/global_functions.php5 486
1 db_query() /home/fsa_ftp/public_html/aircraft_buy_n.php5 94
2 include() /home/fsa_ftp/public_html/index.php5 329
Matt-FSAirlines DB Admin
Image

User avatar
DaKurt
FSAirlines Developer
Posts: 452
Joined: Tue Nov 15, 2005 3:49 pm
Location: Munich

Re: MySQL Error

Post by DaKurt » Mon Sep 15, 2008 5:30 am

Ok, lately we added some columns to the DB and it looks like that they have never been added to the fsairlines.net test-database. That might explain some other bugs (errors when uploading reports)

Joe is going to check that tonight and hopefully fix it :)
Claudio - FSAirlines Programming

User avatar
Quantum
FSAirlines DB Admin
Posts: 1439
Joined: Sat Apr 29, 2006 8:23 pm
Location: UK

Re: MySQL Error

Post by Quantum » Mon Sep 15, 2008 5:14 pm

Hi,

Looks like Joe has fixed this? Yesterday I was also getting mysql errors although the aircraft were placed on fleet at no charge. Scrapping them deleted them from fleet but no payment rcvd from scrap.
Did three trial purchases/scrapping today and all works perfectly.

Regards

John
CEO - Classic British Flight Services
Classic aircraft on Classic routes
ImageImage

User avatar
DaKurt
FSAirlines Developer
Posts: 452
Joined: Tue Nov 15, 2005 3:49 pm
Location: Munich

Re: MySQL Error

Post by DaKurt » Mon Sep 15, 2008 6:06 pm

yes Joe just fixed it :)
Claudio - FSAirlines Programming

Post Reply