NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: KraigW on March 23, 2014, 09:15:48 AM

Title: Beginner's question: "Error in site JavaScript"
Post by: KraigW on March 23, 2014, 09:15:48 AM
Using NetTalk 8.01 and C9.0.10376, when compiling/running the example files I consistently have a problem returning from an edit form where it seems like my server app has "forgotten" about the CSS.  I get fairly plain text with a message that says "Error in site JavaScript".  Refreshing the browser window has no effect.  If I close my browser, reopen it and go back to the same page, I get the same display error.  But if I close the server app and restart it, everything is back to normal.

I can even keep the browser open, close the server app / restart it, then refresh the window in the browser and all displays properly again.

Until I visit a form.

This is happening in every demo app as well as the very small programs I have created using different themes.  

What could be causing this?

Update:  I tried Bruce J's suggestion about deleting the GZip files from the Basic Browse and Form scripts folder, but that broke the app.



[attachment deleted by admin]
Title: Re: Beginner's question: "Error in site JavaScript"
Post by: olu on March 23, 2014, 10:00:47 AM
Hi Kraig,
     In my case what i did was uninstall nettalk and then reinstall it. And then it went away, but with nettalk 8 you might want to update your version from 8.01 to 8.02 and see if that solved the problem.
Title: Re: Beginner's question: "Error in site JavaScript"
Post by: tglomb on March 23, 2014, 10:30:31 AM
Hi Kraig,
I had a similar prob.. I changed something in the RED File and then the CopyAll.bat and the GzipAll.bat could not work properly. Make sure that the .bat's getting copied into your project folder and that the web folder is also there.
I hope it helps, Thomas
Title: Re: Beginner's question: "Error in site JavaScript"
Post by: KraigW on March 23, 2014, 10:38:55 AM
Tglomb: Yes, I've found some interesting things NOT to change in the RED file myself.  My favorite was adding an entry for EXP files... after that, added procedures and changes to parameters were not recognized by my programs.  It took WAY too long to figure out what That problem was.  :'(

Olu:  Updating to the current versions of the various Capesoft products seems to have fixed things.

Thanks guys.
Kraig
Title: Re: Beginner's question: "Error in site JavaScript"
Post by: terryd on March 24, 2014, 02:00:07 AM
Have you tried checking the dont check javascript box on the webserver netalk object settings\advanced tab

[attachment deleted by admin]
Title: Re: Beginner's question: "Error in site JavaScript"
Post by: Bruce on March 24, 2014, 05:05:55 AM
this was a bug in 8.01, as pointed out it's gone away if you use the latest build.

cheers
Bruce