Web Interface Does not show results! #85


  • Defect
  • Replied
Open
Assigned to _ForgeUser7076494
  • _ForgeUser7282104 created this issue Oct 12, 2011

    What is the problem?

    The web interface just displays the loading bar and does not show results

    What steps will reproduce the problem?
    1.?
    2.?
    3.?

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

    1.0.5

    Show me any console errors and/or your start-up console message for HawkEye

    Not a server error

    Show me your config.yml and/or your config.php (REMOVE YOUR PASSWORD)

    <?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.          //
    	///////////////////////////////////////////////////
    	$hawkConfig = array(
    					//Enter your MySQL database information
    					//Do not change 'dbTable'
    					"dbHost"  => "127.0.0.1:3306",
    					"dbDbase" => "logging",
    					"dbUser"  => "bacon",
    					"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" => "",
    					
    					//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,
    					
    					//Use forum for authentication?
    					//Default is false
    					"forumAuth" => false,
    
    					//The relative location for the forum to this file.
    					//Default is "../forum/"
    					"forumDir" => "../forum/",
    
    					//The type of forum that will be used.
    					//Default is phpbb3
    					//Available types are: phpbb3 and smf
    					"forumType" => "phpbb3"
    					
    					);
    					
    	//The user wants to use forumAuth
    	if ($hawkConfig["forumAuth"])
    	{
    		//We need to require the specified forumType.  Hopefully we support it (Or the user is using their own file)
    		require('./forumAuth/'.$hawkConfig['forumType'].'.php');
    	}
    	
    	$con = mysql_connect($hawkConfig["dbHost"], $hawkConfig["dbUser"], $hawkConfig["dbPass"]);
    	if (!$con)
    		return error("Could not connect to MySQL Database!");
    	if (!mysql_select_db($hawkConfig["dbDbase"], $con))
    		return error(mysql_error());
    		
    	mysql_query("SET NAMES UTF8");
    	
    	function handleError($errno, $errstr, $errfile, $errline, array $errcontext) {
        	// error was suppressed with the @-operator
        	if (0 === error_reporting()) return false;
        	throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
    	}
    		
    ?>
    

    Have you checked the FAQ page?

  • _ForgeUser7282104 added the tags New Defect Oct 12, 2011
  • _ForgeUser7282104 added an attachment Untitled.png Oct 12, 2011

    Untitled.png

    <p>Basically it never changes from that.</p>

  • _ForgeUser7345964 posted a comment Oct 12, 2011

    simular issue but it keeps saying that Error! You must select at least 1 action to search by instead when i did select a action checked db and its saving commands work just that one issue running CB 1240 and latest verson of Hawkeye

  • _ForgeUser7246791 posted a comment Oct 13, 2011

    im getting this too!

  • _ForgeUser7282104 posted a comment Oct 13, 2011

    @dmitchell_94: Go

    I'm starting to think this is a problem with using localhost, mainly because when I used an off-site database, everything seemed to run smoother.


    Edited Oct 13, 2011
  • _ForgeUser7076494 posted a comment Oct 14, 2011

    What version of PHP are you running.

  • _ForgeUser7593859 posted a comment Dec 2, 2011

    I'm having this problem, PHP version 5.2.17 Hawk works perfectly fine in game, no conflicts nothing. The two sets of information in both config files matches fine, only thing I changed was to make it use english.txt instead of the variable as that was causing PHP errors.

  • _ForgeUser6822181 posted a comment Mar 10, 2012

    Same issue, most recent version. Running MySQL client version: 5.0.77

  • _ForgeUser7032373 posted a comment Mar 23, 2012

    yeah, even version Web Interface v1.0.7c

    The other previous version didn't work at all for me.

  • _ForgeUser7501189 posted a comment Mar 23, 2012

    @selfservice0: Go

    same version and problem here.

  • GoalieGuy6 posted a comment Mar 23, 2012

    What PHP version are you running? A link to your interface would also be helpful.


    Edited Mar 23, 2012
  • GoalieGuy6 removed a tag New Mar 23, 2012
  • GoalieGuy6 added a tag Waiting Mar 23, 2012
  • _ForgeUser7956475 posted a comment Mar 24, 2012

    I get the same problem with 1.07 a/b/c. It works fine with 1.06 a/b.

  • _ForgeUser7956475 removed a tag Waiting Mar 24, 2012
  • _ForgeUser7956475 added a tag Replied Mar 24, 2012
  • GoalieGuy6 posted a comment Mar 26, 2012

    1.0.7d should fix all the issues the interface has been having, try downloading when it is approved.

  • _ForgeUser7956475 posted a comment Mar 27, 2012

    I still have the same problem with 1.07d. I've tried upgrade, fresh install, tried using the webgui from localhost, internal machines, external machines, Google Chrome, IE9... but nothing makes a difference.

  • _ForgeUser7395493 posted a comment Mar 27, 2012

    Same issue using version 1.07d. Never used HawkEye before so I don't know if I set up correctly. I restricted access to mydomain/hawkeye in .htaccess if it can affect something.

  • _ForgeUser6835820 posted a comment Mar 30, 2012

    Same issue here since the updates, and the previous version worked fine for months, now there's just no search results, ever. Even cleared the data tables, same issue, constant loading bar, please fix :(

  • _ForgeUser7676867 posted a comment Jul 3, 2012

    HawkEye v1.0.5b . This web interface with the last version of Hawkeye plugin it is working for me . http://dev.bukkit.org/server-mods/hawkeye/files/9-hawk-eye-v1-0-5b/ .Try it.


    Edited Jul 3, 2012

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