coldfusion

Coldfusion, The oauth_signature is invalid

本秂侑毒 提交于 2019-12-24 00:42:21
问题 I'm trying to obtain credentials from ning network using Coldfusion 9, so first this is the curl syntax to test the api : curl -k https://external.ningapis.com/xn/rest/mbdevsite/1.0/Token?xn_pretty=true -u devshare@megabase.tn:mbdev2011 -d "oauth_signature_method=PLAINTEXT& oauth_consumer_key=741ab68b-63fb-4949-891c-9e88f5143034&oauth_signature=36da2ea8 -10fb-48cc-aaa4-c17c551c6b87%26" and it returns : { "success" : true, "entry" : { "author" : "1o0butfek0b3p", "oauthConsumerKey" : "741ab68b

String '00' equals '.0' in Coldfusion ? What else?

雨燕双飞 提交于 2019-12-24 00:37:56
问题 So I noticed that ColdFusion returns true for the condition '00' == '.0' . This is reproducible in CF 9.1 and CF 10. I could easily work around this by adding a find('.', foo) condition, but this is NOT normal. Things like this make me doubt ColdFusion. It makes me wonder why it returns true on this clearly false condition, and what other values would it consider equal? Is there a list of values that you can't compare in Coldfusion? Or better yet, is there a solid solution to prevent this

CFDocument still cutting off the tops of text on some pages

烂漫一生 提交于 2019-12-24 00:35:30
问题 when using cfdocument some of our pages have the top line cut off making it unreadable. I know there was a bug in 7, that was said to be fixed in 8. We're using 8,0,1,195765 and continue to have the problem. All my searches lead me to CF7. Anyone have any ideas? <cfdocument format="pdf"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type"

Fusebox invoking a fuse within the code

做~自己de王妃 提交于 2019-12-23 21:26:35
问题 Does anyone know if its possible to invoke a fuseaction within a coldfusion template? 回答1: (You haven't specified which Fusebox version; this answer applies to Fusebox 5.x) Your title and question is asking two different things - a fuse and a fuseaction are two distinct things. A fuse is simply a CFML template, whilst a fuseaction represents a bundle of logic that performs a particular action (similar to a function). Fuses: To invoke a fuse, simply include the file as you would normally -

ColdFusion - Get next scheduled task due to run

若如初见. 提交于 2019-12-23 20:59:39
问题 This thread was useful in finding out the next run-time for a scheduled task. How do I find out the next run time for a Scheduled Task? But, is there also a way to simply get the next scheduled task due to run? If I can get the date and name of the next task due to run, I can plug that date into a jQuery countdown timer, which will display a countdown to the next scheduled task, something like: TaskABC due to run in: 12 03 20 hrs min sec . This is for an admin interface in case you're

Change filename of attachments on Coldfusion

谁说我不能喝 提交于 2019-12-23 20:26:50
问题 I'm using cfmailparam to attach files to an email. I'm getting the filenames and paths from my database. Normally, the attached files have unique names, but I can get their original filenames by querying the following columns in a database table: ASSET_FILE_NAME : unique name ASSET_REAL_NAME : original_name_before_upload.pdf When I send the e-mail with cfmail, the attachments still use the unique names, but I really need to rename them. I've searched and tried also: <cfloop from="1" to="

do I have to scope query output in Coldfusion?

余生长醉 提交于 2019-12-23 20:25:48
问题 If I'm a running a database query/stored procedure in Coldfusion, what is the proper way to reference fields returned from the query? <cfstoredproc procedure="proc_select_extern" datasource="stokkers"> <cfprocparam type="in" value="#Session.Extern#" cfsqltype="cf_sql_varchar" maxlength="13"> <cfprocresult name="extern"> </cfstoredproc> <cfoutput query="extern"> <cfset variables.some = extern.foo> OR <cfset variables.some = foo> </cfouput> Say extern includes foo, bar and foobar. Is it allowed

CFBuilder not stopping on breakpoints

╄→尐↘猪︶ㄣ 提交于 2019-12-23 20:25:08
问题 Since this question... Eclipse doesn't stop at breakpoints ...deals with eclipse itself and CFBuilder is eclipse based, I thought it might be helpful. One of the comments there mentioned stopping the server and redeploying the app :( My question is this: if CFBuilder (I'm using v 1.0) doesn't stop on breakpoints, or if it gets a li'l question mark icon over the breakpoint when it's set, how do I fix this Without Restarting The Server. Restarting fixes the issue about 95% of the time, but it

Programmatic reloading of Java JARs without restarting ColdFusion

霸气de小男生 提交于 2019-12-23 20:12:49
问题 Background From ColdFusion 10 onward it is possible to include JARs from a custom location. To load custom Java libraries (or .java files) code similar to the following is added to Application.cfc this.javaSettings = {LoadPaths = [".\java_lib\",".\java\myjar.jar"], loadColdFusionClassPath = true, reloadOnChange = false} Or to pickup changes (with a default 60 second refresh time) the following is added this.javaSettings = {LoadPaths = [".\java_lib\",".\java\myjar.jar"],

Stumped with trying to consume a SOAP API using ColdFusion

安稳与你 提交于 2019-12-23 20:06:53
问题 I am working with an API that has two different URLs for specific types of functions. The first, is a transactional API that supports either JSON or SOAP requests. I have called all of the functions I need within this API using exclusively JSON calls and everything appears to be working perfectly fine. The second is a reporting API used to locate and/or download reports. This API works exclusively with SOAP. I have not been able to get any function in this API working properly. I have