Jump to content
×
×
  • Create New...
  • 0

MDT and Callouts not working


SenorCappuccino
 Share

Question

9 answers to this question

Recommended Posts

  • 0
11 minutes ago, BGHDDevelopment said:

Did you add the addon cars to the mdt_vehicles.json? Also check console for errors.

Yup did that. It's working now; however, it is not allowing me to create a new department. "could not create department" an unexpected error has occured.

Link to post
Share on other sites

  • 0
16 minutes ago, BGHDDevelopment said:

Check console for errors

[ FivePD ] An error has occured: Could not perform request: `Create department` by `Chris780`. Message: MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'area' in 'field list'
  at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00096] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00026] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.Driver.GetResult (System.Int32 statementId, System.Int32& affectedRows, System.Int64& insertedId) [0x00000] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00023] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00205] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0030c] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
  at g_2x73x_23lm2䙢䞕㹇㗽��䀪�㯫䊋㗋�䵁䇙⍅︿䡓䧜㚱䆥䬈䚍㳋䲥䏌<.g_2x73x_23lm2㍧㢛㋃㖜﨤㿅䮩㱅㏖蓮�䂏䜝䭕㻶㼣㝴䕂㳦⑃�㬘⤒�䐱㋬䡢 (CitizenFX.Core.Player ⤧, Newtonsoft.Json.Linq.JObject ⤨, CitizenFX.Core.NetworkCallbackDelegate ⤩) [0x00499] in <466461c9b6f64fc882477e2b2a4c8803>:0 
Link to post
Share on other sites

  • 0
11 minutes ago, SenorCappuccino said:

[ FivePD ] An error has occured: Could not perform request: `Create department` by `Chris780`. Message: MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'area' in 'field list'
  at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00096] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00026] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.Driver.GetResult (System.Int32 statementId, System.Int32& affectedRows, System.Int64& insertedId) [0x00000] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00023] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00205] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0030c] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <c17c8d07cfd740ad931906166ef04bff>:0 
  at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
  at g_2x73x_23lm2䙢䞕㹇㗽��䀪�㯫䊋㗋�䵁䇙⍅︿䡓䧜㚱䆥䬈䚍㳋䲥䏌<.g_2x73x_23lm2㍧㢛㋃㖜﨤㿅䮩㱅㏖蓮�䂏䜝䭕㻶㼣㝴䕂㳦⑃�㬘⤒�䐱㋬䡢 (CitizenFX.Core.Player ⤧, Newtonsoft.Json.Linq.JObject ⤨, CitizenFX.Core.NetworkCallbackDelegate ⤩) [0x00499] in <466461c9b6f64fc882477e2b2a4c8803>:0 

Did you import the .sql file?

Link to post
Share on other sites

  • 0
2 minutes ago, BGHDDevelopment said:

Did you import the .sql file?

I did, when I do it though I receive this message in my mysql.

 

Error

SQL query:

 

ALTER TABLE `departments` ADD `area` INT NOT NULL DEFAULT 0 AFTER `hiring`

 

MySQL said: Documentation

#1046 - No database selected
Link to post
Share on other sites

  • 0
7 minutes ago, SenorCappuccino said:

I did, when I do it though I receive this message in my mysql.

 

Error

SQL query:

 


ALTER TABLE `departments` ADD `area` INT NOT NULL DEFAULT 0 AFTER `hiring`

 

MySQL said: Documentation

#1046 - No database selected

Select the database before clicking import

Link to post
Share on other sites

  • 0
8 minutes ago, BGHDDevelopment said:

Select the database before clicking import

Sorry for wasting your time haha. That would be my problem, i never selected the database.

Thanks a bunch for your time.

If you're reading this in the future, when you import the sql file, make sure to select your database prior to clicking import.

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.