Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[ERROR] BCStorm
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Forget" data-source="post: 197671" data-attributes="member: 14824"><p>Hello DevBest, </p><p>This is just a simple bug and it's to do with MySQL however I can't find what it is, So I have gave you people on DevBest the challenge. It is something to do with my table structure that I am using for the pets table in the database. The error shown below is the error which can by found in my MySQL Error file on the emulator. On the console the error that was wrote was "Error caught in query". The error that I have is the parameter "@name" is null and it contains no name, when the pet it'self have the name "Test4" this name contains no invalid characters so that should not be the issue.</p><p> </p><p>Error (MySQL Error File)</p><p>[CODE]</p><p>Error in query:</p><p>UPDATE user_pets SET room_id = 0, name = [URL='http://devbest.com/members/name.7391/']name[/URL], race = @race, color = @color, type = 15, expirience = 0, energy = 100, nutrition = 100, respect = 0, createstamp = '1365903481', x = 0, Y = 0, Z = 0 WHERE id = 4</p><p>MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Parameter '@name' must be defined.</p><p> at MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName)</p><p> at MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet)</p><p> at MySql.Data.MySqlClient.Statement.BindParameters()</p><p> at MySql.Data.MySqlClient.PreparableStatement.Execute()</p><p> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)</p><p> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)</p><p> at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()</p><p> at Database_Manager.Database.Session_Details.QueryAdapter.runQuery()</p><p>[/CODE]</p><p> </p><p>Many thanks,</p><p>Kieran.</p></blockquote><p></p>
[QUOTE="Forget, post: 197671, member: 14824"] Hello DevBest, This is just a simple bug and it's to do with MySQL however I can't find what it is, So I have gave you people on DevBest the challenge. It is something to do with my table structure that I am using for the pets table in the database. The error shown below is the error which can by found in my MySQL Error file on the emulator. On the console the error that was wrote was "Error caught in query". The error that I have is the parameter "@name" is null and it contains no name, when the pet it'self have the name "Test4" this name contains no invalid characters so that should not be the issue. Error (MySQL Error File) [CODE] Error in query: UPDATE user_pets SET room_id = 0, name = [URL='http://devbest.com/members/name.7391/']name[/URL], race = @race, color = @color, type = 15, expirience = 0, energy = 100, nutrition = 100, respect = 0, createstamp = '1365903481', x = 0, Y = 0, Z = 0 WHERE id = 4 MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Parameter '@name' must be defined. at MySql.Data.MySqlClient.Statement.SerializeParameter(MySqlParameterCollection parameters, MySqlPacket packet, String parmName) at MySql.Data.MySqlClient.Statement.InternalBindParameters(String sql, MySqlParameterCollection parameters, MySqlPacket packet) at MySql.Data.MySqlClient.Statement.BindParameters() at MySql.Data.MySqlClient.PreparableStatement.Execute() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at Database_Manager.Database.Session_Details.QueryAdapter.runQuery() [/CODE] Many thanks, Kieran. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[ERROR] BCStorm
Top