Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 9 of 9 total |
Uncaught TypeError in Chrome |
Wed, May 21 2014 12:06 PM | Permanent Link |
Sergei Safar | Hi all,
all my EWB applications when run in Chrome (and just in Chrome) are giving the following error message: Application Error Uncaught TypeError: Object#HTMLObjectElement> has no method 'spta' Line 3 (source code below) This is not a serious problem because I click OK and everything works fine, but my app users always complain. Any hint? Best regards, Sergei Safar <!doctype html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9"> <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <link rel="stylesheet" href="themes/default.css" title="default"> <script src="viewweb.js"></script> </head> <noscript> <div class=script_err><div class=script_err_txt>JavaScript is not enabled in your web browser, and this application requires JavaScript in order to run properly. Please enable JavaScript in your browser and reload this page in order to run the application.</div></div> </noscript> <body spellcheck="false" onload="viewweb_load()" onunload="viewweb_unload()"> </body> </html> |
Wed, May 21 2014 12:15 PM | Permanent Link |
Raul Team Elevate | You'd need to post the viewweb.js file id you'd like somebody to take a
look (or just post url if it's online) - that's the actual EWB application. The html file is just a wrapper/container/loader for the app. Raul On 5/21/2014 12:06 PM, Sergei Safar wrote: > Hi all, > > all my EWB applications when run in Chrome (and just in Chrome) are giving the following error message: > > Application Error > Uncaught TypeError: Object#HTMLObjectElement> has no method 'spta' > Line 3 > > (source code below) > > This is not a serious problem because I click OK and everything works fine, but my app users always complain. > > Any hint? > > Best regards, > Sergei Safar |
Wed, May 21 2014 12:21 PM | Permanent Link |
Matthew Jones | Sergei Safar wrote:
> > Application Error > Uncaught TypeError: Object#HTMLObjectElement> has no method 'spta' > Line 3 This is not normal, so there must be something odd happening. The similar error I've seen have always been references to a pointer that I haven't initialised yet. Your error is odd though, but perhaps my suggestion might trigger a thought. Also, the line 3 is of the .js javascript file, not your html. Turn off compression and try again. In my .js file, the line 3 is a function to return a new instance of something, not fully sure I understand it. And the real solution is of course to run it on Chrome, and use the excellent debugging tools. Open Chrome, press F12, then open the Sources tab (easiest if you undock it). Then click the "pause" icon top right, and you can select to pause on exceptions. Then load the application, and you'll see the stack at the point at which it is failing. (Adjust accordingly if you don't get it first time). You can usually work out what the problem is from the stack. And finally, I have an extension that inserts some javascript into all pages, and that caused a little oopsie with EWB initially. IIRC Tim modified EWB to handle it, but obviously that's not really EWB's fault. -- Matthew Jones |
Thu, May 22 2014 7:59 AM | Permanent Link |
Sergei Safar | Raul,
>>You'd need to post the viewweb.js file id you'd like somebody to take a look (or just post url if it's online... Attached the js file. URL: http://www.shs.eng.br/vnovid/vnovidcli.html Best regards, Sergei Safar Attachments: vnovidcli.js.zip |
Thu, May 22 2014 8:27 AM | Permanent Link |
Matthew Jones | Sergei Safar wrote:
> url: > http://www.shs.eng.br/vnovid/vnovidcli.html I've just opened that in Chrome, and I get no error (though I do get an offer to translate). -- Matthew Jones |
Thu, May 22 2014 8:40 AM | Permanent Link |
Raul Team Elevate | On 5/22/2014 7:59 AM, Sergei Safar wrote:
> Attached the js file. > > URL: > http://www.shs.eng.br/vnovid/vnovidcli.html > > Best regards, > Sergei Safar For what i can try it works fine here with Chrome (34.0.1847.116 m) - i see the login page but then the login fails with invalid password. JS file though loads fine and i can't see any reference to spta there. At what stage do your users get the error ? Since it's not in JS file are you doing anything special after they login - i.e. send back data from your web browser and then process it in the EWB app (are you trying to acess dom elements for example)? Or it could something as simple as a chrome extension causing issues or Chrome not being up to date. Raul |
Thu, May 22 2014 9:06 AM | Permanent Link |
Sergei Safar | Hi Matthew,
>>I've just opened that in Chrome, and I get no error (though I do get an offer to translate). After some testing, I realized that the problem does not occur in all Chrome browsers. Nothing to do with EWB. This is a specific problem involving the pc and the browser installed Best regards, Sergei Safar |
Thu, May 22 2014 1:11 PM | Permanent Link |
Sergei Safar | Raul,
>>- i see the login page but then the login fails with invalid password. password is test >>At what stage do your users get the error ? As soon as I type the URL and press ENTER. >> (are you trying to acess dom elements for example)? No, my EWB code is very traditional, no pointer access, and so on Best regards, Sergei Safar |
Thu, May 22 2014 1:29 PM | Permanent Link |
Raul Team Elevate | On 5/22/2014 1:11 PM, Sergei Safar wrote:
>>> At what stage do your users get the error ? > As soon as I type the URL and press ENTER. > >>> (are you trying to acess dom elements for example)? > No, my EWB code is very traditional, no pointer access, and so on > Works fine here so definitely an issue with the Chrome version or extensions or PC somehow. Raul |
This web page was last updated on Saturday, April 27, 2024 at 08:52 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |