Did you try changing all the variable names? Also have you checked the obvious things - are application variables actually enabled in the administrator? Do you have a cfapplication tag?
What version of cfc? There are some undocumented functions you can use to track session
http://tech.badpen.com/index.cfm?mode=entry&entry=3
But I would use this as a last resort as its undocumented try tracking them yourself...
Is the error still on the same line? Just trying to isolate which line is throwing the error.
If its line 121 just as test trying changing the ldap cfc name in fact try changing all the names of the variables and cfcs just in case you have stumbled on some naming convention or reserved word...
According to the livedocs for cfinput - there is an onKeyUp attribute which can be used to call javascript or actionscript if you are using flash forms.
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000279.htm#1100379
There are libraries which allow communication via flash and...
what kind of login? A javascript or a brower login box? Are you using IIS? If so is aunonomous access disabled? Or is it one of your application's login forms?
VZBCF, looking at your code - your function takes a number of arguments and uses them to build up a sql statement - I'm assuming that the statement is then executed within cfquery?
<cfquery name=".." datasource=".." >
#GetGenericRequestEvent_CreateTheSQLStatement(....)#
</cfquery>
or
<cfset...
One way to approach this would be to have hidden form fields which will contain the value you wish to pass. The onsubmit event of the form can call some javascript which populates the hidden field with the text of the selected index in the select (as opposed to the value). Then on the action...
What version of cf 7 or 7.01? If 7 do you have all the hoftixes installed?
If you try to instantiate the cfc and then call the init does that make a difference?
<cfset application.ldapCFC = CreateObject("component","templates.components.ldap_ad")>
<cfset application.ldapCFC.init() />
Actually as this is client side issue, javascript may be your best option - you could possibly use javascript when the page unloads to fire a remote request to the server. You will need to double check that this is possible as I am not 100% sure that the unload will always fire on a browser...
sorry I should have been clearer. CF automatically escapes single quotes when in a query - IIRC there was a bug in earlier versions where if you used a variable to contain the string, it would *not* automatically escape the single quote which may be why it used to work
use the preserveSingleQuote function - not sure whats changed since cf5 but I do know there was a bug where cf would not always escape the single quote in CF5
I'm based in the UK so I'm not familiar with MLS but I'd guess you need an MLS provider - to get listings and integrate it into your site. How the data is provided makes all the difference - if you can grab it in realtime as a webservice or xml feed then you can use cfhttp, if its a file you may...
When you say shared account do you mean you are on a shared server? If so then it is possible that other sites on the same server are bringing your server down - if possible I would look at getting a dedicated server (especially if your business depends on it).
Coldfusion is now very similar underneath to JSP, all coldfusion templates are compiled to servlets. However the syntax is lot more friendly, in the enterprise version you can have a jsp include a coldfusion template and vice versa, you can also share sessions between JSP apps.
is it always the same file missing? Are the custom tags and includes in the same directory? How are the values for request.module and request.module.version being set?
Coldfusion is far from dead! It was re-written a few years ago in Java and now it has even more built in - PDF generation, Flash forms (http://www.cfform.com/flashforms/gallery/53B844AC-4E22-1671-525CBDB11768303F/index.cfm), Coldfusion components, built in webservices support, flash charts and...
Hi I would recommend you take a look at CVS or subversion, its free has a large user base and works well (although subversion is an improvement on CVS).
Here is a good place to start
http://www.socialpoints.com/blog/client/index.cfm/2006/2/24/Source-Control-With-CVS--beginners-guide
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.