Re: FarCry 7 bugs

Jeff Coughlin <[email protected]> Sat, 5 Apr 2014 03:08:03 -0400
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
--Apple-Mail=_DEA745BC-A8D5-49CF-90E8-C2E2A16E8AF0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1

I'm just lazy to do the pull request at the moment (and it's 3am).  I'll do=
 it in the morning if you prefer.  Otherwise the code is below (it's just r=
elocating three lines of code down a few lines).

In core/packages/formtools/richtext.cfc the output of #configJS# should be =
last.  Currently it is being loaded *before* FarCry's overrides.  Instead w=
e should be allowed to override even FarCry's overrides.  I spent a couple =
hours trying to figure out why my custom content_css wasn't loading (yeah, =
I'm an idiot. A simple "view html source" finally clued me in that it was i=
n fact loading, but then FarCry was overriding it with it's own css file). =
 You can either swap it yourself or use the code block below (I provided th=
e entire <script></script> block for easier reference).  If you move the #c=
onfigJS# variable yourself (with it's conditional block), just keep in mind=
 that the comma switches to the front of the variable.


				<script language=3D"javascript" type=3D"text/javascript">
				$j(function() {
					tinymce.init({
					selector: '###arguments.fieldname#',

					script_url : '#application.url.webtop#/thirdparty/tiny_mce/tinymce.min=
.js',

					farcryrelatedtypes: #serializeJSON(aRelatedTypes)#,
					optionsURL: "#getAjaxURL(typename=3Darguments.typename,stObject=3Dargu=
ments.stObject,stMetadata=3Darguments.stMetadata,fieldname=3Darguments.fiel=
dname,combined=3Dfalse)#&action=3Dtemplateoptions",
					previewURL: "#getAjaxURL(typename=3Darguments.typename,stObject=3Dargu=
ments.stObject,stMetadata=3Darguments.stMetadata,fieldname=3Darguments.fiel=
dname,combined=3Dfalse)#&action=3Dtemplatehtml",
					image_list : "#getAjaxURL(typename=3Darguments.typename,stObject=3Darg=
uments.stObject,stMetadata=3Darguments.stMetadata,fieldname=3Darguments.fie=
ldname,combined=3Dfalse)#&action=3Dimageoptions&relatedTypename=3D#argument=
s.stMetadata.ftImageListFilterTypename#&relatedProperty=3D#arguments.stMeta=
data.ftImageListFilterProperty#",
					link_list : "#getAjaxURL(typename=3Darguments.typename,stObject=3Dargu=
ments.stObject,stMetadata=3Darguments.stMetadata,fieldname=3Darguments.fiel=
dname,combined=3Dfalse)#&action=3Dlinkoptions&relatedTypename=3D#arguments.=
stMetadata.ftLinkListFilterTypenames#"
					<cfif len(imageUploadField)>
						, imageUploadField : #serializeJSON(imageUploadField)#
						, imageUploadType : #serializeJSON(arguments.stMetadata.ftImageListFi=
lterTypename)#
					</cfif>
					<cfif len(arguments.stMetadata.ftWidth)>
						,width : "#arguments.stMetadata.ftWidth#"
					</cfif>
					<cfif len(arguments.stMetadata.ftHeight)>
						,height : "#arguments.stMetadata.ftHeight#"
					</cfif>=09
					<cfif len(arguments.stMetadata.ftContentCSS)>
						,content_css : "#arguments.stMetadata.ftContentCSS#"
					</cfif>		=09
					<cfif len(configJS)>
						,#configJS#
					</cfif>
				=09
					});
				});
				</script>




Jeff

On Apr 5, 2014, at 2:58 AM, Justin Carter <[email protected]> wrote=
:

> Yeah which ever is easiest for you, I don't mind copy and pasting or acce=
pting a pull request :)
>=20
> On 05/04/2014 5:45 PM, "Jeff Coughlin" <[email protected]> wrote:
> I'll have to wait until it happens again.  It can sometimes go a hundred =
saves without a problem.  I'll let you know.
>=20
> btw, can I just mention a bug fix here for a TinyMCE fix (unrelated), or =
should I submit a pull request?  It's just moving three lines of code down =
a few lines (it's in the wrong spot).
>=20
> Jeff
>=20
> On Apr 5, 2014, at 2:42 AM, Justin Carter <[email protected]> wro=
te:
>=20
>> Can you give me the stack trace or a log entry so that I can see where t=
he crash is happening?
>>=20
>> On 05/04/2014 4:13 PM, "Jeff Coughlin" <[email protected]> wrote:
>> Every now and then when I edit the TinyMCE config I get the following er=
ror:
>> WDDX packet parse error at line 1, column 1.
>>=20
>> The problem is that once that error appears, the entire website crashes =
with that error (no website, no webtop).  UpdateApp doesn't help either.  T=
he 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 thoug=
h).
>>=20
>> Thoughts?
>>=20
>> Jeff      =20
>>=20
>>=20
>> On Apr 2, 2014, at 3:43 PM, Justin Carter <[email protected]> wr=
ote:
>>=20
>>> There may have been a check for isJSON which failed and so it assumed t=
he value was WDDX, but yours may have actually been corrupted JSON. I can a=
dd better error handling for this so that it doesn't crash even if both wer=
e "invalid". Hopefully on a clean upgrade (since yesterday's fix) it would =
happen 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 t=
hose 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 b=
eta?
>>>=20
>>> FYI: The fix worked, but only after restarting CF10.  updateapp and upd=
ateall 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 up=
dateapp wouldn't correct.  Hopefully no one is patching that on a shared ho=
st running cf10.=20
>>>=20
>>> Thanks for the fix.
>>>=20
>>> Jeff
>>>=20
>>> On Apr 2, 2014, at 1:41 AM, Justin Carter <[email protected]> w=
rote:
>>>=20
>>>> I think your issues with saving the TinyMCE config on CF10 should be r=
esolved, I just posted a follow up in this thread:
>>>> https://groups.google.com/forum/#!category-topic/farcry-dev/nN479viFCX=
I
>>>>=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=
 won'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_far=
cry,insertdatetime,media,searchreplace,contextmenu,paste,directionality,ful=
lscreen,noneditable,visualchars,nonbreaking,anchor,charmap,code,textcolor",
>>>>=20
>>>> extended_valid_elements: "code,colgroup,col,thead,tfoot,tbody,abbr,blo=
ckquote,cite,button,textarea[name|class|cols|rows],script[type],img[style|c=
lass|src|border=3D0|alt|title|hspace|vspace|width|height|align|onmouseover|=
onmouseout|name]",
>>>>=20
>>>> menubar : false,
>>>>=20
>>>> toolbar : "undo redo | cut copy paste pastetext | styleselect | bold i=
talic underline | bullist numlist link image table farcryuploadcontent farc=
rycontenttemplates | 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 =
Behalf 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 loca=
lly...
>>>>=20
>>>> =20
>>>> Can you paste the config that you are using so that I can test the exa=
ct 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" Googl=
e 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 Gro=
ups "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
>>> --=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 Grou=
ps "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=
 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 Grou=
ps "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
>> --=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
>> 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=_DEA745BC-A8D5-49CF-90E8-C2E2A16E8AF0
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 apple-content-edi=
ted=3D"true">I'm just lazy to do the pull request at the moment (and it's 3=
am). &nbsp;I'll do it in the morning if you prefer. &nbsp;Otherwise the cod=
e is below (it's just relocating three lines of code down a few lines).</di=
v><div apple-content-edited=3D"true"><br></div><div apple-content-edited=3D=
"true">In core/packages/formtools/richtext.cfc the output of #configJS# sho=
uld be last. &nbsp;Currently it is being loaded *before* FarCry's overrides=
. &nbsp;Instead we should be allowed to override even FarCry's overrides. &=
nbsp;I spent a couple hours trying to figure out why my custom content_css =
wasn't loading (yeah, I'm an idiot. A simple "view html source" finally clu=
ed me in that it was in fact loading, but then FarCry was overriding it wit=
h it's own css file). &nbsp;You can either swap it yourself or use the code=
 block below (I provided the entire &lt;script&gt;&lt;/script&gt; block for=
 easier reference). &nbsp;If you move the #configJS# variable yourself (wit=
h it's conditional block), just keep in mind that the comma switches to the=
 front of the variable.</div><div apple-content-edited=3D"true"><br></div><=
div apple-content-edited=3D"true"><br></div><div apple-content-edited=3D"tr=
ue"><div apple-content-edited=3D"true"><div apple-content-edited=3D"true"><=
span class=3D"Apple-tab-span" style=3D"white-space:pre">				</span>&lt;scri=
pt language=3D"javascript" type=3D"text/javascript"&gt;</div><div apple-con=
tent-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"white-space:pr=
e">				</span>$j(function() {</div><div apple-content-edited=3D"true"><span=
 class=3D"Apple-tab-span" style=3D"white-space:pre">					</span>tinymce.ini=
t({</div><div apple-content-edited=3D"true"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">					</span>selector: '###arguments.fieldname#',<=
/div><div apple-content-edited=3D"true"><br></div><div apple-content-edited=
=3D"true"><span class=3D"Apple-tab-span" style=3D"white-space:pre">					</s=
pan>script_url : '#application.url.webtop#/thirdparty/tiny_mce/tinymce.min.=
js',</div><div apple-content-edited=3D"true"><br></div><div apple-content-e=
dited=3D"true"><span class=3D"Apple-tab-span" style=3D"white-space:pre">			=
		</span>farcryrelatedtypes: #serializeJSON(aRelatedTypes)#,</div><div appl=
e-content-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"white-spa=
ce:pre">					</span>optionsURL: "#getAjaxURL(typename=3Darguments.typename,=
stObject=3Darguments.stObject,stMetadata=3Darguments.stMetadata,fieldname=
=3Darguments.fieldname,combined=3Dfalse)#&amp;action=3Dtemplateoptions",</d=
iv><div apple-content-edited=3D"true"><span class=3D"Apple-tab-span" style=
=3D"white-space:pre">					</span>previewURL: "#getAjaxURL(typename=3Dargume=
nts.typename,stObject=3Darguments.stObject,stMetadata=3Darguments.stMetadat=
a,fieldname=3Darguments.fieldname,combined=3Dfalse)#&amp;action=3Dtemplateh=
tml",</div><div apple-content-edited=3D"true"><span class=3D"Apple-tab-span=
" style=3D"white-space:pre">					</span>image_list : "#getAjaxURL(typename=
=3Darguments.typename,stObject=3Darguments.stObject,stMetadata=3Darguments.=
stMetadata,fieldname=3Darguments.fieldname,combined=3Dfalse)#&amp;action=3D=
imageoptions&amp;relatedTypename=3D#arguments.stMetadata.ftImageListFilterT=
ypename#&amp;relatedProperty=3D#arguments.stMetadata.ftImageListFilterPrope=
rty#",</div><div apple-content-edited=3D"true"><span class=3D"Apple-tab-spa=
n" style=3D"white-space:pre">					</span>link_list : "#getAjaxURL(typename=
=3Darguments.typename,stObject=3Darguments.stObject,stMetadata=3Darguments.=
stMetadata,fieldname=3Darguments.fieldname,combined=3Dfalse)#&amp;action=3D=
linkoptions&amp;relatedTypename=3D#arguments.stMetadata.ftLinkListFilterTyp=
enames#"</div><div apple-content-edited=3D"true"><span class=3D"Apple-tab-s=
pan" style=3D"white-space:pre">					</span>&lt;cfif len(imageUploadField)&g=
t;</div><div apple-content-edited=3D"true"><span class=3D"Apple-tab-span" s=
tyle=3D"white-space:pre">						</span>, imageUploadField : #serializeJSON(i=
mageUploadField)#</div><div apple-content-edited=3D"true"><span class=3D"Ap=
ple-tab-span" style=3D"white-space:pre">						</span>, imageUploadType : #s=
erializeJSON(arguments.stMetadata.ftImageListFilterTypename)#</div><div app=
le-content-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"white-sp=
ace:pre">					</span>&lt;/cfif&gt;</div><div apple-content-edited=3D"true">=
<span class=3D"Apple-tab-span" style=3D"white-space:pre">					</span>&lt;cf=
if len(arguments.stMetadata.ftWidth)&gt;</div><div apple-content-edited=3D"=
true"><span class=3D"Apple-tab-span" style=3D"white-space:pre">						</span=
>,width : "#arguments.stMetadata.ftWidth#"</div><div apple-content-edited=
=3D"true"><span class=3D"Apple-tab-span" style=3D"white-space:pre">					</s=
pan>&lt;/cfif&gt;</div><div apple-content-edited=3D"true"><span class=3D"Ap=
ple-tab-span" style=3D"white-space:pre">					</span>&lt;cfif len(arguments.=
stMetadata.ftHeight)&gt;</div><div apple-content-edited=3D"true"><span clas=
s=3D"Apple-tab-span" style=3D"white-space:pre">						</span>,height : "#arg=
uments.stMetadata.ftHeight#"</div><div apple-content-edited=3D"true"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">					</span>&lt;/cfif&gt=
;<span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span></div><di=
v apple-content-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"whi=
te-space:pre">					</span>&lt;cfif len(arguments.stMetadata.ftContentCSS)&g=
t;</div><div apple-content-edited=3D"true"><span class=3D"Apple-tab-span" s=
tyle=3D"white-space:pre">						</span>,content_css : "#arguments.stMetadata=
.ftContentCSS#"</div><div apple-content-edited=3D"true"><span class=3D"Appl=
e-tab-span" style=3D"white-space:pre">					</span>&lt;/cfif&gt;<span class=
=3D"Apple-tab-span" style=3D"white-space:pre">			</span></div><div apple-co=
ntent-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"white-space:p=
re">					</span>&lt;cfif len(configJS)&gt;</div><div apple-content-edited=
=3D"true"><span class=3D"Apple-tab-span" style=3D"white-space:pre">						</=
span>,#configJS#</div><div apple-content-edited=3D"true"><span class=3D"App=
le-tab-span" style=3D"white-space:pre">					</span>&lt;/cfif&gt;</div><div =
apple-content-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"white=
-space:pre">					</span></div><div apple-content-edited=3D"true"><span clas=
s=3D"Apple-tab-span" style=3D"white-space:pre">					</span>});</div><div ap=
ple-content-edited=3D"true"><span class=3D"Apple-tab-span" style=3D"white-s=
pace:pre">				</span>});</div><div apple-content-edited=3D"true"><span clas=
s=3D"Apple-tab-span" style=3D"white-space:pre">				</span>&lt;/script&gt;</=
div><div><br></div></div></div><div apple-content-edited=3D"true"><br></div=
><div apple-content-edited=3D"true"><br></div><div apple-content-edited=3D"=
true"><br></div><div apple-content-edited=3D"true">Jeff</div>
<br><div><div>On Apr 5, 2014, at 2:58 AM, Justin Carter &lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt; wrote:</div=
><br class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><p dir=
=3D"ltr">Yeah which ever is easiest for you, I don't mind copy and pasting =
or accepting a pull request :)</p>
<div class=3D"gmail_quote">On 05/04/2014 5:45 PM, "Jeff Coughlin" &lt;<a hr=
ef=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>I'll have to wait until it happens=
 again. &nbsp;It can sometimes go a hundred saves without a problem. &nbsp;=
I'll let you know.</div><div><br></div><div>btw, can I just mention a bug f=
ix here for a TinyMCE fix (unrelated), or should I submit a pull request? &=
nbsp;It's just moving three lines of code down a few lines (it's in the wro=
ng spot).</div>
<div><br></div>Jeff<div><br><div><div>On Apr 5, 2014, at 2:42 AM, Justin Ca=
rter &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">jus=
[email protected]</a>&gt; wrote:</div><br><blockquote type=3D"cite"><p=
 dir=3D"ltr">
Can you give me the stack trace or a log entry so that I can see where the =
crash is happening?</p>
<div class=3D"gmail_quote">On 05/04/2014 4:13 PM, "Jeff Coughlin" &lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style=3D"word-wrap:break-word"><div>Every now and then when I edit the=
 TinyMCE config I get the following error:</div><div>WDDX packet parse erro=
r at line 1, column 1.</div><div><br></div><div>The problem is that once th=
at error appears, the entire website crashes with that error (no website, n=
o 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 cach=
ed that updateapp isn't catching... not sure what though).</div>

<div><br></div><div>Thoughts?</div><div><br></div><div>Jeff &nbsp; &nbsp; &=
nbsp;&nbsp;</div><div><br></div><br><div><div>On Apr 2, 2014, at 3:43 PM, J=
ustin Carter &lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>&gt; wrote:</div>

<br><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]" target=3D"_blank">[email protected]=
m</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'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></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></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></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></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><div><br class=3D"webkit-block-placehold=
er"></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=_DEA745BC-A8D5-49CF-90E8-C2E2A16E8AF0--