Re: FarCry 7 bugs

Jeff Coughlin <[email protected]> Sat, 5 Apr 2014 01:13:17 -0400
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
--Apple-Mail=_7C9BD1DB-4C29-4829-90B4-0F62B5D5736F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

Every now and then when I edit the TinyMCE config I get the following error=
:
WDDX packet parse error at line 1, column 1.

The problem is that once that error appears, the entire website crashes wit=
h that error (no website, no webtop).  UpdateApp doesn't help either.  The =
only solution so far that seems to resolve the problem is a CF restart (so =
something is cached that updateapp isn't catching... not sure what though).

Thoughts?

Jeff      =20


On Apr 2, 2014, at 3:43 PM, Justin Carter <[email protected]> wrote=
:

> There may have been a check for isJSON which failed and so it assumed the=
 value was WDDX, but yours may have actually been corrupted JSON. I can add=
 better error handling for this so that it doesn't crash even if both were =
"invalid". Hopefully on a clean upgrade (since yesterday's fix) it would ha=
ppen though.
>=20
> Cheers,
> Justin
>=20
> On 03/04/2014 12:54 AM, "Jeff Coughlin" <[email protected]> wrote:
> It looks like that fixed it.  Wow, that sucks to have to jump through tho=
se hoops (yay cf10).  I noticed the code only looks at cf10 specifically th=
ough.  Just out of curiosity, do you know if it is not an issue in cf11 bet=
a?
>=20
> FYI: The fix worked, but only after restarting CF10.  updateapp and updat=
eall just caused the entire site to crash with the following error: WDDX pa=
cket parse error at line 1, column 1. Content is not allowed in prolog.., b=
ut a cf restart fixed it, so something else must have been cached that upda=
teapp wouldn't correct.  Hopefully no one is patching that on a shared host=
 running cf10.=20
>=20
> Thanks for the fix.
>=20
> Jeff
>=20
> On Apr 2, 2014, at 1:41 AM, Justin Carter <[email protected]> wro=
te:
>=20
>> I think your issues with saving the TinyMCE config on CF10 should be res=
olved, I just posted a follow up in this thread:
>> https://groups.google.com/forum/#!category-topic/farcry-dev/nN479viFCXI
>>=20
>> Let me know how you go.
>>=20
>> cheers,
>> Justin
>>=20
>>=20
>> On Tuesday, April 1, 2014 3:25:53 PM UTC+11, Mark Picker wrote:
>> Up until just now I was running the standard config from core. However I=
'm now testing the below as it seems to be a good compromise (and it also w=
on't save if I try to edit it a second time in the webtop).
>>=20
>> =20
>> Two differences from standard are:
>>=20
>> =20
>> forced_root_block : false <----- was 'p'
>>=20
>> force_p_newlines : true               <----- New entry
>>=20
>> =20
>> Full config:
>>=20
>> =20
>> plugins : "farcrycontenttemplates,layer,table,hr,image_farcry,link_farcr=
y,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fulls=
creen,noneditable,visualchars,nonbreaking,anchor,charmap,code,textcolor",
>>=20
>> extended_valid_elements: "code,colgroup,col,thead,tfoot,tbody,abbr,block=
quote,cite,button,textarea[name|class|cols|rows],script[type],img[style|cla=
ss|src|border=3D0|alt|title|hspace|vspace|width|height|align|onmouseover|on=
mouseout|name]",
>>=20
>> menubar : false,
>>=20
>> toolbar : "undo redo | cut copy paste pastetext | styleselect | bold ita=
lic underline | bullist numlist link image table farcryuploadcontent farcry=
contenttemplates | code | fullscreen",
>>=20
>> remove_linebreaks : false,
>>=20
>> forced_root_block : false,
>>=20
>> force_p_newlines : true,
>>=20
>> relative_urls : false,
>>=20
>> entity_encoding : 'raw'
>>=20
>> =20
>> Cheers
>>=20
>> Mark
>>=20
>> =20
>> From: farcr...-/[email protected] [mailto:farcr...-/[email protected]] On Be=
half Of Justin Carter
>> Sent: Tuesday, 1 April 2014 3:21 PM
>> To: farcr...-/[email protected]
>> Subject: Re: [farcry-dev] Re: FarCry 7 bugs
>>=20
>> =20
>> Ok cool, I'll just make sure mine is running the same patch level locall=
y...
>>=20
>> =20
>> Can you paste the config that you are using so that I can test the exact=
 same thing?
>>=20
>>=20
>> cheers,
>> Justin
>>=20
>>=20
>> **********************************************************************
>> This message is intended for the addressee named and may contain=20
>> privileged information or confidential information or both. If you=20
>> are not the intended recipient please delete it and notify the sender.
>> **********************************************************************
>>=20
>>=20
>> --=20
>> You received this message cos you are subscribed to "farcry-dev" Google =
group.
>> To post, email: farcry-dev-/[email protected]
>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>> ---=20
>> You received this message because you are subscribed to the Google Group=
s "farcry-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>> For more options, visit https://groups.google.com/d/optout.
>=20
>=20
> --=20
> You received this message cos you are subscribed to "farcry-dev" Google g=
roup.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---=20
> You received this message because you are subscribed to the Google Groups=
 "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an=
 email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/d/optout.
>=20
> --=20
> You received this message cos you are subscribed to "farcry-dev" Google g=
roup.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---=20
> You received this message because you are subscribed to the Google Groups=
 "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an=
 email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/d/optout.

--=20
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
---=20
You received this message because you are subscribed to the Google Groups "=
farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.

--Apple-Mail=_7C9BD1DB-4C29-4829-90B4-0F62B5D5736F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;"><div>Every now and the=
n when I edit the TinyMCE config I get the following error:</div><div>WDDX =
packet parse error at line 1, column 1.</div><div><br></div><div>The proble=
m is that once that error appears, the entire website crashes with that err=
or (no website, no webtop). &nbsp;UpdateApp doesn't help either. &nbsp;The =
only solution so far that seems to resolve the problem is a CF restart (so =
something is cached that updateapp isn't catching... not sure what though).=
</div><div><br></div><div>Thoughts?</div><div><br></div><div>Jeff &nbsp; &n=
bsp; &nbsp;&nbsp;</div><div><br></div><br><div><div>On Apr 2, 2014, at 3:43=
 PM, Justin Carter &lt;<a href=3D"mailto:[email protected]">justin.=
[email protected]</a>&gt; wrote:</div><br class=3D"Apple-interchange-newli=
ne"><blockquote type=3D"cite"><p dir=3D"ltr">There may have been a check fo=
r isJSON which failed and so it assumed the value was WDDX, but yours may h=
ave actually been corrupted JSON. I can add better error handling for this =
so that it doesn't crash even if both were "invalid". Hopefully on a clean =
upgrade (since yesterday's fix) it would happen though.</p><p dir=3D"ltr">C=
heers,<br>
Justin</p>
<div class=3D"gmail_quote">On 03/04/2014 12:54 AM, "Jeff Coughlin" &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<b=
r type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style=3D"word-wrap:break-word"><div>It looks like that fixed it. &nbsp=
;Wow, that sucks to have to jump through those hoops (yay cf10). &nbsp;I no=
ticed the code only looks at cf10 specifically though. &nbsp;Just out of cu=
riosity, do you know if it is not an issue in cf11 beta?</div>
<div><br></div><div>FYI: The fix worked, but only after restarting CF10. &n=
bsp;updateapp and updateall just caused the entire site to crash with the f=
ollowing error: WDDX packet parse error at line 1, column 1. Content is not=
 allowed in prolog.., but a cf restart fixed it, so something else must hav=
e been cached that updateapp wouldn't correct. &nbsp;Hopefully no one is pa=
tching that on a shared host running cf10.&nbsp;</div>
<div><br></div><div>Thanks for the fix.</div><div><br></div><div>Jeff</div>=
<br><div><div>On Apr 2, 2014, at 1:41 AM, Justin Carter &lt;<a href=3D"mail=
to:[email protected]" target=3D"_blank">[email protected]</=
a>&gt; wrote:</div>
<br><blockquote type=3D"cite"><div dir=3D"ltr">I think your issues with sav=
ing the TinyMCE config on CF10 should be resolved, I just posted a follow u=
p in this thread:<div><a href=3D"https://groups.google.com/forum/#!category=
-topic/farcry-dev/nN479viFCXI" target=3D"_blank">https://groups.google.com/=
forum/#!category-topic/farcry-dev/nN479viFCXI</a></div>
<div><br></div><div>Let me know how you go.</div><div><br>cheers,</div><div=
>Justin</div><div><br></div><div><br>On Tuesday, April 1, 2014 3:25:53 PM U=
TC+11, Mark Picker wrote:<blockquote class=3D"gmail_quote" style=3D"margin:=
0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang=3D"EN-AU" link=3D"blue" vlink=3D"purple">
<div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Up until just now I =
was running the standard config from core. However I&rsquo;m now testing th=
e below as it seems to be a good compromise (and it also won&rsquo;t save
 if I try to edit it a second time in the webtop).</span></p><div><span sty=
le=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quo=
t;;color:#1f497d">&nbsp;</span><br></div><p class=3D"MsoNormal"><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1f497d">Two differences from standard are:</span></p>
<div><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">&nbsp;</span><br></div><p class=3D"MsoNorma=
l" style=3D"margin-left:36.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">forced_root_bloc=
k : false &lt;----- was &lsquo;p&rsquo;</span></p><p class=3D"MsoNormal" st=
yle=3D"margin-left:36.0pt"><span style=3D"font-size:11.0pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">force_p_newlines : tr=
ue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; &lt;----- New entry</span></p><div>
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1f497d">&nbsp;</span><br></div><p class=3D"MsoNormal"><s=
pan style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-se=
rif&quot;;color:#1f497d">Full config:</span></p>
<div><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">&nbsp;</span><br></div><p class=3D"MsoNorma=
l"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1f497d">plugins : "farcrycontenttemplates,layer,<u></=
u>table,hr,image_farcry,link_<u></u>farcry,insertdatetime,media,<u></u>sear=
chreplace,contextmenu,<u></u>paste,directionality,<u></u>fullscreen,nonedit=
able,<u></u>visualchars,nonbreaking,<u></u>anchor,charmap,code,textcolor"<u=
></u>,</span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">extended=
_valid_elements: "code,colgroup,col,thead,<u></u>tfoot,tbody,abbr,blockquot=
e,<u></u>cite,button,textarea[name|<u></u>class|cols|rows],script[type],<u>=
</u>img[style|class|src|border=3D0|<u></u>alt|title|hspace|vspace|width|<u>=
</u>height|align|onmouseover|<u></u>onmouseout|name]",</span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1f497d">menubar : false,</span></p><p cla=
ss=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&=
quot;,&quot;sans-serif&quot;;color:#1f497d">toolbar : "undo redo | cut copy=
 paste pastetext | styleselect | bold italic underline | bullist numlist li=
nk image table farcryuploadcontent farcrycontenttemplates
 | code | fullscreen",</span></p><p class=3D"MsoNormal"><span style=3D"font=
-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#=
1f497d">remove_linebreaks : false,</span></p><p class=3D"MsoNormal"><span s=
tyle=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&q=
uot;;color:#1f497d">forced_root_block : false,</span></p><p class=3D"MsoNor=
mal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">force_p_newlines : true,</span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1f497d">relative_urls : false,</span></p>=
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">entity_encoding : 'raw'</=
span></p><div><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quo=
t;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span><br>
</div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Cheers</span></p><p=
 class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mark</span></p>
<div><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">&nbsp;</span><br></div><p class=3D"MsoNorma=
l"><b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family:&quot;Taho=
ma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang=3D"EN-US" style=
=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"=
> <a>farcr...-/[email protected]</a> [mailto:<a>farcr...@<u></u>googlegroups.=
com</a>]
<b>On Behalf Of </b>Justin Carter<br>
<b>Sent:</b> Tuesday, 1 April 2014 3:21 PM<br>
<b>To:</b> <a>farcr...-/[email protected]</a><br>
<b>Subject:</b> Re: [farcry-dev] Re: FarCry 7 bugs</span></p><div>&nbsp;<br=
></div>
<div><p class=3D"MsoNormal">Ok cool, I'll just make sure mine is running th=
e same patch level locally...</p>
<div><div>&nbsp;<br></div>
</div>
<div><p class=3D"MsoNormal">Can you paste the config that you are using so =
that I can test the exact same thing?</p>
</div>
</div>
<div><p class=3D"MsoNormal"><br clear=3D"all">
</p>
<div><p class=3D"MsoNormal">cheers,<br>
Justin<br>
<br>
</p>
</div>
</div>
</div>

<font face=3D"Courier New"><p><br>******************************<u></u>****=
**************************<u></u>**********<br>This=20
message is intended for the addressee named and may contain <br>privileged=
=20
information or confidential information or both. If you <br>are not the int=
ended=20
recipient please delete it and notify the=20
sender.<br>******************************<u></u>***************************=
***<u></u>**********=20
</p></font>
</div>

</blockquote></div></div><div><br></div>

-- <br>
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.<br>
To post, email: <a href=3D"mailto:farcry-dev-/[email protected]" target=3D"_b=
lank">farcry-dev-/[email protected]</a><br>
To unsubscribe, email: <a href=3D"mailto:farcry-dev+unsubscribe@googlegroup=
s.com" target=3D"_blank">farcry-dev+unsubscribe-/[email protected]</a><br>
For more options: <a href=3D"http://groups.google.com/group/farcry-dev" tar=
get=3D"_blank">http://groups.google.com/group/farcry-dev</a><br>
--------------------------------<br>
Follow us on Twitter: <a href=3D"http://twitter.com/farcry" target=3D"_blan=
k">http://twitter.com/farcry</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "=
farcry-dev" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:farcry-dev+unsubscribe-/[email protected]" target=
=3D"_blank">farcry-dev+unsubscribe-/[email protected]</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" targ=
et=3D"_blank">https://groups.google.com/d/optout</a>.<br>
</blockquote></div><br></div><div><br class=3D"webkit-block-placeholder"></=
div>

-- <br>
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.<br>
To post, email: <a href=3D"mailto:farcry-dev-/[email protected]" target=3D"_b=
lank">farcry-dev-/[email protected]</a><br>
To unsubscribe, email: <a href=3D"mailto:farcry-dev%2Bunsubscribe@googlegro=
ups.com" target=3D"_blank">farcry-dev+unsubscribe-/[email protected]</a><br>
For more options: <a href=3D"http://groups.google.com/group/farcry-dev" tar=
get=3D"_blank">http://groups.google.com/group/farcry-dev</a><br>
--------------------------------<br>
Follow us on Twitter: <a href=3D"http://twitter.com/farcry" target=3D"_blan=
k">http://twitter.com/farcry</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "=
farcry-dev" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:farcry-dev+unsubscribe-/[email protected]" target=
=3D"_blank">farcry-dev+unsubscribe-/[email protected]</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" targ=
et=3D"_blank">https://groups.google.com/d/optout</a>.<br>
</blockquote></div><div><br class=3D"webkit-block-placeholder"></div>

-- <br>
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.<br>
To post, email: <a href=3D"mailto:farcry-dev-/[email protected]">farcry-dev@g=
ooglegroups.com</a><br>
To unsubscribe, email: <a href=3D"mailto:farcry-dev+unsubscribe@googlegroup=
s.com">farcry-dev+unsubscribe-/[email protected]</a><br>
For more options: <a href=3D"http://groups.google.com/group/farcry-dev">htt=
p://groups.google.com/group/farcry-dev</a><br>
--------------------------------<br>
Follow us on Twitter: <a href=3D"http://twitter.com/farcry">http://twitter.=
com/farcry</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "=
farcry-dev" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:farcry-dev+unsubscribe-/[email protected]">farcry-d=
ev+unsubscribe-/[email protected]</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br>
</blockquote></div><br></body></html>

<p></p>

-- <br />
You received this message cos you are subscribed to &quot;farcry-dev&quot; =
Google group.<br />
To post, email: farcry-dev-/[email protected]<br />
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]<br />
For more options: <a href=3D"http://groups.google.com/group/farcry-dev">htt=
p://groups.google.com/group/farcry-dev</a><br />
--------------------------------<br />
Follow us on Twitter: <a href=3D"http://twitter.com/farcry">http://twitter.=
com/farcry</a><br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;farcry-dev&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:farcry-dev+unsubscribe-/[email protected]">farcry-d=
ev+unsubscribe-/[email protected]</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

--Apple-Mail=_7C9BD1DB-4C29-4829-90B4-0F62B5D5736F--