coldfusion-8

Retrieving Data From Returned Oracle Timestamp Column

我是研究僧i 提交于 2021-02-20 09:57:47
问题 We have a ColdFusion 8 (Linux) application that uses an Oracle timestamp. We just converted to Oracle 11g from 10g and we're now using Oracle's thin client on the data sources. We're getting an error in the application where a timestamp column is selected. It seems as though an object of class oracle.sql.TIMESTAMP is being returned. I verified this by dumping the contents of the column. Sure enough, it gives me a break down of the object's methods and their return types. But, I can't seem to

CFDocument PDF not showing Japanese data

折月煮酒 提交于 2021-01-28 21:06:09
问题 I have created a pdf with Japanese content using CFDocument. But It does not showing the Japanese data. I have used pageEncoding as utf-8. It showing only blank space instead of Japanese data. I have used the following code, <cfcontent type="application/pdf"> <cfheader name="Content-Disposition" value="attachment;filename=test.pdf"> <cfprocessingdirective pageencoding="utf-8"> <cfdocument format="PDF" localurl="yes" marginTop=".25" marginLeft=".25" marginRight=".25" marginBottom=".25"

Coldfusion Multi-Select box without CFSelect

丶灬走出姿态 提交于 2020-03-26 05:17:22
问题 How would one go about building a multiselect box in Coldfusion without using CFForm or CFSelect? This is to pull values from a DB so its not just a static select box it is dynamic. This is my first time every trying to code in ColdFusion, I have always been a .Net person so this is a bit of a change for me. The reason why I am needing this is because I've gotten hired into a department at work that uses Coldfusion but from what the Lead developer told me is they do not use CFForm and seeing

Coldfusion Multi-Select box without CFSelect

我怕爱的太早我们不能终老 提交于 2020-03-26 05:16:23
问题 How would one go about building a multiselect box in Coldfusion without using CFForm or CFSelect? This is to pull values from a DB so its not just a static select box it is dynamic. This is my first time every trying to code in ColdFusion, I have always been a .Net person so this is a bit of a change for me. The reason why I am needing this is because I've gotten hired into a department at work that uses Coldfusion but from what the Lead developer told me is they do not use CFForm and seeing

client cert and clientcertpassword in cfhttp

こ雲淡風輕ζ 提交于 2020-01-06 15:12:59
问题 Recently I am done with the SSL certification installation procedure in the Coldfusion Truststore, I'm getting Attribute Validation error now which clearly states that I need to have cfhttp in my code. I understood that. So,I'll have to use cfhttp something like the following: method = "post", clientCert = ?? and clientCetPassword = ?? result = "xyz" I came across some posts (forums.adobe.com/message/800318) and there they have mentioned that clientcert should include file with format, .pkcs

error “1064” in trigger creation in mysql?

六眼飞鱼酱① 提交于 2019-12-31 07:29:24
问题 while creating trigger in mysql i m getting error 1046. my query is: CREATE TABLE test.Employee( id int, first_name VARCHAR(30), last_name VARCHAR(15), start_date DATE, end_date DATE, city VARCHAR(10), description VARCHAR(15) ); CREATE TABLE test.Employee_log( id int, first_name varchar(50), last_name varchar(50), start_date date, end_date date, city varchar(50), description varchar(50), Lasinserted Time ); when i am executing below lines it is giving error: Error Code : 1064 You have an

Using cachedwithin attribute inside cfquery

早过忘川 提交于 2019-12-30 18:57:13
问题 When you use the cachedwithin attribute in a cfquery how does it store the query in memory. Does it store it by only the name you assign to the query? For example, if on my index page I cache a query for an hour and name it getPeople will a query with the same name on a different page (or the same page for that matter) use the cached results or does it use some better logic to decide if it is the same query? Also, if there is a variable in your query does the cache take into account the value

Getting Unable to read WSDL error

倾然丶 夕夏残阳落幕 提交于 2019-12-28 03:12:28
问题 This is first time I'm using SOAP.I'm trying to invoke a webservice using cfinvoke which is as follows: <cfinvoke webservice="https://xyz/infoLookup.php?wsdl" method="infoLookup" returnVariable="info" > <cfinvokeargument name="phoneNumber" value="7182973186"/> <cfinvokeargument name="userName" value="12345"/> <cfinvokeargument name="password" value="password"/> </cfinvoke> <cfdump var="#info#"> And here is a part of the message name from the WSDL : <message name="infoLookupRequest"> <part

Coldfusion 8 - SerializeJSON - Outputting with a comment

岁酱吖の 提交于 2019-12-25 07:34:27
问题 I have a strange issue which has started happening with SerializeJSON , it's outputting the JSON with a comment at the beginning and I have no idea why. I've setup this test case: <!--- initialize variables ---> <cfset records = QueryNew('') /> <!--- create property bean ---> <cfscript> output = SerializeJSON(records); </cfscript> <cfdump var="#records#"> <cfdump var="#output#"> Which outputs: //{"COLUMNS":[],"DATA":[]} Is this familiar to anyone? SOLVED Found the issue. The cause was setting

CFHTTP issue with SSL - turn off security on cfhttp?

徘徊边缘 提交于 2019-12-25 03:25:01
问题 I've been having a pretty fun time trying to get this request to work. I've been doing a <cfhttp method="get"...> request to Facebook for some time without a problem. The request grabs an RSS feed so we can display it on our site. Unfortunately, someone recently noticed it stopped working. The only thing I can think of that could be causing the problem is the URL in my system is http://www.facebook.com... , but is being redirected to secure ( https://www.facebook.com... ). So I've tried