lightphoenix2 / LPX

LPX for Rocket
5 stars 8 forks source link

new error with cars #6

Closed odyss3y closed 8 years ago

odyss3y commented 8 years ago

guessing my config didnt get updated right? i dont see a new table name to populate.

[2/18/2016 9:46:12 PM] [Exception] LPX >> Exception in CheckCarExistInDB: MySql.Data.MySqlClient.MySqlException: Incorrect table name ''
  at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
  at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
[2/18/2016 9:46:12 PM] [Exception] LPX >> Exception in AddCar: MySql.Data.MySqlClient.MySqlException: Incorrect table name ''
  at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00000] in <filename unknown>:0
  at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00000] in <filename unknown>:0
odyss3y commented 8 years ago

yep, my config wasnt updated: was missing <DatabaseCarOwners>Car</DatabaseCarOwners>

lightphoenix2 commented 8 years ago

Yeah, when there is new configuration. You must save a copy of your old configuration and delete the configuration. Then run server once to generate the configuration. Stop your server and edit back your configuration.