Hi good people please help I can't find htdocs on C:\Program Files\Apache Software Foundation\Apache2.2. When I search for it they say it has been moved. This give me hard time because I can't run ColdFusion Builder because of this. Please help
Searching for moved htdocs for apache
jrun4 issues with axis client
My existing JRUN4 is using axis 1.1 ,
i request please advise how can we upgrade jrun4 libraries to support latest web service client calls(axis 1,2).
Deploying working j2ee war file in coldfusion jrun4 server
I am new to ColdFusion server and I have good experience with java.
I have a web service client application (war) and it is built on top of java, JSP, ajax, axis 2 and wss4j.
I have tested this application tomcat server and it is working as expected.
I request please advise standard steps to deploy this war application in jrun4 sever.
Thank you very much for your help.
The link to download ColdFusioin Builder is broken
The link to download ColdFusion Builder is broken.
Variable G is undefined
I have inherited maintenance of a website created in Cold Fusion back in 2007. While I can easily make the typical content edits in Dreamweaver, there has recently been a problem with on of the form pages and I know nothing about coding Cold Fusion.
When completing and submitting the form this error message is generated:
Variable G is undefined. | |||||||||
The error occurred in <generated>: line 1 Called from C:/inetpub/vhosts/designerbuilders.com/httpdocs/cfc/clients.cfc: line 121 Called from C:/inetpub/vhosts/designerbuilders.com/httpdocs/register.cfm: line 246 | |||||||||
-1 : Unable to display error's location in a CFML template. | |||||||||
Resources:
| |||||||||
|
Stack Trace |
at Statement8591.evaluate(<generated>:1) at cfclients2ecfc294135730$funcLOADVARS.runFunction(C:/inetpub/vhosts/designerbuilders.com/h ttpdocs/cfc/clients.cfc:121) at cfregister2ecfm309030383.runPage(C:/inetpub/vhosts/designerbuilders.com/httpdocs/register .cfm:246) coldfusion.runtime.UndefinedVariableException: Variable G is undefined. at coldfusion.runtime.CfJspPage._get(CfJspPage.java:314) at coldfusion.runtime.CfJspPage._get(CfJspPage.java:298) at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1532) at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1494) at Statement8591.evaluate(<generated>:1) at coldfusion.compiler.ExprClassLoader.evaluate(ExprClassLoader.java:149) at coldfusion.runtime.CFPage.Evaluate(CFPage.java:2320) at cfclients2ecfc294135730$funcLOADVARS.runFunction(C:\inetpub\vhosts\designerbuilders.com\httpdocs\cfc\clients.cfc:121) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2483) at cfregister2ecfm309030383.runPage(C:\inetpub\vhosts\designerbuilders.com\httpdocs\register.cfm:246) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:45) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:466) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:142) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:151) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:134) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:802) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:339) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:215) at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:839) at com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36) at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71) at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:53) at com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:41) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:450) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:197) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) |
I have checked the lines referenced but don't know what the error fix would be. Here are the line codes:
Called from C:/inetpub/vhosts/designerbuilders.com/httpdocs/cfc/clients.cfc: line 121
116 <cfif isdefined('arguments.stValues')>
117 <cfif arraylen(structkeyarray(arguments.stValues) ) gt 0>
118 <cfset fieldarray = structkeyarray(arguments.stValues)>
119 <cfloop from='1' to='#arraylen(fieldarray)#' index='i'>
120 <cfif findnocase('fieldnames',fieldarray[i]) eq 0 and findnocase('submit',fieldarray[i]) eq 0>
121 <cfset "arguments.obj.#fieldarray[i]#" = evaluate(fieldarray[i]) >
122 </cfif>
123 </cfloop>
124 </cfif>
Called from C:/inetpub/vhosts/designerbuilders.com/httpdocs/register.cfm: line 246
246 <cfset xclient = clientbean.loadvars(form)>
Any help would be appreciated.
adding arrows to a bar chart using cfchart
I am using coldfusion 2016 and I am attempting to create a simple bar chart with an arrow above one of the bars in the chart. I know that coldfusion uses zingcharts for its charting library and I know that zingcharts is able to add arrows (Chart Arrows | ZingChart ). Is there a way to accomplish this using cfchart?
To further complicate the issue, I would like these charts to appear in a pdf which is generated using cfdocument. Is this possible?
If not, is there an easy way to use a 3rd party charting library (such as d3, chart.js, etc) to generate charts for use in a pdf generated using cfdocument?
Date & Time
If I need to get a date & time value for a SQL query for 5:00 PM yesterday, and 5 PM today how do I do that
I want to get all of the records between 5 PM yesterday and 5 PM today
select *
from MYTABLE
WHERE BATCH_DATE > (yesterday at5PM ) AND BATCH_DATE < (todayat 5PM)
order by id desc
should I be using REFindNocase in this case?
Hi,
I need help on the function REFindNocase. The project is old and still using CF9 so there is a limitation on what can be use.
Each student has a different BookSelectList. Example: it can be NULL (which allows them to see all books), or 1 (which allows them to see only Book A) or 1,2,3 (which allows them to see only Book A, B, C)
We have the below:
<cfif REFindNocase("(1|2|3|4|5|6)",#Selection.BookSelectList#)>
<cfinclude template="showbooks.cfm">
</cfif>
Which works fine until we hit book 10, since 10 consist of "1". REFindNocase will return 1 and display something they are not meant to see.
What can I do to avoid that? Can REFindNOcase compare Numbers instead of String? If so, how it can be done?
Thanks in advance!
ColdFusion gives a 401 when using Windows Authentication
I have a Windows 2012R2 server running CF 11. ColdFusion is running as a local service account, and is working properly for all other applications on this web server.
I am migrating an old app over from ColdFusion 8 that requires Windows Authentication. When using Anonymous access, the users can access the app and it works properly. When I turn on Windows Authentication, users are getting a 401 error. Event Viewer shows a successful logon (4624). If they access "file.cfm", they get a 401 error. If they access "file.txt", they get the contents of the file successfully. Authentication is successful, apparently, and both files have the same permissions.
When the user is made a local Administrator, he is able to access the file. Taking away Administrator privileges, we get the 401. I tried giving that user full control over webroot, over CF.root, over everything I could think of, but no luck.
I tried using ProcMon to point me somewhere, but must not know it well enough to get anything I can use here. No Access Denied. What else can I do? Any ideas?
Thanks...
Have old Cold Fusion 9 Licenses laying around?
We're looking for a few Cold Fusion 9 license keys, if you have some outstanding and would like to sell them, let me know...
Thanks everyone,
Ryan
Where can I find the security hotfixs for ColdFusion 2016 ?
Just like the title asks... is there a simple way to download the hotfixes and updates for CF11?
I visited the adobe site, click link after link which led to a broken URL for a blog. Isn't there just a list and a download link available? I have to install these settings on the PC that doesn't have the internet connection
Crashing Report
My flash player crash when i play the games online. What should i do ? Please help me.
This is Site where my games or videos crash Locali Roma: eventi discoteche, cocktail bar e Pub and Discoteche Roma: guarda tutti gli eventi di oggi (Mettiti in lista)
Will CF2016 allow Oracle ojdbc drivers to work with REF CURSOR ( cfprocresult) ?
Will newer versions of CF (cf11 or CF2016) allow you to use Oracle's ojdbc thin drivers (12g) along with REF CURSOR? I know ojdbc drivers did not allow CF ref cursors in older versions... We must use ojdbc drivers:
The Oracle JDBC thin driver oracle.jdbc.thin works fine with proxy authentication. But doesn't work with stored procedure REF CURSOR parameters. The ColdFusion documentation for cfprocresult states "You cannot use [REF CURSORS] with Oracle’s ThinClient JDBC drivers." Is this statement up-tod-date? Does it apply to the current v11/12 Oracle JDBC driver? Is there any workaround that allows REF CURSOR parameters?
Using CFLOCK for data Integrity
I plan to run the following two processes. In order to maintain data consistency I plan to use CFLOCK. I've never use CFLOCK in the past and not sure if this is going to work in maintaining data integrity. Please advise.
<
cflock
scope =
"Session"
timeout =
"30"
type =
"Exclusive"
>
<cfexecute name="SomeName" arguments ="#PathToFile# #PathToLogfile#" errorFile="#PathToErrorFileLog#" outputFile="#PathToOutPutFileLog#"
timeout="300></cfexecute>
<cfquery name="UpdateUserID">
Update TempTable
SET UserID = '#session.userid#'
WHERE NVL(userid,' ') = ' '
</cfquery>
</cflock>
cfexecute is inserting data from a text file into a temp table.
There is one column in temp table that is not in the text file and that column is UserId column.
Aftr Oracle sqlldr inserting all data from text file to the temp table, I update userid column in temp table to the session.userid. This way I know who own the data after the process is done.
Who do I talk to about extended support for ColdFusion 10?
I am trying to talk to someone to get extended support for our version 10 Coldfusion instance.
Do not want to miss the opportunity to qualify for the extended support while we upgrade to the latest version of ColdFusion over the next few months so can someone please find me someone I can deal with.
As advised by the online help from the ADOBE site, I have tried the 0800 0280148 number that just has been selecting options that do not put me in touch with a human.
I have emailed the Coldfusion team @ cfsup@adobe.com - no response.
Please some one help !
Look up Web Service Stub Folder Name?
I had an aggressive administrator delete a web service stub from the server without backing it up. Since it's gone and the "name" wasn't recorded, i'm having trouble re-creating it (error says "root directory must be a directory" but it doesn't say what the root directory is that it's looking for. Even when i switched to Axis 1 for both this server and the server it's calling it appeared to obscure the folder name (although the axis 1 message was a BIT more helpful, it still didn't give me the info i wanted.
I suspect the former caused the latter. That CF is expecting the folder to be there, and not finding it. Especially since at this point in time the "Stubs" folder is world writable (Everyone has Full Control)
I know the files are created with "random" names, however what i don't know is whether CF logs or records what the name was when it created it and if so, where.
Can anybody tell me if that information is recorded anywhere or if i'm going to have to build a whole new server just to get the system to figure out where it's root directory is.
It's all very odd, since another app on this server has no problem using the very same service and even if i get rid of its stub folder, it is just rebuilt.
I'm using CF 11,0,11,301867 on Server 2012 with IIS 8.
Thanks
Standard and Enterprise Serial Key
My Boss is really pissed off at me. Without knowledge I have advise my boss to purchase ColdFusion Standard License but we really needed ColdFusion Enterprise License.
Is there a way we can refund and get ColdFusion Enterprise License?
Issue with ColdFusion 2016 Debugging Error Output
Debugging error output isn't restricted to the IPs specified to receive debugging output in certain cases.
This is an issue that has been around since at least ColdFusion 9, as far as I know.
Within CFAdmin, we have disabled the global error template (/CFIDE/administrator/templates/secure_profile_error.cfm) in order to enable error debug output for our debugging-enabled IPs. The problem is that the template that dumps out error information is loaded and processed regardless of whether or not the user's IP is in the debugging IP list. The "normal" way to get around this, as far as I know, is to specify an error template within your application. For example, we do something along the lines of:
<CFIF NOT isDevIP> <CFERROR TYPE="Exception" TEMPLATE="ErrorTemplate.cfm"> </CFIF>
However, this doesn't catch everything. Exceptions that occur prior to the <CFERROR> tag being processed will still result in all users seeing the debugging error output regardless of their IP address. This means you need to have the <CFERROR> tag near the beginning of each request (including AJAX requests) to minimize the potential for exceptions to be generated before the tag is processed.
The real trick, however, is that certain types of exceptions will be triggered before the <CFERROR> tag is processed regardless of where they are in the code. Consider the following:
<CFERROR TYPE="Exception" TEMPLATE="ErrorTemplate.cfm">
<CFIF
Blah blah blah
The unclosed <CFIF> tag is parsed before the <CFERROR> tag is processed, and all users will see the error. (Invalid CFML construct found at line ...). This can lead to code leakage as the error detail template includes code segments, line numbers, and stacktraces (if enabled in CFAdmin).
On the other hand, something like this behaves as expected:
<CFERROR TYPE="Exception" TEMPLATE="OnError.cfm">
<CFIF undefinedvariable></CFIF>
Blah blah blah
The OnError.cfm template is loaded instead of the debugging error output being output to the screen. You can combine this with a <CFIF> check against the user's IP being in the debugger IP list to achieve the desired result, but only for exceptions that are triggered after <CFERROR> is processed.
To work around this in the past, I edited the detail.cfm exception template at, for example, \ColdFusion9\wwwroot\WEB-INF\exception\detail.cfm , and made it fist read the neo-debug.xml file (where CFAdmin stored the debug IP list) and check the user's IP. If the user's IP was not in the iplist in neo-debug.xml, then I simply ran a <CFABORT> to prevent any leakage from occurring. This also worked for CF10.
<CFWDDX ACTION="WDDX2CFML" INPUT="#XMLPARSE('C:\Coldfusion9\lib\neo-debug.xml')#" OUTPUT="neodebugxmlwddx">
<CFIF NOT LISTFIND(neodebugxmlwddx[2].iplist, CGI.REMOTE_ADDR)><CFABORT></CFIF>
However, in CF2016, the detail.cfm template isn't the same. In fact, it's encoded entirely differently and I can't properly edit it. (ColdFusion Builder won't even open it.)
1) Is there a way to edit the detail.cfm or other exception templates for CF2016 to achieve what I want? By default, they're located at C:\ColdFusion2016\cfusion\wwwroot\WEB-INF\exception\ , I believe.
2) If not, is there another way to make them respect the debugging IP lists defined in CFAdmin?
3) If not, is there some other way to allow specific IPs to see debugging output (including for exceptions), but to restrict other IPs from ever seeing it? Using a global error template isn't an option unless there's a way to modify that template to call the regular template (using the same IP check as above) and properly pass all the error information to it.
Thanks
How to handle XSS attack?
Hi
Is there any way to prevent a XSS attacks in cold fusion in already established project?
I used encodeForHTML(url.NewValue) for an input but applying this to every input of Form of all the pages in the project won't be possible.
Is there a way to do this from single location without affecting rest of the code in project?
Server Side Form Validation Page Shows HTML
I saw a post about this a few years ago, but never an answer.
We have some very old forms that use the hidden field type of server side validation to check required fields (_required). The same forms on ColdFusion 10 return a correctly formatted validation error page. The form under CF11 returns a page that shows the html tags.
The form contains hidden fields like this: <input type="hidden" name="From_required" value="Name of person submitting request is required.">
When a form is submitted with an empty field the page displayed looks like this:
Form entries are incomplete or invalid.
<ul><li>Name of person submitting request is required. </li></ul> Go <a href="javascript:history.back()">back</a> and correct the problem.
I know using this type of validation isn't good, but we need to get them over to CF11 as is for now. I tried changing the form to a cfform, but got the same results. I also changed the _required to _cfformrequired, but no difference.
Any ideas what may be causing this? Any suggestions appreciated. Thanks.