I see you are on FC 4.0.9 Have you tried going to 4.0.11 to see if your problem is solved?
On Apr 22, 7:29 pm, monkeyvu <phamanhvu101...@gmail.com> wrote: > The problem happens when I have 2 text editor in a page > > <label for="teaser"> > <widgets:richTextEditor textareaName="teaser" > value="#output.teaser#" fieldLabel="Teaser:"><br /> > </label> > <label for="description"> > <widgets:richTextEditor > textareaName="description" > value="#output.description#" fieldLabel="Article:"><br /> > </label> > > If I have only 1 editor, there is no problem. > > On Apr 23, 8:52 am, monkeyvu <phamanhvu101...@gmail.com> wrote: > > > Hi Sean, > > > This is my code > > > <cferror type="exception" template="error.cfm"> > > </cferror> > > > <cferror type="validation" template="error.cfm"> > > </cferror> > > > <cferror type="request" template="error.cfm"> > > </cferror> > > > I can't catch that error. The error happens when I click "Toggle > > textarea". > > > Regards, > > > On Apr 22, 10:58 pm, Sean Coyne <coyne.s...@gmail.com> wrote: > > > > what does your cferror tag look like? Do you only have 1? what > > > "type" did you specify? I use 2 cferror tags like this: > > > > <cferror template="/error.cfm" mailto="webd...@someemail.com" > > > type="validation" /> > > > <cferror template="/error.cfm" mailto="webd...@someemail.com" > > > type="exception" /> > > > > This catches all the errors I have come across. > > > > Sean > > > > On Apr 22, 7:02 am, monkeyvu <phamanhvu101...@gmail.com> wrote: > > > > > yes, I hope some more master of CF will look at this to help us figure > > > > out the problem. I've tried to add <cferror> to existing > > > > Application.cfm or add new Application.cfm to the following places but > > > > unsuccessful. > > > > > farcry\core > > > > farcry\core\admin > > > > farcry\core\admin\conjuror > > > > farcry\core\tags > > > > farcry\core\tags\widgets > > > > farcry\core\tags\farcry > > > > > I really don't know how to solve this problem :( > > > > > On Apr 22, 8:36 pm, Marco van den Oever <marcovandenoe...@gmail.com> > > > > wrote: > > > > > > Ok to be honest it was more of a question then a suggestion:) I'm not > > > > > sure if this is the right way, but i believe that's the direction to > > > > > look for, i hope someone else has some insight on this to share. > > > > > > If this is something that's not yet existent or configurable, then > > > > > this might be a good one to suggest as improvement or new feature. So > > > > > you would have a field in the general config to enter a custom cferror > > > > > page. > > > > > > On Apr 22, 12:19 pm, monkeyvu <phamanhvu101...@gmail.com> wrote: > > > > > > > Where should we put that application.cfm for editor? I've tried many > > > > > > places but unccessfully. > > > > > > > On Apr 22, 8:16 pm, Marco van den Oever <marcovandenoe...@gmail.com> > > > > > > wrote: > > > > > > > > euhmmm so it just not works for the editor, isn't there a separate > > > > > > > application.cfm / cfc for the editor? > > > > > > > > On Apr 22, 11:32 am, monkeyvu <phamanhvu101...@gmail.com> wrote: > > > > > > > > > Hi Marco, > > > > > > > > > What I'm trying to do is just redirect my page to the default > > > > > > > > error > > > > > > > > page when there is any unexpected errors happened. I'm not > > > > > > > > trying to > > > > > > > > solve that error :-) > > > > > > > > > What I did is adding <cferror> tag into www\Application.cfm > > > > > > > > > When I tried to make some errors happened in the Home page, it > > > > > > > > redirects to my default error page perfectly. > > > > > > > > > When I go tohttp://myproject/farcry/edittabOverview.cfminAdmin > > > > > > > > page, it also redirects to my default error page. > > > > > > > > > But when I make some error with text editor, it throws the > > > > > > > > following > > > > > > > > error and doesn't redirect me to my default one??? I dont know > > > > > > > > the > > > > > > > > reason. > > > > > > > > > PLP ERROR! an error has occured with this plp. > > > > > > > > PLP Step: details > > > > > > > > PLP template: > > > > > > > > /farcry/projects/abc/packages/types/_article/plpEdit/ > > > > > > > > details.cfm > > > > > > > > ColdFusion Error Data > > > > > > > > struct > > > > > > > > Detail [empty string] > > > > > > > > ErrNumber 0 > > > > > > > > Message cannot convert the value "1,1" to a boolean > > > > > > > > > On Apr 22, 7:19 pm, Marco van den Oever > > > > > > > > <marcovandenoe...@gmail.com> > > > > > > > > wrote: > > > > > > > > > > I recently had a sort of the same question in this thread: > > > > > > > > > >http://groups.google.com/group/farcry-dev/browse_thread/thread/50b486... > > > > > > > > > > Also, what's very useful is use cfdump and browse the scope > > > > > > > > > explorer. > > > > > > > > > > So at first sight it must be something with the > > > > > > > > > richtexteditor, is it > > > > > > > > > possible to download en reinstall the richtexteditor from > > > > > > > > > that farcry > > > > > > > > > version? At least that eliminates possible bugs or errors in > > > > > > > > > the > > > > > > > > > code. > > > > > > > > > > On Apr 22, 8:23 am, monkeyvu <phamanhvu101...@gmail.com> > > > > > > > > > wrote: > > > > > > > > > > > Actually, I don't understand this one. > > > > > > > > > > > I go tohttp://abc.com/farcry/edittabOverview.cfm > > > > > > > > > > > The above URL will throw an error, it will redirect me to > > > > > > > > > > "error.cfm" (which I configure in > > > > > > > > > > myproject/www/Application.cfm) > > > > > > > > > > > but with the error I mention in the above posts, it doesn't > > > > > > > > > > redirect > > > > > > > > > > me to "error.cfm" page. > > > > > > > > > > > How can I figure out the problem? :( > > > > > > > > > > > Regards, > > > > > > > > > > > On Apr 22, 4:05 pm, monkeyvu <phamanhvu101...@gmail.com> > > > > > > > > > > wrote: > > > > > > > > > > > > The more detail for a bug is > > > > > > > > > > > > struct > > > > > > > > > > > COLUMN 0 > > > > > > > > > > > ID CF_CAST > > > > > > > > > > > LINE 44 > > > > > > > > > > > RAW_TRACE at > > > > > > > > > > > cfrichTextEditor2ecfm391731700._factor25(E:\farcry- > > > > > > > > > > > milestone-4-0-9\farcry\core\tags\widgets\richTextEditor.cfm:44) > > > > > > > > > > > TEMPLATE > > > > > > > > > > > E:\farcry-milestone-4-0-9\farcry\core\tags\widgets > > > > > > > > > > > \richTextEditor.cfm > > > > > > > > > > > TYPE CFML > > > > > > > > > > > 2 > > > > > > > > > > > struct > > > > > > > > > > > COLUMN 0 > > > > > > > > > > > ID CF_RICHTEXTEDITOR > > > > > > > > > > > LINE 1 > > > > > > > > > > > RAW_TRACE at > > > > > > > > > > > cfrichTextEditor2ecfm391731700.runPage(E:\farcry- > > > > > > > > > > > milestone-4-0-9\farcry\core\tags\widgets\richTextEditor.cfm:1) > > > > > > > > > > > TEMPLATE > > > > > > > > > > > E:\farcry-milestone-4-0-9\farcry\core\tags\widgets > > > > > > > > > > > \richTextEditor.cfm > > > > > > > > > > > TYPE CFML > > > > > > > > > > > > Does anyone know how can I redirect that error page to my > > > > > > > > > > > page so i > > > > > > > > > > > doesn't show that error? > > > > > > > > > > > > I've also tried to insert <cferror> tag to > > > > > > > > > > > farcry\core\tags\farcry > > > > > > > > > > > \_farcryApplication.cfm but unsuccessfully... > > > > > > > > > > > > Thanks very much for your help. > > > > > > > > > > > > On Apr 22, 12:26 pm, monkeyvu <phamanhvu101...@gmail.com> > > > > > > > > > > > wrote: > > > > > > > > > > > > > I have tried with those 2 files but unsuccessfully. > > > > > > > > > > > > Anyone know this? > > > > > > > > > > > > > On Apr 22, 12:16 pm, monkeyvu > > > > > > > > > > > > <phamanhvu101...@gmail.com> wrote: > > > > > > > > > > > > > > I have found 2 more Application.cfm files > > > > > > > > > > > > > > \farcry\core\admin\Application.cfm > > > > > > > > > > > > > \farcry\core\Application.cfm > > > > > > > > > > > > > > Do you know which one I should insert <cferror> tag > > > > > > > > > > > > > so I can solve my > > > > > > > > > > > > > problems? > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > On Apr 22, 11:50 am, monkeyvu > > > > > > > > > > > > > <phamanhvu101...@gmail.com> wrote: > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > I have inserted <cferror> tag in Application.cfm as > > > > > > > > > > > > > > below > > > > > > > > > > > > > > > <cferror type="exception" template="error.cfm"> > > > > > > > > > > > > > > </cferror> > > > > > > > > > > > > > > > And it's working perfectly in Home page and a part > > > > > > > > > > > > > > of Admin page. > > > > > > > > > > > > > > However, in Admin page, it still shows the > > > > > > > > > > > > > > following error > > > > > > > > > > > > > > > PLP ERROR! an error has occured with this plp. > > > > > > > > > > > > > > PLP Step: details > > > > > > > > > > > > > > PLP template: > > > > > > > > > > > > > > /farcry/projects/abc/packages/types/_article/plpEdit/ > > > > > > > > > > > > > > details.cfm > > > > > > > > > > > > > > ColdFusion Error Data > > > > > > > > > > > > > > struct > > > > > > > > > > > > > > Detail [empty string] > > > > > > > > > > > > > > ErrNumber 0 > > > > > > > > > > > > > > Message cannot convert the value "1,1" to a > > > > > > > > > > > > > > boolean > > > > > > > > > > > > > > > Do you know why the Farcry doesn't redirect me to > > > > > > > > > > > > > > error.cfm page? > > > > > > > > > > > > > > Actually, in some others error, it redirects me to > > > > > > > > > > > > > > error.cfm page. > > > > > > > > > > > > > > > Kind regards, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@googlegroups.com To unsubscribe from this group, send email to farcry-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---