ooh yeah, check your mappings as on a shared box it's a "honour based"
approach really..

On Sun, Jul 6, 2008 at 8:18 AM, Ross <[EMAIL PROTECTED]> wrote:

>
> Sounds pretty strange... though I had really weird issue with
> HostMySite.com as well.
>
> Not sure if this will help but might give you ideas...
>
> The application application.cfc extending another application.cfc
> which is pretty plain sailing.  Though the my application scope was
> not setup correctly - which was really weird.  After doing a cfdump I
> noticed that I had an array of Application scopes of other
> applications.  This sent alarm bells off in my head.
>
> So what was the issue?  The path to the extending application.cfc used
> a string that was also a mapping (Unknown to me).  So the app was
> including an application.cfc from some random application.  The
> mapping to this other application didn't even comply with
> HostMySite.com rules for CF mappings which really annoyed me.
>
> In the end I got in contact with HostMySite.com and informed them
> about this.  I ended up just changed the path to my extending
> application.cfc and the app was running smoothly.
>
> This just shows you that an app which appears to be self contained can
> end up screwed.  So maybe apply some radical thinking/debugging.
> cfinclude is a pretty simply so for it to behave as you're describing
> something else is up.
>
> David Heacock wrote:
> > I've got the strangest problem... I'm using a cheap CF hosting company
> > HostMySite.com. I have a page that sets a simple variable:
> >
> > <cfset product_name = "Smood">
> >
> > then includes a file that does some stuff:
> >
> > <cfinclude template="/includes/head.cfm">
> >
> > The strange thing is that head.cfm sometimes (not always, which is
> > odd) can't see the variable 'product_name' in the parent document. Am
> > I losing the plot or is this freaky? It's not that it gets the wrong
> > variable (like with a caching problem), it just can't see it at all
> > and throws a null pointer exception.
> >
> >
> > Any ideas here?
> >
> >
> > Cheers
> >
> > David Heacock
> >
>


-- 
Regards,

Scott Barnes
Rich Client Platform Manager
Microsoft.

http://blogs.msdn.com/msmossyblog

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to