RE: CFThread - Am I using it correctly?

2010-12-16 Thread Mark A. Kruger
Michael, I think you need to pass your filename and dStruct into the thread as arguments... as in cfthread action=run name=#threadID# filename=#filename# dStruct=#dStruct# cfhttp url=#listGetAt(dStruct.images,pos)# path=#ExpandPath('./')#/parsed/ file=#fileName# / /cfthread Off the top

RE: CFThread - Am I using it correctly?

2010-12-16 Thread Mark A. Kruger
Michael, You might also need to pass in pos - or of course you could simply pass in the URL and full file path and simplify the stuff you are passing back and forth.. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com

Re: CFThread - Am I using it correctly?

2010-12-16 Thread Michael Grant
AH! Thanks Mark. I'll try that as soon as I can. It might be a couple of days before i can get back to it but I'm really excited to get this to work. I know I'm a little behind the times but better late than never I guess. On Thu, Dec 16, 2010 at 7:38 AM, Mark A. Kruger

Page callback loses URL parameter

2010-12-16 Thread Stephens, Larry V
Page stupid.cfm Inside a javascript function on this page is code akin to this: var x = 'scramble'; window.location = 'stupid.cfm?dothis=' + x; // page reloads and functions correctly, i.e., the URL parameter is present cfparam name=URL.dothis default = cfdump var=#URL.dothis# !--- when

The INSERT statement conflicted with the FOREIGN KEY constraint

2010-12-16 Thread Monique Boea
Hello All. I have a stored proc that when I execute it from SQL server mgmt studio, it works fine. But when I try to execute it in CF, I get the following error: *Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]The INSERT statement conflicted with the FOREIGN KEY

CFspreadsheet send out put to screen

2010-12-16 Thread Jay Birdsell
I would like to do one of two things with the spread sheet created by cfspreadsheet either display it on screen or create a link to the saved spread sheet. In regards to creating a link, does the spread sheet tag create server variables like cffile does? How do I display the output to the

SOT: Problems with CF9 Mac Install W/Mamp

2010-12-16 Thread Gerald Guido
I have a nice shiny Mac Pro and CF9 and/or Apache is being difficult. The web connector ran fine but I am DL'ing index.cfm as a file when I try to hit http://localhost/cfide/administrator/index.cfm. I am also getting a 403 message when I hit the root with out specifying index.cfm if that is of

Re: SOT: Problems with CF9 Mac Install W/Mamp

2010-12-16 Thread Wil Genovese
There is a section in the apache config file that controls directory browsing for the web root usually '/' unless you specified a custom web root. Be default this is usually set to DENY ALL. You can change this setting to Allow from all and it should give you directory browsing privilege.

Re: CFThread - Am I using it correctly?

2010-12-16 Thread Michael Grant
Mark, Thanks so much. This worked a treat. I also jacked up the cfthread limit in the admin and now the app is literally buzzing along. On Thu, Dec 16, 2010 at 7:47 AM, Mark A. Kruger mkru...@cfwebtools.comwrote: Michael, You might also need to pass in pos - or of course you could simply

Re: SOT: Problems with CF9 Mac Install W/Mamp

2010-12-16 Thread Wil Genovese
Hmmm. I only answered part of your question. The answer I gave should fix the 403 issue. Are you sure cf is enabled? Also I had issues with this also and blogged about it here. http://www.trunkful.com/index.cfm/2009/8/30/ColdFusion-8-Server-on-Snow-Leopard I had linked to Geoff Bowers