NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on July 29, 2015, 05:25:02 AM

Title: 8.57 compilation error
Post by: walter.dasilva on July 29, 2015, 05:25:02 AM
Hi Bruce,

i´m getting this error after upgrade to 8.57

Unknown identifier: WIDTH - F:\SVSIS\AppComercio\svAPPComercio\svAPPComercio059.clw:878,161

packet.append('"table":{{ "class":"'&p_web.Combine(p_web.site.style.BrowseTable,'')&'","id":"'&clip(loc:divname) & '_tbl",' & p_web.HtmlToJsonAttributes( width="' & clip(600) & '"))


Att,
Title: Re: 8.57 compilation error
Post by: peterH on July 29, 2015, 06:53:44 AM
Hi Walter,

There's an error in the template. You can fix it yourself until there's an official version ready.

Open the NetWebBrowse template (netweb.tpw) and locate line 13817.
At the very end of the line you'll see this:  p_web.HtmlToJsonAttributes(%vx))
Change this to:  p_web.HtmlToJsonAttributes('%vx')) (add the quotes) and you're good to go.

Peter
Title: Re: 8.57 compilation error
Post by: Bruce on July 29, 2015, 07:03:33 AM
Peter is right.
Should be an update out soon.
Title: Re: 8.57 compilation error
Post by: walter.dasilva on July 29, 2015, 09:44:07 AM
Hi Peter,

Thank you,
Title: Re: 8.57 compilation error
Post by: trent on July 29, 2015, 02:51:24 PM
Hi Bruce,

With 8.57 I'm getting 434 errors when compiling that didn't happen in 8.56:

Unknown procedure label: packet.JsonEncode(st:xml)

Regards,
Trent
Title: Re: 8.57 compilation error
Post by: peterH on July 29, 2015, 11:13:12 PM
Trent,

I think you need the latest StringTheory. That function was added in 2.33

Peter
Title: Re: 8.57 compilation error
Post by: trent on July 30, 2015, 01:31:09 AM
ffs... thanks Peter.