Re: Improvong code and application

2008-11-04 Thread Jason Fisher
The Muse had a whole series on SQL injection attacks back in July.  There are 
other good reasons to use CFQUERYPARAM as well, but this one alone should scare 
the pants off anyone doing dynamic database work on the web.

http://www.coldfusionmuse.com/index.cfm/2008/7/18/Injection-Using-CAST-And-ASCII

-jfish 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: EOF error message in email.log

2008-11-04 Thread Rob Parkhill
I would guess that it is a bad e-mail causing the problem.  Why are you
BCC-ing a bunch of e-mails?  Why not just send direct?  Of course looking at
the e-mails may lead you to the problem, or see what is in the undeliverable
folder.
Rob

On Tue, Nov 4, 2008 at 7:56 PM, Nick Gleason <[EMAIL PROTECTED]> wrote:

> Hey there - another cfmail related question.  A client is having problems
> sending out an email through our application using cfmail.  We are seeing
> the following record in mail.log:
> "Error","scheduler-8","11/04/08","15:10:23",,"[EOF]"
>
> I gather that EOF stands for end of file, but I'm not sure what that really
> means in this case.  Is it a timeout?  If so, why?
>
> In this case, there are a lot of email addresses in the bcc field, so that
> may be the culprit.  But, even so, we're not sure if there are bad email
> addresses in the list that are causing the problem or just too many to
> process before a timeout, or something else.
>
> Any ideas about how to further diagnose this?
>
> Thanks again in advance!
>
> Nick
>
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Improvong code and application

2008-11-04 Thread Toby King
Just a quick question in relation to the CFQueryParam - where are you advising 
that I use this command.

Thanks in advance for your reply.




> I have a piece of code in a program which I think would be much better 
> if placed into a CFC.
> 
> 
> Just wondering what is the best approach to take.
> 
> Want to be able to handle success and fail transactions.
> 
> The code that I am looking at is shown below.
> 
> Regards
> 
> T
> 
> 
> 
> 
> 
> 
> 

> 

>   
>   

>   
>   

> 

> 

> 

>   
>"#trim(form.FirstName)#" & 
> CHR(31) 
  
> & "LASTNAME|" &  "#trim(form.LastName)#" & CHR(31) 
  
> & "EMAIL|" &  "#trim(form.Email)#" & CHR(31) 
  
> & "MOBILE|" &  "" & CHR(31)
> & "TITLE|" & "" & CHR(31)
> & "EMAILOPT|" &  "#selemailopt#" & CHR(31)
> & "ACTIVE|" &  "F" & CHR(31)
  
> & "PASSWORD|" &  "#trim(form.password)#" & CHR(31) 
> & "2969822|" &  "#trim(form.country)#" & 
> CHR(31)
> & "2969812|" &  "#trim(form.state)#" & CHR(31)
> & "2969824|" &  "#trim(form.gender)#" & 
> CHR(31)
> & "2969828|" &  "#trim(form.UserAge)#" & 
> CHR(31)
> & "2969811|" & "#trim(form.fldPostLookup)#" & 
> CHR(31)
> & "2969823|" & "#trim(form.postCode)#" & 
> CHR(31)
> & "2969830|" & "#trim(form.fldPostLookup2)#" 
> & CHR(31)
> & "2969831|" & "#trim(form.postCode2)#" & 
> CHR(31)>
 
> 
 
> 
  
> 

> 

> 

> http://au.api.tractionplatform.
> com/ext/AddCustomer" result="myTest">

> 

> 

> 

> 

> 

>
> 

> 
 
> 
 
> 
 
> 
 
> 
 
> 
 
> 
 
> 
 
> INSERT INTO SC_Trac_Results
 
> (TR_ResultCode,
  
> TR_CustParams,
  
> TR_Date)
  
> VALUES
 
> (#return_trac_result#,
  
> '#CustParams#',
  
> '#trim(form.CreateDate)#')
  
> 
 
> 

> 

> 

> INSERT INTO SC_Metro_Users

> (FirstName, 

> LastName, 

> suburbID, 

> Email, 

> 

> city,

> ZipCode, 

> country,

> gender,

> UserAge, 

> Login, 

> Password, 

> signature, 

> backnews, 

> mailList, 

> ThirdEmail, 

> TOS,  

> BizLogin, 

> BizNews, 

> Staff, 

> CreateDate, 

> FirstLogin, 

> HasPosted)

> VALUES 

> ('#trim(form.FirstName)#', 

> '#trim(form.LastName)#', 

> '#trim(request.suburbID)#', 

> '#trim(form.Email)#', 

> 

> '#trim(form.fldPostLookup)#',

> '#trim(form.postCode)#',

> '#trim(form.country)#',

> '#trim(form.gender)#', 

> '#trim(form.UserAge)#', 

> '#trim(form.Login)#', 

> '#trim(form.Password)#', 

> '#trim(form.signature)#',

> '0',

> '#trim(form.
> mailList)#','0', 

>  "">'#trim(form.ThirdEmail)#','0',

> '#trim(form.TOS)#',
> '0',

> '0',

> '0', 

> '0', 

> '#trim(form.CreateDate)#', 

> '#trim(form.FirstLogin)#', 

> '0')

>  


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Open Source Document Management System

2008-11-04 Thread Shannon Peevey
I am always confused by dual-licensed "Free software". I don't
understand how you can distribute the same software with two different
licenses, and still enforce the letter of the AGPLv3... (Which is used
to give the recipient of the code the same rights to distribution as
the original creator).

Speeves

On 11/4/08, Jordan Michaels <[EMAIL PROTECTED]> wrote:
> http://www.razuna.com/
>
> It's a bit more then a simple document management system (It's creators
> refer to it as a "Digital Asset Management System"), but it's
> open-source and runs flawlessly on OpenBD.
>
> Hope this helps!
>
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> Open BlueDragon Steering Committee
> Adobe Solution Provider
>
>
> Kim Hoopingarner wrote:
>> Does anyone know where there might be a good document management (web
>> based) system that might even have open source?   Thoughts?
>>
>>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


EOF error message in email.log

2008-11-04 Thread Nick Gleason
Hey there - another cfmail related question.  A client is having problems
sending out an email through our application using cfmail.  We are seeing
the following record in mail.log:
"Error","scheduler-8","11/04/08","15:10:23",,"[EOF]"

I gather that EOF stands for end of file, but I'm not sure what that really
means in this case.  Is it a timeout?  If so, why?

In this case, there are a lot of email addresses in the bcc field, so that
may be the culprit.  But, even so, we're not sure if there are bad email
addresses in the list that are causing the problem or just too many to
process before a timeout, or something else.

Any ideas about how to further diagnose this?

Thanks again in advance!

Nick
 




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Open Source Document Management System

2008-11-04 Thread Jordan Michaels
http://www.razuna.com/

It's a bit more then a simple document management system (It's creators
refer to it as a "Digital Asset Management System"), but it's
open-source and runs flawlessly on OpenBD.

Hope this helps!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


Kim Hoopingarner wrote:
> Does anyone know where there might be a good document management (web based) 
> system that might even have open source?   Thoughts? 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cf8 bug?

2008-11-04 Thread Dominic Watson
It's very difficult to say from what you've given us. Can you supply
more code and explanation?

A couple of things though; a cfc method that invokes a method on
another cfc that invokes a method from the original cfc sounds like a
design mistake - as does the use of the application scope inside this
method (datasource and the gateway component). It looks as though
you're striving for an OO design pattern so I'm guessing these things
would be important to you.

Dominic

2008/11/3 Mark Kruger <[EMAIL PROTECTED]>:
> Looks to me like you need a row number in your query call Consider this
> code:
>
> local["qryItems"]["id"])
>
> This will always get the first row - yes? Since you are in a loop...
> Shouldn't this be just id (wich would give you
> local.qryItems['id'][currentrow]).
>
> I would also say that you better have a darn good reason for doing it this
> way... It's pretty confusing :)
>
>
> -Mark
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Don [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2008 3:52 PM
> To: cf-talk
> Subject: Cf8 bug?
>
> Perhaps you've ran into this before. Within a cfc I'm simply looping over a
> query object and using the ID value from the query to call an external cfc
> method that eventually calls a method contained within the same CFC as the
> code below appears.
>
> The problem is that using dot notation or array syntax I'm getting strange
> behaviour. It seems that while I've created an array [ daNums ] that shows
> on output that the right number IS being returned and USED, that when I use
> that same ID value to retreive my object, its returning the same object for
> each iteration of the loop.
>
> for example the first time through it gets a value of (1) which corresponds
> to an particular object, then (2). But with the code below I am always
> getting (2)(2). Not (1)(2). Or when I use array notation I always get
> [1][1]. For some reason it seems things are not iterating properly.
>
> Is this because in the object creation call the method that eventually gets
> called to create the object exists within the same cfc as this code?
>
> datasource="#application.datasource#">
>
>select  *
>fromitems
>
>
>
>
>
>
>
>
> 
>
>
> 
>
>
> application.cfcs.items.itemGateway.getItemObject(local["qryItems"]["id"]) )>
>
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Open Source Document Management System

2008-11-04 Thread Kim Hoopingarner
Does anyone know where there might be a good document management (web based) 
system that might even have open source?   Thoughts? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314827
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Script to move email to from undelivr to spool?

2008-11-04 Thread Andy Matthews
If you decide to use this project, let me know. It'd be nice to hear if
anyone likes it, and finds it useful.

-Original Message-
From: Nick Gleason [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 1:30 PM
To: cf-talk
Subject: RE: Script to move email to from undelivr to spool?

Paydirt!  Thanks for all the feedback! 

> -Original Message-
> From: Andy Matthews [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2008 9:31 AM
> To: cf-talk
> Subject: RE: Script to move email to from undelivr to spool?
> 
> My project, the Undelivrnator, can be used for this:
> 
> http://undelivrnator.riaforge.org/
> 
> Simply set up a scheduled task, a table in the db to use as a monitor, 
> and you're good to go.
> 
> 
> andy
> 
> -Original Message-
> From: Nick Gleason [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2008 7:27 AM
> To: cf-talk
> Subject: Script to move email to from undelivr to spool?
> 
> Hi folks,
> 
> We need to develop a script that can move mail from the undelivr 
> folder to the spool folder in CF.  My recollection is that there was 
> some talk on this board a while back about this issue and maybe that a 
> script had been developed.  I checked the archives and riaforge with 
> no luck.  Does anyone know if such a script is already built and 
> available?
> 
> Thanks in advance,
> 
> Nick
> 
> 
> 
> 
> 
> 
> 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314826
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile + cffunction

2008-11-04 Thread Won Lee
Thanks for the quick replies.
I've fixed the problem and am going to share so other ppl don't have to waste 
an hour like I did.

1) The form field name and the argument name do NOT have to be the same.  I 
named my input field "all" and my argument name "MP3File."

2) When you pass the file name to the CFC you can NOT reference it by the form 
scope.

   

3) In your CFC, you must put ## signs around the argument name in filefield.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314825
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SQL: Outer Join question.

2008-11-04 Thread Ian Skinner
Jason Fisher wrote:
> Give this a try.  It will still honor the LEFT OUTER JOIN while using both of 
> your tests to select 'b' records.

Thank you, that worked perfectly.

Ian


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314824
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile + cffunction

2008-11-04 Thread Gerald Guido
I have a generic CFC to handle file uploads if you are interested. It comes
with a working example.

http://www.myinternetisbroken.com/files/FileUpload.cfc.zip

G


On Tue, Nov 4, 2008 at 2:31 PM, Won Lee <[EMAIL PROTECTED]> wrote:

> *Tried a search via HoF and it didn't return anything useful.
>
>
>
> I have a form page with an 
>
>
>
> On the action page, I would like to call a function that will upload the
> file. Unfortunately  assumes fileField is always a form field.
>
> So my function breaks with the error message:
>
>
>
> 14:10:10.010 - Application Exception - in
> /data/workspace/wlee/EMCSRADIO/Agency/createString.cfc : line 85
>
>The form field arguments.MP3File did not contain a file.
>
>
>
>
>
> Anyone know a way around this?  I also tried to create a structure named
> "form" with key all and set myStruct["all"] = form.all and that doesn't
> work either.
>
>
>
> W
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL: Outer Join question.

2008-11-04 Thread Jason Fisher
Give this a try.  It will still honor the LEFT OUTER JOIN while using both of 
your tests to select 'b' records.

>SELECT
>   a.field,
>   count(b.field)
>
>FROM
>   aTable a LEFT OUTER JOIN bTable b
>  ON a.key = b.fkey
>  AND b.year BETWEEN 2000 AND 2003
>  AND b.type = 'C'
>
>GROUP BY
>a.field 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile + cffunction

2008-11-04 Thread Jason Fisher
I have always sent into my function only the field name, since that's what 
CFFILE needs.  You're right that the tag will look only to the Form scope, so 
work with it as is:

uploadSuccess = upload("all");






I don't think there's a way around that.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314821
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile + cffunction

2008-11-04 Thread Won Lee
>*Tried a search via HoF and it didn't return anything useful.
>
> 
>
>I have a form page with an 
>
> 
>
>On the action page, I would like to call a function that will upload the
>file. Unfortunately  assumes fileField is always a form field.
>
>So my function breaks with the error message:
>
> 
>
>14:10:10.010 - Application Exception - in
>/data/workspace/wlee/EMCSRADIO/Agency/createString.cfc : line 85
>
>The form field arguments.MP3File did not contain a file.
>
>
>
> 
>
>Anyone know a way around this?  I also tried to create a structure named
>"form" with key all and set myStruct["all"] = form.all and that doesn't
>work either.
>
> 
>
>W

I just realized I spelled cffunction incorrectly in the search box.  Reading 
through those threads right now. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Script to move email to from undelivr to spool?

2008-11-04 Thread Nick Gleason
Paydirt!  Thanks for all the feedback! 

> -Original Message-
> From: Andy Matthews [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 04, 2008 9:31 AM
> To: cf-talk
> Subject: RE: Script to move email to from undelivr to spool?
> 
> My project, the Undelivrnator, can be used for this:
> 
> http://undelivrnator.riaforge.org/
> 
> Simply set up a scheduled task, a table in the db to use as a 
> monitor, and you're good to go.
> 
> 
> andy 
> 
> -Original Message-
> From: Nick Gleason [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2008 7:27 AM
> To: cf-talk
> Subject: Script to move email to from undelivr to spool?
> 
> Hi folks,
> 
> We need to develop a script that can move mail from the 
> undelivr folder to the spool folder in CF.  My recollection 
> is that there was some talk on this board a while back about 
> this issue and maybe that a script had been developed.  I 
> checked the archives and riaforge with no luck.  Does anyone 
> know if such a script is already built and available?
> 
> Thanks in advance,
> 
> Nick
> 
> 
> 
> 
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SQL: Outer Join question.

2008-11-04 Thread Ian Skinner
How to select all records from the left table and all the records on the 
right that match certain criteria.

This does not work because the where clause filters out all the 'NULLS' 
from the records in the a table that do not have a matching record in 
the b tables.

SELECT
   a.field,
   count(b.field)

FROM
   aTable a LEFT OUTER JOIN bTable b
  ON a.key = b.fkey

WHERE
   b.year BETWEEN 2000 AND 2003 AND
   b.type = 'C'

GROUP BY
a.field

What is the best work around for this?  Do I just provide a big 'OR' 
clause to the WHERE statements that also allows for nulls for year and 
type?  Or is there a more elegant solution to this problem?



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314818
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cffile + cffunction

2008-11-04 Thread Won Lee
*Tried a search via HoF and it didn't return anything useful.

 

I have a form page with an 

 

On the action page, I would like to call a function that will upload the
file. Unfortunately  assumes fileField is always a form field.

So my function breaks with the error message:

 

14:10:10.010 - Application Exception - in
/data/workspace/wlee/EMCSRADIO/Agency/createString.cfc : line 85

The form field arguments.MP3File did not contain a file.



 

Anyone know a way around this?  I also tried to create a structure named
"form" with key all and set myStruct["all"] = form.all and that doesn't
work either.

 

W



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314817
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdExt

2008-11-04 Thread Gerald Guido
You might want to post to the Issue tracker or contact Justin on his blog.

http://coldext.riaforge.org/
http://www.madfellas.com/blog/

I had some questions about ColdExt in the past and he was very helpful.

HTH
G


On Tue, Nov 4, 2008 at 11:56 AM, Rob Parkhill <[EMAIL PROTECTED]>wrote:

> Good Day,
>
> I have a relatively simple question that I need an answer for.  I have just
> started looking into ColdExt as a client of mine has seen it and likes it.
>  I have downloaded everything and have it running just fine.  However, I
> can't seem to find an example or the smallest shred of code that allows me
> to get a menu to link to something.  I have tried quite a few things an
> nothing seems to work.  I am sure that I just need a  little JS function to
> do this, which is fine but I can't get the right reference from the ColdExt
> tags.  I am going for the toolbars etc.  Code below.
>
> Any help would be greatly appreciated!
>
> Thanks,
>
> Rob
>
> 
>
>
>
>
>
>
>
>
> 
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314816
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Update Panel... Coldfusion?

2008-11-04 Thread Gerald Guido
Here are some CF AJAX tools .

http://ajaxcfc.riaforge.org/
http://www.indiankey.com/cfajax/
http://cfjqajax.riaforge.org/
http://coldext.riaforge.org/
http://cfext.riaforge.org/




On Tue, Nov 4, 2008 at 11:37 AM, Kim Hoopingarner <
[EMAIL PROTECTED]> wrote:

> I have been in the ASP.NET / AJAX world recently and found one feature
> there that is a real asset to a web site... UpdatePanel.   Basically it
> allows the browser to do partial page post-backs and therefore helps with
> response time.
>
> In Coldfusion - does anyone know if there is something like this?  It is an
> ajax feature but seems to be associated to ASP.NET right now.  I've been
> digging to no avail.  So I was hoping someone else might have the answer.
>
> Thanks!
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314815
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ColdExt

2008-11-04 Thread Rob Parkhill
Good Day,

I have a relatively simple question that I need an answer for.  I have just 
started looking into ColdExt as a client of mine has seen it and likes it.  I 
have downloaded everything and have it running just fine.  However, I can't 
seem to find an example or the smallest shred of code that allows me to get a 
menu to link to something.  I have tried quite a few things an nothing seems to 
work.  I am sure that I just need a  little JS function to do this, which is 
fine but I can't get the right reference from the ColdExt tags.  I am going for 
the toolbars etc.  Code below.

Any help would be greatly appreciated!

Thanks,

Rob







  






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314814
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Update Panel... Coldfusion?

2008-11-04 Thread Kim Hoopingarner
Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314813
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Update Panel... Coldfusion?

2008-11-04 Thread Ian Skinner


http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_04.html

Or any of it's Ajax friends.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Update Panel... Coldfusion?

2008-11-04 Thread Kim Hoopingarner
I have been in the ASP.NET / AJAX world recently and found one feature there 
that is a real asset to a web site... UpdatePanel.   Basically it allows the 
browser to do partial page post-backs and therefore helps with response time.

In Coldfusion - does anyone know if there is something like this?  It is an 
ajax feature but seems to be associated to ASP.NET right now.  I've been 
digging to no avail.  So I was hoping someone else might have the answer.

Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314811
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Script to move email to from undelivr to spool?

2008-11-04 Thread Chris Kelly
I simply use this:



 


replace undelivr and spool with your actual undelivr and spool directories. Run 
as often as you deem nec. Remember to run it seperately on all undelivr 
directories (for instance if you are load balancing you may have one on ever 
server you load balance).

Create a cfm file with the above and schedule it using the task scheduler.

If you have received this message multiple times please excuse me, I keep 
trying to post this and it says it posted but then I don't see anything on the 
list, perhaps there's a delay I'm not aware of.

>My project, the Undelivrnator, can be used for this:
>
>http://undelivrnator.riaforge.org/
>
>Simply set up a scheduled task, a table in the db to use as a monitor, and
>you're good to go.
>
>
>andy 
>
>Hi folks,
>
>We need to develop a script that can move mail from the undelivr folder to
>the spool folder in CF.  My recollection is that there was some talk on this
>board a while back about this issue and maybe that a script had been
>developed.  I checked the archives and riaforge with no luck.  Does anyone
>know if such a script is already built and available?
>
>Thanks in advance,
>
>Nick 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314810
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Script to move email to from undelivr to spool?

2008-11-04 Thread Chris Kelly
I simply use this:



 


replace undelivr and spool with your actual undelivr and spool directories. Run 
as often as you deem nec. Remember to run it seperately on all undelivr 
directories (for instance if you are load balancing you may have one on ever 
server you load balance).

Create a cfm file with the above and schedule it using the task scheduler.

>My project, the Undelivrnator, can be used for this:
>
>http://undelivrnator.riaforge.org/
>
>Simply set up a scheduled task, a table in the db to use as a monitor, and
>you're good to go.
>
>
>andy 
>
>Hi folks,
>
>We need to develop a script that can move mail from the undelivr folder to
>the spool folder in CF.  My recollection is that there was some talk on this
>board a while back about this issue and maybe that a script had been
>developed.  I checked the archives and riaforge with no luck.  Does anyone
>know if such a script is already built and available?
>
>Thanks in advance,
>
>Nick 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314809
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Script to move email to from undelivr to spool?

2008-11-04 Thread Andy Matthews
My project, the Undelivrnator, can be used for this:

http://undelivrnator.riaforge.org/

Simply set up a scheduled task, a table in the db to use as a monitor, and
you're good to go.


andy 

-Original Message-
From: Nick Gleason [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2008 7:27 AM
To: cf-talk
Subject: Script to move email to from undelivr to spool?

Hi folks,

We need to develop a script that can move mail from the undelivr folder to
the spool folder in CF.  My recollection is that there was some talk on this
board a while back about this issue and maybe that a script had been
developed.  I checked the archives and riaforge with no luck.  Does anyone
know if such a script is already built and available?

Thanks in advance,

Nick






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314808
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: coldfusion8 is amazing!

2008-11-04 Thread Will Tomlinson
Don L, impatient??

Naw...  


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314807
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF DATEDIFF Function

2008-11-04 Thread Dan G. Switzer, II
You should be able to do:

fix(tomorrow) - fix(now()) = diff in days

CF stores dates as a float, where the integer is the day value and the
decimal values are represent the time. So, if you just round down and
subtract the two dates you'll get the difference in whole days.

-Dan

>-Original Message-
>From: Dawson, Michael [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 04, 2008 8:02 AM
>To: cf-talk
>Subject: RE: CF DATEDIFF Function
>
>Exactly.  An entire day must expire before it can be counted.  To expand
>that, an entire "time period" must expire before it can be counted.
>This includes years, months, days, hours, minutes, seconds, etc.
>
>If you want to count "today", just add one or use a different time
>period as Paul suggests.
>
>Mike
>
>-Original Message-
>From: Paul Hastings [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 03, 2008 8:39 PM
>To: cf-talk
>Subject: Re: CF DATEDIFF Function
>
>Azadi Saryev wrote:
>> because your server time is different from your computer's time? your
>
>well there's that or that dateDiff returns results for *whole* days (or
>whatever). try using hours.
>
>

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314806
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF DATEDIFF Function

2008-11-04 Thread Jason Fisher
As others have pointed out, it's an issue of Whole Days. Think of it this way, 
you are testing number of days between Now() and tomorrow's date, right?  Well, 
Now() includes the time, so not just '11/04/2008', but right now it's 
'11/04/2008 08:06 EST'. When you test that against '11/05/2008', without a 
time, the system assumes midnight, so '11/05/2008 00:00 EST'. [Assuming that 
the server is in US Eastern time zone, for the purposes of the demonstration.]

>From 08:06 until the next 00:00 is less than 24 hours, so it's Zero Whole 
>Days.  

HTH,
Jason


> Hi,
> 
> Can anybody explain why the return value is '0' when determining the 
> difference in dates between today and tommorow? 
> 
> IE...
> 
> 
> 
> 
> 
> What i interpret from the datediff statement is that I need the 
> difference in (days) between now() which is 11/03/2008 and 11/04/2008...
> Should be 1...Keep getting 0.
> 
> Any ideas? 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314805
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF DATEDIFF Function

2008-11-04 Thread Dawson, Michael
Exactly.  An entire day must expire before it can be counted.  To expand
that, an entire "time period" must expire before it can be counted.
This includes years, months, days, hours, minutes, seconds, etc.

If you want to count "today", just add one or use a different time
period as Paul suggests.

Mike 

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2008 8:39 PM
To: cf-talk
Subject: Re: CF DATEDIFF Function 

Azadi Saryev wrote:
> because your server time is different from your computer's time? your

well there's that or that dateDiff returns results for *whole* days (or
whatever). try using hours.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314804
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Post Code Check

2008-11-04 Thread Jason Fisher
Glad that worked for you. It's easy to overuse sub-queries (there can be 
performance issues), but for something like this, where two bits of data are 
mostly unrelated, but the sample size is always small, they're great. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314803
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldfusion Image Gallery

2008-11-04 Thread Azadi Saryev
just posted an answer to your question on EE, but here it is too, for
the benefit of others seeking same advice:

this is really a javascript (or other CLIENT-side script) question, not
CF...

have a look at jQuery Cycle plug-in (http://www.malsup.com/jquery/cycle/
). or google for "javascript
slideshow" to find other js solutions.

i have implemented jQuery Cycle + CF images recordset numerous times -
it's extremely easy. all you basically need is a  with  inside
of it on your page
jQuery does the rest... and it is highly customizable (transitional
effects, delay times, etc, etc)

more info and detailed instructions on the page linked above.

hth


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Anthony Doherty wrote:
> im not sure if this question has been asked before but i have searched the 
> net for about 8 hours and cant seem to find anything that will work for my 
> problem.
>
> Im trying to create an image gallery that the image automatically changes to 
> the next image from the recordset.  The image name e.g. image.jpg is stored 
> in a field in the database called IMAGE and the path will be hardcoded into 
> the script.
>
> what i want it to do is when i go into the more information of a product that 
> the gallery will automaticall load with the first image and then then after 1 
> second change to the next image and when the scroller has gone through the 
> recordset then go back to the first record and start again.
>
> thanks 
>
>
>   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314802
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Coldfusion Image Gallery

2008-11-04 Thread Anthony Doherty
im not sure if this question has been asked before but i have searched the net 
for about 8 hours and cant seem to find anything that will work for my problem.

Im trying to create an image gallery that the image automatically changes to 
the next image from the recordset.  The image name e.g. image.jpg is stored in 
a field in the database called IMAGE and the path will be hardcoded into the 
script.

what i want it to do is when i go into the more information of a product that 
the gallery will automaticall load with the first image and then then after 1 
second change to the next image and when the scroller has gone through the 
recordset then go back to the first record and start again.

thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314801
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4