PDA

View Full Version : page analyzer error



ttbgwt
21 Sep 2012, 6:09 AM
When I try to run my app in page-analyzer and click Load, my app starts to initialize within the page under test tab, but then I get this firebug error:

SyntaxError: syntax error in hooks.js line 1 and when I click the link in firebug this is what shows up:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<title>ExtJS Page Analyzer</title>


<!-- Ext -->
<link rel="stylesheet" type="text/css" href="../ext-4.1.1/resources/css/ext-all-gray.css" />
<link rel="stylesheet" type="text/css" href="resources/page-analyzer.css" />


<script type="text/javascript" src="../ext-4.1.1/ext-all.js"></script>


<!-- GC -->


<!-- example code -->
<script type="text/javascript" src="PageAnalyzer.js"></script>


</head>
<body></body>
</html>

scottmartin
22 Sep 2012, 2:39 PM
Is it just your app that you have problems with? Can you run any of our examples?

Scott.

Daniil
17 Jul 2013, 10:24 PM
Hi Scott,

Seems we are having the same (or, at least, similar) issue. It happens with the Home page only (which is in the site root). It is not loaded in the Page Analyzer. Chrome console shows this error:
Uncaught SyntaxError: Unexpected token <
page-analyzer.html:1

Do you have any thoughts/guesses why it happens?