Hey Steve,
Usually when this happens, there is a trivial error in the CFC that
prevents it from being instantiated. Try calling createObject using the
regular package path and see if you get an error.
Steve Clason wrote:
> Hello,
>
> After a dozen or so Farcry sites I have the need to create a custom
> content type for the first time and have confused myself.
>
> I've created the content type .cfc and deployed it, and I have created a
> custom admin xml to provide an interface. When I try to add a new
> content item (or edit one that was created earlier) I get this error:
>
> "Element TYPES._ARTSNEWSLETTER.TYPEPATH is undefined in APPLICATION."
>
> referring to this ("artsNewsletter" is the new content type):
>
>
> The error occurred in
> E:\Inetpub\Apps-Farcry\farcry_arts\packages\types\_artsNewsletter\edit.cfm:
> line 16
>
> Which looks like this:
>
> 14 :
> 15 : <!--- What is this? Is it the CFMX6.1 compatability hack?? If you
> know pls comment accordingly. GB20051029 --->
> 16 : <cfset tempObject =
> CreateObject("component",application.types._artsNewsletter.typepath)>
> 17 : <cfset stObj = tempObject.getData(arguments.objectid)>
> 18 :
>
>
> I edited this edit.cfm file according to the document Wizards(PLPs) at:
>
> http://docs.farcrycms.org:8080/confluence/display/FCDEV30/Wizards+%28PLPs%29.
>
> I feel like I'm missing something obvious but I'm not getting anywhere
> after reviewing everything I could find in the list archives and the
> documentation and fiddling for a couple of hours.
>
> Can anyone help me out? I'd appreciate any advice.
>
> This is Farcry Version 3.0.1, btw.
>
> Thanks,
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---