Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all 5794 articles
Browse latest View live

CF10 Administrator not working after installing Update 23

$
0
0

Hi all,

 

I have just installed the latest update, which all went fine - however when I try to access the Administrator (which was working perfectly just prior to updating), I get an error which states, "The isAdminClientCertAuthEnabled method was not found."

 

I have searched everywhere and can not find resolution to this error. If anyone can shed some light on how to fix it, it would be greatly appreciated. Thanks..


License activation change Java JVM language

$
0
0

Hi, we need help with our Adobe ColdFusion 2016 Standard Server.

 

When we try to activate our purchased lisence, the underlying Java JVM turns the language from german to english.

Due to this circumstance all output numbers are shown with the wrong number format.

 

As a sidenote: In developer or trail mode everything has the correct format.

 

The JVM Arguments are the following:

 

 

Anyone here experience similar issues?

XMLHttpRequest.onreadystatechange - FireFox vs IE

$
0
0

Hello, all,

 

I'm posting this question here because I don't have an account on any other forums, and I don't know where else to go.

 

I have a .cfm page that is using Javascript XHR to post a single word value to itself which will determine how something is going to be processed.

 

PSEUDOCODE:

<div class="thisNav" id="getStats">Get User Stats</div><div class="thisNav" id="pruStats">Prune Stats (6 mos)</div><div class="thisNav" id="expStats">Export User Stats</div><script>     var thisNav = [].slice.call(document.getElementsByClassName('thisNav')).map(function(d){          d.onclick = function(event){getThis(d.id);};          });     xhr = new XMLHttpRequest();     function getThis(act){          xhr.open("POST","filename.cfm",true);          xhr.setRequestHeader("Content-Type","x-www-form-urlencoded");          xhr.onreadystatechange = function(){               if(xhr.readyState*1 === 1){anotherDiv.innerHTML = " OPENING";}               elseif(xhr.readyState*1 === 3){anotherDiv.innerHTML = " DISPLAYING";}               elseif(xhr.readyState*1 === 4 && xhr.status === 200){anotherDiv.innerHTML = xhr.responseText;}               }          xhr.send("act=" + act);          }</script>

 

Now, in Internet Explorer 11, this works well (I know, I can't believe it, either.)

 

However, in FireFox 52, this will only display the last stage (xhr.responseText) on the first click (will not see readyState 1 or 3).  Subsequent clicks (if I don't refresh the page) will work as expected, but the initial click will not.

 

What is the difference between FF and IE that could cause this??  Is there some kind of fix or workaround??

 

V/r,

 

^_^

cgi.path_info is blank in CF11

$
0
0

Hi,

 

Has anyone noticed that cgi.path_info is blank in CF11? Is there any work around for this besides using script_name? Thanks for the help.

 

Mike

CF2016 - cfsharepoint function results in java.lang.reflect.InvocationTargetException

$
0
0

CF2016 Enterprise Edition on Windows Server 2012 R2

 

Using cfsharepoint to query a SharePoint list, which is working in a dev environment against the same list and credentials, but that dev server is Windows 2008, and CF2016 standard edition.

 

Is there a defect using cfsharepoint on Windows Server 2012 R2?

 

Here's the error:

Could not instantiate stub objects for web service invocation. The rootcause was that: java.lang.reflect.InvocationTargetException

 

The stub class files are created at C:\ColdFusion2016\cfusion\stubs\WS_xxx so I know the WSDL is being consumed successfully.

 

webservice.log isn't much help, but at least confirms it's not a connectivity issue:

Using Axis 1 for consuming the service http://xxx/_vti_bin/Lists.asmx?WSDL.

Downloaded the wsdl http://xxx/_vti_bin/Lists.asmx?WSDL

 

Any ideas are appreciated.

Coldfusion Support Page - Tags by function

$
0
0

Hi,

 

Please note the routing on "Tags by function" is not correct. This directs users to "Functions by Category", which is wrong.

 

Kindly take a look on this.

 

Thanks.

The Brazilian Post Office, one of the largest cases in the world, will abandon ColdFusion.

$
0
0

The Brazilian Post Office will abandon ColdFusion due to high prices and lack of support. I hope Adobe reads this message and takes an attitude.

401.13 Error within cfdiv or div with CF11

$
0
0

Asking to see if anyone within a CAC enabled server environment has encountered and issue with repeatedly getting a 403.13 Forbidden error within a DIV or CFDIV element.  We upgraded our CF server to CF11 (2016) and our users seems to be getting this error much more.


better approach using JS charts

$
0
0

I'm using fusioncharts to create charts. the way im doing is: filename.cfm?account=123456 query charts here is sample of the js to create the charts: https://jsfiddle.net/wo0t1p67/ everything works fine just wondering if there a better approach to this. this is not something that will NOT go live to customers.

ColdFusion 2016 cfajaxproxy Invalid usage of AJAX tag

$
0
0

We have a web app running on CF10.  When trying to migrate it to CF2016 update 4, we have a cfajaxproxy that is generating the following error.

 

Invalid usage of AJAX tag.

Use cfajaximport tag to specify SCRIPTSRC or make sure all ajax controls are inside a single cfform tag that has SCRIPTSRC.

 

We are running on IIS 8.5 on Windows 2012 R2.  The website has a virtual directory /cf_scripts in IIS pointing to D:\ColdFusion2016\cfusion\wwwroot\cf_scripts and I can call any of the scripts directly through the web browser and see the JS.

ColdFusion could not delete the file for an unknown reason.

$
0
0

Hi,

 

ColdFusion could not delete the file C:\ColdFusion11\cfusion\wwwroot\LAW\Briefs\A2878\pwd1.txt for an unknown reason.

I am unable to delete any .txt or .msg file immediately after upload from their physical path and as well as from server too and the Coldfusion doesn’t return any particular reason for failure.

 

It doesn't allow me to delete the file from the physical path i.e. from the brief folder, it will show an error pop-up with a message 'The action can't be completed because the file is open in coldfusion.exe'(see attached screenshot). It seems that Coldfusion locks the file in the background and after sometimes it allows me to delete the file successfully.

 

For another extension like .docx, .pdf, I am immediately able to delete the file after upload.

Apart from this, when I restart ColdFusion service it will allow me to delete the file again as if the file is getting locked by ColdFusion.

 

I am using ColdFusion version '11,0,03,292866'.

 

validationMsg.jpg

 

Does anyone have a solution to this problem?

Extract row ID from a query (from cfspeadsheet)

$
0
0

Hello,

I working with Coldfusion 10.

I use cfspreadsheet for reading an Excel document. The result is in query. See example below.

 

As you see (black circled) you have the row ID 1, 2 and 3 (representing the row number of the Excel sheet).

Query.jpg

 

I would like to read that value.

 

Question:

How can I read this value ?

 

Reason:

I must make a query of query to filter data.

In case of mistake (bad values or missing values) I must display an error message which explain that "wrong value on row xxx".

After the query of query, the quantity of rows are not the same as the Excel document and the row id is not correct.

My ideas is to add a column to the result of query of the query with the row id of the original query (which represent the row number).

 

I already search on internet, this forum. But I don't know how to do that !

Or any one have a better ideas?

 

Thank you so much for your help

Best regards

André L'Hoir

Compile Time SLOW on CF2016 (upgrading from CF9)

$
0
0

We're in  the process of migrating from CF9 to CF2016 and are running into really slow compile times. The app startup takes twice as long as before but our real problem is that  we have a lot of dynamically generated CFML that gets written to the VFS (Virtual File System) and then included.

 

This code, executed in a loop x 100 takes:

 

  • CF9        = 1420 ms.
  • CF2016  = 8643 ms.

 

I have tried with Java 1.8.0_112 and 1.8.0_131 and the result is the same.

 

Is there anything that we can do to speed up the compile time and is this a known issue with CF2016? Why was it so much faster on CF9?

 

Any help would be hugely appreciated as our upgrade is now stalled due to this issue.

Retrouver ColdFusion_11_WWEJ_linux64.bin

$
0
0

Bonjour,

Le fichier ColdFusion_11_WWEJ_linux64.bin, relatig à CF 11, n'est plus téléchargeable.

Quels sont les moyens de le récupérer ?

Merci par avance pour vos retours.

 

Does ColdFusion requires Apache Tomcat?

$
0
0

I don't remember installing Apache Tomcat for coldFusion. Is Apache Tomcat service require for ColdFusion to function? We are currently running IIS as our web server.


ColdFusion Future?

$
0
0

To Adobe,

 

I know you probably can't answer this but what are Adobe's plans for ColdFusion? I get mixed messages, particularly from sister products and your main www.adobe.com web site. Cases in point:

 

Dreamweaver dropped support for CF when it went CC. I still use CS5 because frankly CFBuilder sucks. DW states "Build the best sites for any browser or device. See how you can quickly create responsive sites, preview them on actual mobile devices, and even extract assets and styles from Adobe Photoshop comps directly into your projects." I also read somewhere where it claimed to be the #1 tool for developing websites but it has better support for PHP and .Net than CF. Is this a veiled statement of the future of CF or simply the DW team not playing well with the CF team?

 

These forums used to use a CF based forum application, now it's Jive which uses a JSP framework (which again sucks. but I regress). If Adobe does not use CF for their own customer facing portals, what does that say for CF?

 

Today I received a response for a CF bug I submitted months back, which is fine. When I went to click on the included link, the bug tracker site appears down or half functioning. I could make out a login link, click it and simply received a site error. In retrying while typing this post, now I receive a "no issue found" message. Login still does not work. This does not give a good impression but it leads to my next issue...

 

Upon going to www.adobe.com to search for the bug tracker location, I found the Feature Request/Bug Report Form. The only field on the first page is a product selection drop-down. If you try to select ColdFusion you'll be very disappointed as ColdFusion does not exist. Is this a veiled statement of the future of CF or simply the product and/or support teams not playing well with the CF team?

 

Session idea for your CF Summit (which I'm already preregistered), a sit down with various executives and product members (not just from the CF team) on their thoughts of the future for CF (and possibly why they don't get along). It's ok to hear CF team members say how great CF is and all the new and upcoming features, but I think thoughts for other upper Adobe non-CF executives would go a long way to calm the "Adobe hates CF" rumors and impressions.

 

Idea that I think would re-energize the CF faithful, dump CFBuilder and roll the functionality into Dreamweaver, either natively or as an add-on.

CF 11 errors when inserting, updating or selecting Oracle 12c Varchar2 columns that are over 4000 characters

$
0
0

Oracle 12c can now store over 32k of data in a Varchar2 column instead of the previous limitation of 4000 and we are trying to utilize that option but are receiving ColdFusion errors when trying to do so. Below is my dev specs but this is also occurring on our productions systems with similar specs (CF 11 Enterprise and Oracle 12c).

 

ColdFusion Version: 11,0,12,302575

Edition: Developer 

Operating System: Windows 7

Adobe Driver Version: 5.1.3 (Build 000094) 

Java Version: 1.8.0_25 

Oracle Version: Personal Oracle Database 12c Release 12.1.0.1.0 - 64bit Production

**Local install on Windows 7

 

After increasing the ability for Oracle 12c VarChar2 fields to hold 32k of data, inserting into, updating or selecting breaks ColdFusion statements for data over 4000. Statements under 4001 works fine.

 

Strangely, when I remove the cfquerparam on the insert or update it works (but that's not an option).

 

The select breaks either way.

 

Insert Statement / Error:

-------------------------------------------

<cfquery datasource="#application.datasource#">

  update project

  set description = <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.description#">

  where projectId = <cfqueryparam cfsqltype="cf_sql_integer" value="62605" />

</cfquery>

Error Code: 1461

Message: [Macromedia][Oracle JDBC Driver][Oracle]ORA-01461: can bind a LONG value only for insert into a LONG column

***NOTE: The db column is a varchar2 of length 10,000.

***NOTE: I get the same error message for an insert statement

 

 

Select Statement / Error:

-------------------------------------------

<cfquery datasource="#application.datasource#" name="qProject">

  select description

  from project

  where projectId = <cfqueryparam cfsqltype="cf_sql_integer" value="62605" />

</cfquery>

Error Code: 24920

Message: [Macromedia][Oracle JDBC Driver][Oracle]ORA-24920: column size too large for client

 

 

Any thoughts / ideas?? Thanks!!

How to set web services to use axis version 1?

$
0
0

In the admin CFIDE server mode, I want to set up couple WSDL URLs that uses axis version 1. I changed the web server version to 1 but I still get the following messages on the log

Using Axis 2 for consuming the service http://local.domain.com/MembershipWebservice.asmx?WSDL

Downloaded the wsdl http://local.domain.com/MembershipWebservice.asmx?WSDL

Next is the error log

Cannot generate stub objects for web service invocation. Name: http://imisappprod/iMIS/AsiCommon/Services/Membership/MembershipWebservice.asmx. WSDL: http://imisappprod/iMIS/AsiCommon/Services/Membership/MembershipWebservice.asmx?WSDL. org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the name propertyValue with namespace SetPropertyValue_input It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.

 

Keep in mind that if I try to open the http://local.domain.com/MembershipWebservice.asmx?WSDL via the browser it works but it needs to consume using axis version 1.

 

thanks, Lou

Problem integrating Google reCaptcha v2 into a simple form

$
0
0

I am at my wits' end attempting to integrate Google's recaptcha v2 with a simple HTML form. I hope someone can help.

 

In the <head> of the form page I have

 

    <script src="https://www.google.com/recaptcha/api.js" async defer></script>

 

as directed by Google.

 

Within the form I have

 

    <div class="g-recaptcha" data-sitekey="xxxxxxxxxxx"></div>

 

where xxxxxxxxxxx is the sitekey provided by Google. When the form is displayed, this is properly creating the recaptcha widget.

 

On the target page that processes the form submission, I have this:

 

    <cfset form.RecaptchaResponse = "">

    <cfif StructKeyExists(form, "g-recaptcha-response")>

           <cfset form.RecaptchaResponse = form["g-recaptcha-response"]>

    </cfif>

 

    <cfhttp url="https://www.google.com/recaptcha/api/siteverify" method="post" result="captchaResult">

      <cfhttpparam type="formfield" name="secret" value="zzzzzzzz">

      <cfhttpparam type="formfield" name="response" value="#form.RecaptchaResponse#">

      <cfhttpparam type="formfield" name="remoteip" value="#cgi.remote_addr#">

    </cfhttp>

 

    <cfset result = "#deserializeJSON(StructFind(variables.captchaResult, 'FileContent'))#">

    <cfif result.success is "false">

        <cflocation addtoken="no" URL="/">

    </cfif>

 

     ...start processing the submission.

 

where zzzzzzzz is the secret key provided by Google.

 

First I intentionally submit the form without responding to the captcha. I dump the variable captchaResult (a structure). Its 'FileContent' key is a JSON string, and in that string, 'Success' is 'false'. This submission redirects to the site's home page -- exactly as desired.

 

Next I submit the form correctly, including responding to the captcha. Dumping captchaResult and then aborting, I see that 'Success' is 'true'. In other words, Google is definitely passing this submission.

 

So now I reload everything and resubmit correctly, including responding to the captcha. ColdFusion replies with this on my target page:

 

   We're sorry...

 

    Element G is undefined in FORM.

    The error occurred on line 1.

 

What the #$% is going on?? Any suggestions will be gratefully and humbly accepted.

 

Message was edited by: Jordan Backler Forgot to include that I am using CF 10

Problem integrating Google reCaptcha v2 into a simple form

$
0
0

I am at my wits' end attempting to integrate Google's recaptcha v2 with a simple HTML form. I hope someone can help.

 

In the <head> of the form page I have

 

    <script src="https://www.google.com/recaptcha/api.js" async defer></script>

 

as directed by Google.

 

Within the form I have

 

    <div class="g-recaptcha" data-sitekey="xxxxxxxxxxx"></div>

 

where xxxxxxxxxxx is the sitekey provided by Google. When the form is displayed, this is properly creating the recaptcha widget.

 

On the target page that processes the form submission, I have this:

 

    <cfset form.RecaptchaResponse = "">

    <cfif StructKeyExists(form, "g-recaptcha-response")>

           <cfset form.RecaptchaResponse = form["g-recaptcha-response"]>

    </cfif>

 

    <cfhttp url="https://www.google.com/recaptcha/api/siteverify" method="post" result="captchaResult">

      <cfhttpparam type="formfield" name="secret" value="zzzzzzzz">

      <cfhttpparam type="formfield" name="response" value="#form.RecaptchaResponse#">

      <cfhttpparam type="formfield" name="remoteip" value="#cgi.remote_addr#">

    </cfhttp>

 

    <cfset result = "#deserializeJSON(StructFind(variables.captchaResult, 'FileContent'))#">

    <cfif result.success is "false">

        <cflocation addtoken="no" URL="/">

    </cfif>

 

     ...start processing the submission.

 

where zzzzzzzz is the secret key provided by Google.

 

First I intentionally submit the form without responding to the captcha. I dump the variable captchaResult (a structure). Its 'FileContent' key is a JSON string, and in that string, 'Success' is 'false'. This submission redirects to the site's home page -- exactly as desired.

 

Next I submit the form correctly, including responding to the captcha. Dumping captchaResult and then aborting, I see that 'Success' is 'true'. In other words, Google is definitely passing this submission.

 

So now I reload everything and resubmit correctly, including responding to the captcha. ColdFusion replies with this on my target page:

 

   We're sorry...

 

    Element G is undefined in FORM.

    The error occurred on line 1.

 

What the #$% is going on?? Any suggestions will be gratefully and humbly accepted.

 

Message was edited by: Jordan Backler Forgot to include that I am using CF 10

Viewing all 5794 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>