NetTalk Central

Author Topic: 8.57 compilation error  (Read 3120 times)

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
8.57 compilation error
« 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,
Walter - SOFTVALE

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: 8.57 compilation error
« Reply #1 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: 8.57 compilation error
« Reply #2 on: July 29, 2015, 07:03:33 AM »
Peter is right.
Should be an update out soon.

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: 8.57 compilation error
« Reply #3 on: July 29, 2015, 09:44:07 AM »
Hi Peter,

Thank you,
« Last Edit: July 29, 2015, 09:58:20 AM by walter.dasilva »
Walter - SOFTVALE

trent

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: 8.57 compilation error
« Reply #4 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

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: 8.57 compilation error
« Reply #5 on: July 29, 2015, 11:13:12 PM »
Trent,

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

Peter

trent

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: 8.57 compilation error
« Reply #6 on: July 30, 2015, 01:31:09 AM »
ffs... thanks Peter.