diff --git a/haxelib.json b/haxelib.json index 845415c..b3d8ba8 100644 --- a/haxelib.json +++ b/haxelib.json @@ -8,6 +8,6 @@ "releasenote": "Pre-alpha release", "contributors": ["larsiusprime"], "dependencies": { - "openfl": "" + "openfl": "3.6.1" } } diff --git a/servers/crashdumpbrowser/includes/constants.inc.php b/servers/crashdumpbrowser/includes/constants.inc.php index defb190..23a84e2 100644 --- a/servers/crashdumpbrowser/includes/constants.inc.php +++ b/servers/crashdumpbrowser/includes/constants.inc.php @@ -15,7 +15,7 @@ // Errordump identifiers (corresponding to lines in _error.txt) define("ERROR_EXCEPTION", "error"); -define("ERROR_PROJECTNAME", "game id"); +define("ERROR_PROJECTNAME", "package"); define("ERROR_STACK", "stack"); define("ERROR_TIMESTAMP", "crashed"); define("ERROR_VERSION", "version"); @@ -84,4 +84,4 @@ define("METADATA_DELIMITER", "\r\n"); -?> \ No newline at end of file +?> diff --git a/servers/crashdumpbrowser/includes/db.inc.php b/servers/crashdumpbrowser/includes/db.inc.php index d516b0f..74a5ef4 100644 --- a/servers/crashdumpbrowser/includes/db.inc.php +++ b/servers/crashdumpbrowser/includes/db.inc.php @@ -161,7 +161,7 @@ static function getErrorReports($id, $filters, $order = DB_COL_REPORTID, $orderD $params[] = &$perPage; $params[0] = &$types; if ($stmt = self::$mysqli->prepare($sql)) { - call_user_func_array(array($stmt, "bind_param"), &$params); + call_user_func_array(array($stmt, "bind_param"), $params); return self::query($stmt); } else { throw new Exception(self::$mysqli->error); @@ -341,7 +341,10 @@ static function getReports($filters = array(), $order = "", $orderDir = "ASC", $ $types .= "ii"; $params[0] = &$types; if ($stmt = self::$mysqli->prepare($sql)) { - call_user_func_array(array($stmt, "bind_param"), &$params); + $refs = array(); + foreach($params as $key => $value) + $refs[$key] = &$params[$key]; + call_user_func_array(array($stmt, "bind_param"), $refs); return self::query($stmt); } else { throw new Exception(self::$mysqli->error); @@ -400,4 +403,4 @@ static function checkSetup() { return true; } } -?> \ No newline at end of file +?> diff --git a/servers/crashdumpbrowser/report.php b/servers/crashdumpbrowser/report.php index 9fb4672..dbfaae5 100644 --- a/servers/crashdumpbrowser/report.php +++ b/servers/crashdumpbrowser/report.php @@ -52,7 +52,6 @@ $function = trim(substr($line, 0, $separator - 1)); $file = preg_replace('/.*\\(([^)]*)\\).*/', '\\1', $line); $file = str_replace(" line ", ":", $file); - $readStack = false; continue; } $separator = strpos($line, ":"); @@ -119,4 +118,4 @@ } ?> - \ No newline at end of file +