Query the the web interface. #304


  • New
  • Defect
Open
Assigned to _ForgeUser7076494
  • _ForgeUser8695371 created this issue May 9, 2012

    What is the problem?
    When a query is run through the web interface it just show a loading/searching bar and does not display any results. In game it is almost instant. The database is hosted on my same host as my server website to which hawkeye is a directory on that, point being that the database and web server are in the same place but different to the game and the game is almost instant.

    What steps will reproduce the problem?
    1. Setup web server and database
    2. Search after data has been confirmed as logged
    3. Result is an endless loading bar.

    What version of HawkEye are you using (shown in console during start-up)?
    1.0.7b

    Show me any console errors and/or your start-up console message for HawkEye
    No errors in console, or web server.

    Show me your config.yml and/or your config.php (REMOVE YOUR PASSWORD)
    mysql:
      hawkeye-table: hawkeye
      port: 3306
      player-table: hawk_players
      username: ozybrumc_admin
      world-table: hawk_worlds
      hostname: ozybrum.com
      max-connections: 10
      password: ''
      database: ozybrumc_mc_hawkeye

    "dbHost"  => "localhost",
    "dbDbase" => "ozybrumc_mc_hawkeye",
    "dbUser"  => "ozybrumc_admin",
    "dbPass"  => "",
    "dbTable" => "hawkeye",
    "dbPlayerTable" => "hawk_players",
    "dbWorldTable" => "hawk_worlds",

    Have you checked the FAQ page?
    Yes

    Note:
    Not a gripe mate, excellent plugin, just thought I'd ask in case there was an easy solution or if not alert you to a bug.
    thanks
    ozybrum

  • _ForgeUser8695371 added the tags New Defect May 9, 2012
  • _ForgeUser8695371 edited description May 9, 2012
  • _ForgeUser8009864 posted a comment May 19, 2012

    Don't know if this helps u - but it helped me:

    Open interface.php, go to line 141, change it to:

    if(isset($item[0]) && isset($item[1])) $itemhash[intval($item[0])] = $item[1];


    Edited Jun 24, 2012
  • _ForgeUser7442652 posted a comment Jun 4, 2012

    @minesphere: Go

    Thank you sir, this was just what I needed!

  • _ForgeUser4773815 posted a comment Jun 6, 2012

    @minesphere: Go

    thanks had the same problem and this fixed it as well lol


To post a comment, please login or register a new account.