This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What is the problem?when somebody does some thing that hawkeye logs, i get this error:07:25:47 [SEVERE] [HawkEye] SQL Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1216594' for key 'PRIMARY'
What steps will reproduce the problem?1.block place2.block break3.any other things hawkeye logs
What version of HawkEye are you using (shown in console during start-up)?1.0.4b
Show me any console errors and/or your start-up console message for HawkEye07:25:47 [SEVERE] [HawkEye] SQL Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1216594' for key 'PRIMARY'
Show me your config.yml and/or your config.php (REMOVE YOUR PASSWORD)Config.yml:block-filter:- 97- 98log: lava-bucket: true painting-place: true other: true pvp-death: true block-fade: true chat: true quit: true sign-place: true painting-break: true lava-flow: true flint-steel: true button: true command: true block-form: true teleport: true lever: true item-drop: true water-bucket: true block-burn: true sign-break: true block-break: true leaf-decay: true water-flow: true join: true door-interact: true block-place: true open-container: true item-pickup: true explosion: true container-transaction: true mob-death: true other-death: truegeneral: max-lines: 0 tool-block: '17' log-item-drops-on-death: false cleanse-age: '0' delete-data-on-rollback: false log-ip-addresses: true debug: false max-radius: 0 default-here-radius: 5mysql: hawkeye-table: hawkeye port: 3306 player-table: hawk_players username: minecraft world-table: hawk_worlds hostname: localhost max-connections: 10 password: ********* database: minecraftversion: 1.0.4bcommand-filter:- /login- /restartsrv- /register
config.php:<?php /////////////////////////////////////////////////// // HawkEye Interface Config File // // by oliverw92 // /////////////////////////////////////////////////// // Edit the config array below with your // // details. Make sure all strings are // // escaped. If you can't work this out, // // ask in the thread on bukkit.org. // /////////////////////////////////////////////////// $config = array( //Enter your MySQL database information //Do not change 'dbTable' "dbHost" => "localhost", "dbDbase" => "minecraft", "dbUser" => "minecraft", "dbPass" => "*********", "dbTable" => "hawkeye", "dbPlayerTable" => "hawk_players", "dbWorldTable" => "hawk_worlds", //Set this to the password you want people to have to use to access the interface //Leave blank for no password "password" => "CastletownCity", //Default radius to search for if user supplies a location "radius" => 30, //Limit the maximum number of results that can be returned. Do not use quotes //Set to 0 for no limit "maxResults" => 0, //Language pack - default is english.php //You can create your own based off the english.php file, //then change the name below to your language file name "langFile" => "english.php", //Log queries to log.txt //Useful to keep track of who is querying what "logQueries" => true, ); $con = mysql_connect($config["dbHost"], $config["dbUser"], $config["dbPass"]); if (!$con) return error("Could not connect to MySQL Database!"); if (!mysql_select_db($config["dbDbase"], $con)) return error(mysql_error()); mysql_query("SET NAMES UTF8");?>
Have you checked the FAQ page?no, but i don't thik it stands something about this there
To post a comment, please login or register a new account.