Subsribe to our RSS

latest reactions

christian louboutin shoes
With that kind of traffic you want to ad …
Rahul Anand
Thanks for the nice post. It works for m …
Serkan
thx a lot! …
msb
Thanks for above solution.There is ano …
Lori S.
FYI, I was using this successfully in CF …

Use OpenDNS

mxna feeds

cfmailparam behaviour change in CF9.01ColdFusion Job Opportunity in Houston, TXFacial Recognition in 14 Lines Of ColdFusionColdFusion UPS PackageColdFusion Job Opportunity in Arlington, VAColdFusion Job Opportunity in San Diego, CASome ColdFusionBloggers.org GuidelinesColdFusion Positions In CaliforniaListChangeDelimsunix epoch with coldfusionQuery scripting bug in Coldfusion 9Scoth On The Rock 2011 Tickets on salefoursquareCFC updated to version 1.0, now includes ColdFusion return typeFramework One Birds of a Feather session at CFUnitedWhat makes you a good ColdFusion programmer?

All files are strictly confidential: all information is classified.
© Copyright 2002 - 2010 mximize.com.
All right reserved.

MXNA webfeed

Visit Carlos Gallupa

Strange behaviour component, methods not found

I have a really really strange bug. All my applications have a settings.cfc in the webroot of the application. Some cfc's have more methods than others but all my other cfc's extend the root settings.cfc, all cfc's are stored in an application variable called application.cfc and all applications have their own application_name (in case you are wondering)

The bug i'm having is that the correct settings.cfc is extended but a certain method in that cfc is not found..... if I remove all methods it keeps finding the other methods???, but if I change the this variables with other values in the settings.cfc it will see those changes???

It appears to me that the application scope is saving or caching a different settings.cfc and his methods instead of the correct one. Especially because if I remove the methods it will still show the methods in a cfdump....

Could anyone point me in the right direction??

2256 viewed | 3 opinion(s)  | del.icio.us | Digg it | Tjarko @ 27/05/09 21:25 cet


Reactions:

Michael van Leest wrote.... (site)

Access="private" functions??

03 June 2009 20:24 cet  

Tjarko wrote.... (mail)

hmmm not sure, it was a component that always worked before. That was/is the strange part.

03 June 2009 21:22 cet  

jax wrote....

store the script path to the settings.cfc in a variable and see if something funky is going on..

15 June 2009 15:54 cet  

Leave your comment

Your name


Your url/website/link/email....


Some room for your reaction is placed here..



The answer to the ultimate question is?? (42 ;-))




URL en mail addresses are translated for you... life sometimes is that simple!!