Re: Re: FarCry 7 bugs

Justin Carter <[email protected]> Thu, 3 Apr 2014 06:43:15 +1100
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAMLJQfsJi-vU_vUhya-YZp8EjKe2u5ae-jnExQBxJxVoo8zYjg@mail.gmail.com>
--001a11c2a0f4eb8d5b04f6147eaa
Content-Type: text/plain; charset=ISO-8859-1

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
happen though.

Cheers,
Justin
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
> those hoops (yay cf10).  I noticed the code only looks at cf10 specifically
> though.  Just out of curiosity, do you know if it is not an issue in cf11
> beta?
>
> FYI: The fix worked, but only after restarting CF10.  updateapp and
> updateall just caused the entire site to crash with the following 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 have been
> cached that updateapp wouldn't correct.  Hopefully no one is patching that
> on a shared host running cf10.
>
> Thanks for the fix.
>
> Jeff
>
> On Apr 2, 2014, at 1:41 AM, Justin Carter <[email protected]>
> wrote:
>
> I think your issues with saving the TinyMCE config on CF10 should be
> resolved, I just posted a follow up in this thread:
> https://groups.google.com/forum/#!category-topic/farcry-dev/nN479viFCXI
>
> Let me know how you go.
>
> cheers,
> Justin
>
>
> 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
>> won't save if I try to edit it a second time in the webtop).
>>
>>
>> Two differences from standard are:
>>
>>
>> forced_root_block : false <----- was 'p'
>>
>> force_p_newlines : true               <----- New entry
>>
>>
>> Full config:
>>
>>
>> plugins : "farcrycontenttemplates,layer,table,hr,image_farcry,link_
>> farcry,insertdatetime,media,searchreplace,contextmenu,
>> paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,
>> anchor,charmap,code,textcolor",
>>
>> extended_valid_elements: "code,colgroup,col,thead,
>> tfoot,tbody,abbr,blockquote,cite,button,textarea[name|
>> class|cols|rows],script[type],img[style|class|src|border=0|
>> alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]",
>>
>> menubar : false,
>>
>> toolbar : "undo redo | cut copy paste pastetext | styleselect | bold
>> italic underline | bullist numlist link image table farcryuploadcontent
>> farcrycontenttemplates | code | fullscreen",
>>
>> remove_linebreaks : false,
>>
>> forced_root_block : false,
>>
>> force_p_newlines : true,
>>
>> relative_urls : false,
>>
>> entity_encoding : 'raw'
>>
>>
>> Cheers
>>
>> Mark
>>
>>
>> *From:* farcr...-/[email protected] [mailto:farcr...-/[email protected]] *On
>> Behalf Of *Justin Carter
>> *Sent:* Tuesday, 1 April 2014 3:21 PM
>> *To:* farcr...-/[email protected]
>> *Subject:* Re: [farcry-dev] Re: FarCry 7 bugs
>>
>>
>> Ok cool, I'll just make sure mine is running the same patch level
>> locally...
>>
>>
>> Can you paste the config that you are using so that I can test the exact
>> same thing?
>>
>>
>>  cheers,
>> Justin
>>
>>
>> **********************************************************************
>> This message is intended for the addressee named and may contain
>> privileged information or confidential information or both. If you
>> are not the intended recipient please delete it and notify the sender.
>> **********************************************************************
>>
>
> --
> 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
> ---
> 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.
>
>
>  --
> 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
> ---
> 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.
>

-- 
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
--- 
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.

--001a11c2a0f4eb8d5b04f6147eaa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">There may have been a check for isJSON which failed and so i=
t assumed the value was WDDX, but yours may have actually been corrupted JS=
ON. I can add better error handling for this so that it doesn&#39;t crash e=
ven if both were &quot;invalid&quot;. Hopefully on a clean upgrade (since y=
esterday&#39;s fix) it would happen though.</p>

<p dir=3D"ltr">Cheers,<br>
Justin</p>
<div class=3D"gmail_quote">On 03/04/2014 12:54 AM, &quot;Jeff Coughlin&quot=
; &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt=
; wrote:<br 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&#39;t correct. &nbsp;Hopefully no one i=
s patching 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" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">force_p_newlines : true&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 : &quot;farcrycontenttemplates,layer,=
<u></u>table,hr,image_farcry,link_<u></u>farcry,insertdatetime,media,<u></u=
>searchreplace,contextmenu,<u></u>paste,directionality,<u></u>fullscreen,no=
neditable,<u></u>visualchars,nonbreaking,<u></u>anchor,charmap,code,textcol=
or&quot;<u></u>,</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">extended_valid_elements: =
&quot;code,colgroup,col,thead,<u></u>tfoot,tbody,abbr,blockquote,<u></u>cit=
e,button,textarea[name|<u></u>class|cols|rows],script[type],<u></u>img[styl=
e|class|src|border=3D0|<u></u>alt|title|hspace|vspace|width|<u></u>height|a=
lign|onmouseover|<u></u>onmouseout|name]&quot;,</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">menubar : false,</span></=
p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;=
Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">toolbar : &quot;undo re=
do | cut copy paste pastetext | styleselect | bold italic underline | bulli=
st numlist link image table farcryuploadcontent farcrycontenttemplates
 | code | fullscreen&quot;,</span></p><p class=3D"MsoNormal"><span style=3D=
"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;co=
lor:#1f497d">remove_linebreaks : false,</span></p><p class=3D"MsoNormal"><s=
pan style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-se=
rif&quot;;color:#1f497d">forced_root_block : 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">force_p_newlines : true,<=
/span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&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 : &#39;ra=
w&#39;</span></p><div><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&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&#39;ll just make sure mine is runnin=
g the 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 &quot;farcry-dev&quot; =
Google group.<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 &=
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]" 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>

<p></p>

-- <br>
You received this message cos you are subscribed to &quot;farcry-dev&quot; =
Google group.<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 &=
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]" 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>

<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 />

--001a11c2a0f4eb8d5b04f6147eaa--