Questions tagged [coldfusion-8]

For issues relating to using ColdFusion, version 8.

ColdFusion is a server-side rapid application development platform, from Adobe. ColdFusion 8 new features include

  • Built in AJAX for various UI elements. This is based ext-js
  • Exchange support
  • RSS
  • ZIP files
583 questions
7
votes
2 answers

ColdFusion: Multiple SQL statements in a query?

Apparently ColdFusion doesn't like multiple SQL statements within a single query... so what once was this: SET @sender_user_id = 3, @recipient_user_id = 5; INSERT INTO messages (message_type, sender_id, message_title, message_content) VALUES(3,…
dcolumbus
  • 8,976
  • 25
  • 91
  • 154
7
votes
6 answers

MVC: I need to understand the Model

I've been working with the MVC pattern for a while now, but I honestly don't feel like I truly understand how to work with and apply the "Model" ... I mean, one could easily get away with using only the Controller and View and be just fine. I…
dcolumbus
  • 8,976
  • 25
  • 91
  • 154
7
votes
1 answer

Maximum .NET version for Coldfusion 8 interop?

I am modifying some CF8 code that uses the cfobject tag to do interop with .NET. Currently, it's targeting .NET 2.0 assemblies. Without upgrading CF, is there a way to get it to interoperate with higher versions of .NET (e. g. v4.0)? What, if…
ChaseMedallion
  • 19,262
  • 13
  • 76
  • 137
6
votes
2 answers

Downloading large file in ColdFusion using CFHTTP

I'm trying to download a large (600MB) binary file to the server using CFHTTP on Coldfusion 8: It's working fine for…
Lucas
  • 1,402
  • 1
  • 12
  • 18
6
votes
5 answers

Coldfusion 8: IsDefined('URL.variable') and is not ""?

I'm trying to find out if a url variable exists, and if it doesn't, make sure that it's not empty. This does not work: //
dcolumbus
  • 8,976
  • 25
  • 91
  • 154
6
votes
1 answer

Retrieving Data From Returned Oracle Timestamp Column

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…
HugeBob
  • 447
  • 5
  • 14
6
votes
1 answer

Periods in URL causes ColdFusion error

I am currently having issues with users (or bots, not sure) visiting non-existent links that have three periods in a sub-directory. For example, if someone goes to: http://www.example.com/.../test/index.cfm? Then I receive the following…
ethanh
  • 125
  • 1
  • 7
6
votes
1 answer

ColdFusion not catching NoClassDefFoundError

I am using ColdFusion 8. I would like to catch a NoClassDefFoundError exception in ColdFusion however I can't... It still fails and logs the error in the exception.log file. Here is what I tried.
Abbadon
  • 1,951
  • 21
  • 28
5
votes
3 answers

Could not find the ColdFusion Component that exists

When I use the following locally for development it works, when it is in production it works most of the time, but every so ofter we get the following error using this code: Code CreateObject("component", "model.mThing.Thing"); Now the model…
ztatic
  • 1,171
  • 3
  • 13
  • 21
5
votes
1 answer

PHP mcrypt to ColdFusion decrypt

I am working in a PHP app we have a particular string that we need to encrypt before storing in a database. I can do this in PHP with not problem using mcrypt with a key and a iv. Currently I'm trying to use blowfish because I thought it would be…
brucemartin
  • 317
  • 1
  • 5
  • 15
5
votes
4 answers

Determining if a string is not null/blank and is a number and not 0?

I normally don't work in ColdFusion but there's a FTP process at work I have to create a report for with the only option right now being a ColdFusion 8 server. This FTP feed has a few issues (trash too). So, I make the query and then I need to…
Reno
  • 2,824
  • 8
  • 38
  • 63
5
votes
3 answers

How can I determine if a file upload is a valid CSV file - or at least text - in ColdFusion 8?

I have a form which allows a user to upload a file to the server. How can I validate that the uploaded file is in fact the expected format (CSV, or at least validate that it is a text file) in ColdFusion 8?
Eric Belair
  • 10,296
  • 13
  • 70
  • 107
5
votes
4 answers

Check for live Data Source Name Before proceeding

Would it be ok to get a CF app to check for a valid database before proceeding to process that request? This is because there may be instances where the database server may be down or being upgraded, hence an error comes when a db dependant request…
n_kips
  • 565
  • 10
  • 19
5
votes
3 answers

View cfhttp request

I would like to view the actual http request that gets sent via my cfhttp tag. What is the best tool to capture this? Specially, I want to see exactly what headers and content are being sent.
Jason
  • 15,436
  • 20
  • 71
  • 112
5
votes
2 answers

Using cachedwithin attribute inside cfquery

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…
Jason
  • 15,436
  • 20
  • 71
  • 112
1
2
3
38 39