RE: How to Make Layers Visible with OnMouseOver

2009-08-24 Thread Adrian Lynch

> -Original Message-
> From: Peter Boughton [mailto:bought...@gmail.com]
> 
> And just a quick simplification of Adrian's jQuery...
> 
> Instead of:
> $("#show").mouseover(func1).mouseout(func2)
> 
> You can do:
> $("#show").hover(func1,func2)

Holy bejeasus, how long has hover() been there?!

God bless jQuery...


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325628
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: simple SQL Question

2009-08-21 Thread Adrian Lynch

That is a left outer join. It's mixing new and old styles of joining tables.
Not sure if there's a benefit to the mix, but I reckon this is clearer:

SELECT a.id, b.name
FROM a
INNER JOIN b ON a.id = b.id
LEFT OUTER JOIN b ON a.id = b.id

Is this code actually used or an example for the question?

Adrian

> -Original Message-
> From: Discover Antartica [mailto:discoverantart...@yahoo.com]
> Sent: 22 August 2009 00:50
> To: cf-talk
> Subject: simple SQL Question
> 
> 
> what does the *= mean in a query. For example:
> 
> select a.id, b.name
>  from a
> inner join b
>    on a.id = b.id
> where a.id *= b.id
> 
> Thank

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325600
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How to Make Layers Visible with OnMouseOver

2009-08-21 Thread Adrian Lynch

Way too much code to look at!

But using jQuery:


.hidden {
display: none;
}




$(function() {
$("#show").mouseover(function() {
$("#hiddenDiv").show();
}).mouseout(function() {
$("#hiddenDiv").hide();
});
});


Show that div

A hidden div

Rolling off will hide it again. Not sure if you want that or not.

Adrian

> -Original Message-
> From: Scott Williams [mailto:myscottwilli...@yahoo.com]
> Sent: 21 August 2009 19:36
> To: cf-talk
> Subject: How to Make Layers Visible with OnMouseOver
> 
> 
> Hi all --
> 
> I can't figure out how to make Layer2 in this document visible when I
> mouseover the  tag around the newbridgecollege.edu link. Can anyone
> help me with this?
> 
> Scott
> 
> *
> 
> 
> 
> 
*snip*
> 
> ***
> 
> Thanks in advance!
> 
> Scott


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325599
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Adrian Lynch

Railo or OpenBD? Do they support cfajaxproxy yet?

> -Original Message-
> From: Don L [mailto:do...@yahoo.com]
> Sent: 19 August 2009 22:42
> To: cf-talk
> Subject: ajax cfc not working for Access DB -- odd stuff
> 
> 
> I've moved on to an open source cfml engine, don't know what caused the
> following odd behavior, that is, my cfajaxproxy tag no longer works for
> an inline data editing function (meaning, it does not do database
> update for a set of data) while the same code works for ms sql server
> 2005 express (db syntax are exactly same for such a simple query) and
> since I'm using "sync" mode I can't use the setCallbackHandler method
> to do debugging.  Thought, could use more heads here...
> 
> caller line
> 
> 
> cfc code and js code below,
> 
> 
> 
> 
>   
> 
>   
>  
>  
>
>
>  
>
>
>  
>
>   
> 
>   
>  
>   
> 
>   
>   
> 
>   
>   
>   
> update blablaTBL
>   set whats = '#fmwhats#'
>   where uaid =  
> cfsqltype="CF_SQL_INTEGER">
>   and sid =  "#Evaluate(someid)#"
> 
> cfsqltype="CF_SQL_VARCHAR"
>maxlength="128">;
>   
>   
>   
>   
> 
>   
>   
> 
>   
> 
> 
> 
> // much credit goes to Sam Farmer for getting me started on this (JSON)
> approach
> function callUpdateJS2(frm,row) {
>   rowUpdate(frm,row);
> }
> 
> function handleResult(r) {
>console.log(r);
> }
> 
> function rowUpdate(frm,row){
>   // var d = new DraftObj();
>   var d = new UpdateObj2();
>   d.setSyncMode(true);
>   d.setForm(frm);
>   d.setHTTPMethod('POST');
>   // d.doUpdate();
> 
>   // expect  d.doUpdate() to return "failed" or "success" string
>   // BUT it doesn't!
> 
>   // update {notes} field; 05/28/2008
>   document.getElementById(row).innerHTML = d.doUpdate();
> }
> 
> 
> Forgive me about the formatting and typo if any.
> 
> Thanks.
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325550
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Cannot declare local variable cfcatch twice

2009-08-19 Thread Adrian Lynch

Can we see your code?

> -Original Message-
> From: SANJEEV SINGLA [mailto:planetsanj...@gmail.com]
> Sent: 19 August 2009 07:43
> To: cf-talk
> Subject: Cannot declare local variable cfcatch twice
> 
> 
> Hi All,
> 
> 
> I migrated my CFMX6.1 application to CF8 on my local dev machine and
> getting the following error.
> 
> 
> Cannot declare local variable cfcatch twice. Local variables cannot
> have the same names as parameters or other local variables.
> 
> Please let me know how it can be resolved.
> 
> Thanks!
> Sanjeev


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325537
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: odd error calling function in cfc

2009-08-16 Thread Adrian Lynch

Yeah, reserved word seems unlikely.

Chances are you're overwriting add_option somewhere or the scoping is out
somehow.

I notice there's no var scope on your getOptions query, var scope everything
and see it that sorts things.

It's hard to say more without seeing the full CFC mind.

Adrian

> -Original Message-
> From: Charlie Griefer [mailto:charlie.grie...@gmail.com]
> Sent: 16 August 2009 04:24
> To: cf-talk
> Subject: Re: odd error calling function in cfc
> 
> 
> I'd be really surprised if that was the actual issue.  if add_option
> was a
> reserved word, your initial iteration of the loop would have thrown the
> error (you said it would successfully complete the first iteration and
> then
> break).
> 
> I'm not sure what the issues is, I'm just saying I'd be surprised if it
> turned out to be the variable name, in this case :)
> 
> On Sat, Aug 15, 2009 at 7:57 PM, Mike Little 
> wrote:
> 
> >
> > you kow what is was... it was the name of the function "add_option" -
> i
> > have renamed to "add_new_option" and it works.
> >
> > if someon could explain that one?? is it a reserved word?
> >
> >
> > > You don't really need the CFIF test, since CFOUTPUT will only
> render
> > > if
> > > there are records.  Simplify like the example below and see if it
> > > still
> > > gives you trouble.  If it does, then check that the add_option()
> > > method
> > > isn't erroring ...
> > >
> > > 
> > >  > > product_option_title=product_option_title)>
> > > 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325481
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Records set in CFStruct

2009-08-12 Thread Adrian Lynch









...


There are other ways, but this is one that'll work.

Adrian

> -Original Message-
> From: Matthew Allen [mailto:a.matthe...@yahoo.com]
> Sent: 12 August 2009 12:21
> To: cf-talk
> Subject: Records set in CFStruct
> 
> 
> Can someone please point me to the right direction.
> 
> I am returning two result sets from a single query (stored proc). When
> I CFDUMP query as in  i get the two record
> sets displayed below. The question is how do I use cfoutput to display
> the record set below;
> 
> Thanks
> 
> struct
...SNIP...
> 
> 
> 
> The code.
> 
> 
>  returntype="struct">
>   
>default="0">
> 
> 
>   
>procedure="usp_navigation">
>value="#arguments.permission#">
>   
>   
> 
> 
>   
>   
>   
> 
>   
> 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325369
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Can you detect if CF page is loaded in Flex I-Frame?

2009-08-08 Thread Adrian Lynch

That's fair enough.

Dump the CGI scope, see if there's anything else of interest.

> -Original Message-
> From: Gordon Nall [mailto:gordon_trav...@yahoo.com]
> Sent: 08 August 2009 22:22
> To: cf-talk
> Subject: Re: Can you detect if CF page is loaded in Flex I-Frame?
> 
> 
> Just tested the CGI.HTTP_USER_AGENT, not gonna work. I think thats more
> about what browser your using, as I just tested it & it's the same
> whether Flex called it into an I-Frame or CF delivers as stand-alone
> page.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Can you detect if CF page is loaded in Flex I-Frame?

2009-08-08 Thread Adrian Lynch

Check if CGI.HTTP_USER_AGENT contains something different for Flex requests.

Adrian

> -Original Message-
> From: Gordon Nall [mailto:gor...@imgstudios.com]
> Sent: 08 August 2009 21:54
> To: cf-talk
> Subject: Can you detect if CF page is loaded in Flex I-Frame?
> 
> 
> Question: Is there a way in ColdFusion to detect if the CF page is
> displayed
> in a Flex I-Frame?
> 
> 
> 
> Here's my dilemma - I have a Flex Store that loads a CF Community in an
> I-Frame. The client wants to send out links that go directly to
> sections of
> the CF Community. So how can I tell if a user is loading the page in an
> I-Frame within the Flex App, or as it's own stand-alone CF page? I need
> to
> know so when a user links directly into the Community, I can display a
> link
> to launch the Flex store, but hide the link when they are already in
> the
> Flex store & merely navigating within the I-Frame.
> 
> 
> 
> My initial thought was to change the links within Flex that open the I-
> Frame
> to contain a URL variable, such as "community.cfm?iframe=1", which I
> would
> detect in CF & then add that (iframe=1) onto each link throughout the
> community, so as the user navigates around within the I-Frame, I know.
> Similarly, if the user navigates directly into the Community, I know
> that
> and can display a link to load the Flex store.
> 
> 
> 
> Is there an easier, more elegant solution? Thx,
> 
> -- Gordon


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325304
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: WebService Axis Issues

2009-08-07 Thread Adrian Lynch

I get the same on CF8 and on Railo I get:

org.xml.sax.SAXException: Deserializing parameter 'GetVersionInfoResponse':
could not find deserializer for type {urn:IWS}GetVersionInfoResponseType

Sorry that's not much help.

Adrian

> -Original Message-
> From: Jeremy Rottman [mailto:rottm...@gmail.com]
> Sent: 07 August 2009 23:09
> To: cf-talk
> Subject: WebService Axis Issues
> 
> 
> I am working with a webservice and the issues I am having with it are
> not what you would call typical.
> 
> When I make the call to the webservice I get the following error.
> AxisFault
>  faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode:
>  faultString: org.xml.sax.SAXException: Invalid element in
> IWS_pkg.GetVersionInfoResponseType - Version
>  faultActor:
>  faultNode:
>  faultDetail:
>   {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> Invalid element in IWS_pkg.GetVersionInfoResponseType - Version
>   at
> org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserial
> izer.java:258)
>   at
> org.apache.axis.encoding.DeserializationContext.startElement(Deserializ
> ationContext.java:1035)
>   at
> org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java
> :165)
>   at
> org.apache.axis.message.MessageElement.publishToHandler(MessageElement.
> java:1141)
>   at
> org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
>   at
> org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
>   at org.apache.axis.client.Call.invoke(Call.java:2448)
>   at org.apache.axis.client.Call.invoke(Call.java:2347)
>   at org.apache.axis.c... ''
> 
> The method on the webservice is fairly simple. It simply returns a soap
> response.
> 
> This is the soap request that is generated (using eclipse wtp)
> -  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:q0="urn:IWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> - 
>   
>   
>   
> 
> This is the soap response that is returned (again using eclipse wtp)
> -  ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:SOAP-
> ENC="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> - 
> - 
>   Intelius WebServices v1.0.1
>   
>   
>   
> 
> Here is the coldfusion code I am working with:
> https://api.intelius.com/iws-
> all.php?wsdl")>
> 
> 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Looping with BufferedReader.readLine() and comparing to NULL

2009-07-31 Thread Adrian Lynch

Why didn't I try the obvious one first, IsDefined()!













Seems to work a treat.

Adrian

> -Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: 31 July 2009 16:01
> To: cf-talk
> Subject: Looping with BufferedReader.readLine() and comparing to NULL
> 
> 
> Hey all, I'm trying to get an alternative to cfexecute working and I'm
> wondering how to loop with a call to BufferedReader.readLine().
> 
> Here's the code:
> 
>   
>   
>   
>"java.io.InputStreamReader").init(errStream)>
>"java.io.BufferedReader").init(errInputStreamReader)>
> 
>   
>Chr(10)>
>   
> 
> The loop is hardcoded to run 20 times, but what I really need is to be
> able
> to do something like:
> 
>   while bufferedErrRead.readLine() != null
> 
> Any ideas on how to do a check for a Java null in CF?
> 
> Cheers.
> 
> Adrian


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325145
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Looping with BufferedReader.readLine() and comparing to NULL

2009-07-31 Thread Adrian Lynch

Hey all, I'm trying to get an alternative to cfexecute working and I'm
wondering how to loop with a call to BufferedReader.readLine().

Here's the code:











The loop is hardcoded to run 20 times, but what I really need is to be able
to do something like:

while bufferedErrRead.readLine() != null

Any ideas on how to do a check for a Java null in CF?

Cheers.

Adrian




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325144
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT javascript

2009-07-30 Thread Adrian Lynch

That's ok. Having duplicate names is cool.

Adrian

> -Original Message-
> From: Chad Gray [mailto:cg...@careyweb.com]
> Sent: 30 July 2009 16:46
> To: cf-talk
> Subject: RE: OT javascript
> 
> 
> When you submit it makes a comma delimited list of ID's that we loop
> over and use.
> 
> Some pages have one select on them, some pages have 10 selects on them.
> So rather than making them uniquely named and tracking how many of them
> we just loop over the comma delimited list.
> 
> 
> 
> 
> > -Original Message-
> > From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com]
> > Sent: Thursday, July 30, 2009 11:38 AM
> > To: cf-talk
> > Subject: Re: OT javascript
> >
> >
> > Why would you have two selects with the same name? Radio Buttons?
> Sure.
> > But not selects...


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325125
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT javascript

2009-07-30 Thread Adrian Lynch

You can in FF3.

You have some typos that'll stop it working though.

A closing double quote for the name attribute in your selects.

You need a . in between the [0] options.

Have a look at using jQuery though. It'll make this code a lot smaller.

Adrian

> -Original Message-
> From: Chad Gray [mailto:cg...@careyweb.com]
> Sent: 30 July 2009 16:20
> To: cf-talk
> Subject: OT javascript
> 
> 
> Say I have two select inputs on one page and they are named the same.
> 
> Please Select
> 1
> 
> 
> Please Select
> 1
> 
> 
> I want to write javascript to check that both of these are not left
> blank or in their default stage of "Please Select".
> 
> Can I do this in javascript ID[0] to get the value of the first one?
> 
> var
> ID=document.orderForm.ID[0]options[document.orderForm.ID[0].selectedInd
> ex].value;
> var
> ID2=document.orderForm.ID[1]options[document.orderForm.ID[1].selectedIn
> dex].value;


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325121
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFC Error on CF8 (Same working on CFMX 6.1)

2009-07-29 Thread Adrian Lynch

Run the page in Firefox with Firebug installed for a better error message.

Post your code for CallWebService() if you can.

Adrian

> -Original Message-
> From: SANJEEV SINGLA [mailto:planetsanj...@gmail.com]
> Sent: 29 July 2009 13:44
> To: cf-talk
> Subject: CFC Error on CF8 (Same working on CFMX 6.1)
> 
> 
> Hi All,
> 
> I am moving my old CFMX 6.1 code to CF8 for setting up some local
> environment. Most of the things are already set up or chnaged as per
> requirements. But I am getting an error while executing the following
> code (this line of code is in a java script library).
> 
> var text=
> CallWebService("/Components/WS/wsabc.cfc?WSDL","sgetCMPFilter",params,"
> XML");
> 
> -- Call WebService is a custom witten javascript function to call the
> cfc functions (defined in separate js file).
> -- This is executing fine on CFMX 6.1 on development environment.
> 
> I am geeting the Object Required java script error. (sgetCMPFilter is
> CFC method defined in a cfc file). When I actually tried to look what's
> happeing, I saw that no data is being returned by calling
> CallWebService function.
> 
> I am wondering about the cause of the problem as the same code is
> working fine on CFMX 6.1 but not on CF8.1.
> 
> Please Help.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Question re: Reactor

2009-07-28 Thread Adrian Lynch

Have you checked the table definitions are the same between dev and staging?
It's possible to import/export/script tables and defaults not to go across
too.

Adrian

> -Original Message-
> From: Nathan Strutz [mailto:str...@gmail.com]
> Sent: 28 July 2009 05:30
> To: cf-talk
> Subject: Re: Question re: Reactor
> 
> 
> Caroline,
> 
> There haven't been very many big changes in Reactor for a few years.
> You
> should update to the latest version and see what breaks. (but no, I
> can't
> confirm that it works or doesn't in SQL2005)
> 
> You may be able to win if you just update reactor, (making sure to
> delete
> the cache files in the reactor directory) and refreshing your app...
> 
> nathan strutz
> [Blog and Family @ http://www.dopefly.com/]
> [AZCFUG Manager @ http://www.azcfug.org/]
> [Twitter @nathanstrutz]
> 
> 
> On Mon, Jul 27, 2009 at 4:47 PM, Caroline Wise 
> wrote:
> 
> >
> >  We have a rather old application that uses an early version of
> Reactor
> > (vintage 2006-ish). It works fine with SQL 2000 in the development
> > environment. We don't get many change requests for this app so while
> it
> > gets
> > a lot of use in the production environment, things on dev and staging
> are
> > pretty quiet. Recently I had to make an extremely minor content
> update and
> > it turned out that the staging box version had an issue inserting a
> new
> > user, a problem we could not duplicate in development or production.
> >
> > When I compared the the Reactor code it turned out that it was
> different
> > for
> > this part of the application. The user table is using some defaults
> and
> > they
> > were not picked up in the Reactor code. The client, who has control
> over
> > the
> > staging environment, updated the database to SQL 2005 some time ago
> and my
> > suspicion is that our version of Reactor can't cope.
> >
> > I'm wondering if anyone out there is using a newer version of Reactor
> and
> > can confirm that it works fine with SQL 2005. Also of course I'm
> trying to
> > gauge the risk and effort involved with updating Reactor to that
> newer
> > version. Would I have to replace the whole thing or are we talking
> about
> > something akin to a plugin for 2005?
> >
> > Thanks in advance for your insights,
> >
> >
> > Caroline Wise


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325028
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Converting Year to Integer

2009-07-25 Thread Adrian Lynch

But then to take Azadi's point 4 and change it for this:

4) again, the simple


ALWAYS works.

Something else is amiss.

> -Original Message-
> From: N K [mailto:neetukais...@gmail.com]
> Sent: 24 July 2009 18:48
> To: cf-talk
> Subject: Re: Converting Year to Integer
> 
> 
> The whole idea of not using  "to="#year(now())#" and declaring it is
> because the currYear  variable is used at more than one place.
> 
> So if the variable is set used CFSET then there are couple of
> modifications required.
> 
> NK
> 
> >1) year(now()) returns an integer - there is no need to call int()
> >function on it.
> >
> >2) the ... line in your code is totally useless and
> unnecessary.
> >
> >3) is this code of yours in a cfm page or in a cfc function?
> >
> >4) again, the simple
> >
> >ALWAYS works.
> >
> >
> >Azadi Saryev
> >Sabai-dee.com
> >http://www.sabai-dee.com/


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Converting Year to Integer

2009-07-24 Thread Adrian Lynch

Right but something else is wrong.

Azadi's example is about as simple as it gets. Something else in your code
is causing the problem.

> -Original Message-
> From: N K [mailto:neetukais...@gmail.com]
> Sent: 24 July 2009 15:09
> To: cf-talk
> Subject: Re: Converting Year to Integer
> 
> 
> currYear with out codes and inside ## sign WORKS !!!
> 
> 
> 
> NK
> 
> 
> >simple 
> >should work just fine.
> >
> >
> >Azadi Saryev
> >Sabai-dee.com
> >http://www.sabai-dee.com/
> >
> >
> >On 24/07/2009 21:31, N K wrote:
> >> 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324938
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Converting Year to Integer

2009-07-24 Thread Adrian Lynch

And failing that, post all your code...

> -Original Message-
> From: Dave Sueltenfuss [mailto:dsueltenf...@gmail.com]
> Sent: 24 July 2009 14:56
> To: cf-talk
> Subject: Re: Converting Year to Integer
> 
> 
> Have you tried outputing your currYear variable, to make sure it is
> what you
> expect?
> 
> On Fri, Jul 24, 2009 at 9:47 AM, N K  wrote:
> 
> >
> > Yes thats a typo in my email.Adding ## sign does not help 
> >
> > The error coming up is
> >  Attribute validation error for the CFLOOP tag.
> > The value of the TO attribute is invalid. The value cannot be
> converted to
> > a numeric because it is not a simple value.Simple values are
> booleans,
> > numbers, strings, and date-time values.
> >
> >
> > Thank You
> > NK
> >
> > >Is Year((now)) a typo in your email?
> > >
> > >If not, try Year(Now()) and you will need the #'s in the to
> attribute of
> > >cfloop.
> > >
> > >Adrian


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324931
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Converting Year to Integer

2009-07-24 Thread Adrian Lynch

Is Year((now)) a typo in your email?

If not, try Year(Now()) and you will need the #'s in the to attribute of
cfloop.

Adrian

> -Original Message-
> From: N K [mailto:neetukais...@gmail.com]
> Sent: 24 July 2009 14:31
> To: cf-talk
> Subject: Converting Year to Integer
> 
> 
> I am looping the records starting from the Year 2000 to current year.
> But some how the the CFLOOP gives me an error stating "Can not convert
> into number"
> 
> I tried the following ,any idea how to fix the issue:--
> 
> 
> 
> 
> 
> 
> 
> 
>  #yearCnt#
> 
> 
> 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324925
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 functions only working in webroot?

2009-07-22 Thread Adrian Lynch

All the AJAXy tags and function access files in domain.com/cfide/blaa/blaa.

Add CFIDE as a virtual directory in your new sites and see if that fixes it.

Adrian

> -Original Message-
> From: Paul Henderson [mailto:pa...@d2phosting.com]
> Sent: 22 July 2009 21:14
> To: cf-talk
> Subject: CF8 functions only working in webroot?
> 
> 
> I'm not sure why this is but I'm working on a new CF8 install using IIS
> and
> for whatever reason the CF8 functions such as cflayout only seem to
> work in
> the webroot and default site. All other CF functionality works on the
> sub
> sites. Any ideas why I'm facing this issue?
> 
> 
> 
> Thanks in advance
> 
> -Paul


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: getDirectoryFromPath Question

2009-07-20 Thread Adrian Lynch

I could be wrong, but I remember that not being the case a good while back.

Both fileField and FORM.fileField would work in the filefield attribute.

Am I mistaken?

Adrian

> -Original Message-
> From: Jason Fisher [mailto:ja...@wanax.com]
> Sent: 20 July 2009 19:32
> To: cf-talk
> Subject: RE: getDirectoryFromPath Question
> 
> 
> Not a surprise, really.  The fileField tells CF to look for that
> variable
> name in the FORM scope, so that if it was a custom tag, for instance,
> CF
> would try this:  form[attributes.filefield].  form[form.filefield]
> would in
> invalid in that case ...


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: getDirectoryFromPath Question

2009-07-20 Thread Adrian Lynch

What does this show you:

#application.physpath#data\

> -Original Message-
> From: Hunsaker, Michael Scott [mailto:mhuns...@indiana.edu]
> Sent: 20 July 2009 17:49
> To: cf-talk
> Subject: RE: getDirectoryFromPath Question
> 
> 
> Thanks for the help!  Here's my CFFILE function:
> 
>  filefield = "form.embarkFile"
> destination   = "#application.physpath#data\"
> nameconflict  = "overwrite"
> accept= "text/plain"
> attributes= "Normal" />
> 
> The #application.physpath# is declared as
> #getdirectoryfrompath(expandpath('*.*'))# in the application.cfc.
> 
> The form.embarkFile is uploaded in the self-posting form.  So between
> the destination and fileField, the CFFILE should be okay... right?
> 
> Thanks for the help!!  I really appreciate it!
> 
> Mike
> 
> -Original Message-
> From: Rick Root [mailto:rick.r...@webworksllc.com]
> Sent: Monday, July 20, 2009 9:56 AM
> To: cf-talk
> Subject: Re: getDirectoryFromPath Question
> 
> 
> On Mon, Jul 20, 2009 at 9:23 AM, Hunsaker, Michael
> Scott wrote:
> >
> > #getdirectoryfrompath(expandpath('*.*'))#
> >
> > That returns the same thing.  However, when I use the function above
> as the "destination" in the CFFILE function, it returns an error.  The
> error says:
> >
> > "The value of the attribute destination, which is currently
> G:\Inetpub\wwwroot\, is invalid."
> >
> > For some reason it adds a comma at the end of the physical path but I
> can't figure out why.  Any ideas?  I would appreciate any help.
> 
> What others said, the comma is part of the error message, not the
> value.
> 
> Can we see the full CFFILE?
> 
> You probably need a filename there, not a directory path.
> 
> 
> 
> 
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324728
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: getDirectoryFromPath Question

2009-07-20 Thread Adrian Lynch

Not sure exactly, but I always do this:

ExpandPath(".")

rather than this:

ExpandPath("*.*")

Try removing the *'s and see what happens.

Adrian

> -Original Message-
> From: Hunsaker, Michael Scott [mailto:mhuns...@indiana.edu]
> Sent: 20 July 2009 14:24
> To: cf-talk
> Subject: getDirectoryFromPath Question
> 
> 
> Hello -
> 
> I've noticed something strange when using the getDirectoryFromPath
> function and wanted to see if anyone else has seen this.  It's probably
> something I'm doing incorrectly.  Here's what I'm doing:
> 
> In the application.cfc, I created an application variable to hold the
> physical path of the web site files.  Instead of manually entering the
> physical path (G:\ Inetpub\wwwroot), I used the getDirectoryFromPath
> function like this:
> 
> #getdirectoryfrompath(expandpath('*.*'))#
> 
> That returns the same thing.  However, when I use the function above as
> the "destination" in the CFFILE function, it returns an error.  The
> error says:
> 
> "The value of the attribute destination, which is currently
> G:\Inetpub\wwwroot\, is invalid."
> 
> For some reason it adds a comma at the end of the physical path but I
> can't figure out why.  Any ideas?  I would appreciate any help.
> 
> Thanks!!
> 
> Mike
> 
> Mike Hunsaker
> Assistant Director of Information Systems
> Kelley School of Business MBA Program
> 1275 East Tenth Street, Suite 2010
> Bloomington, IN 47405
> 812.855.7024
> mhuns...@indiana.edu
> 
> Advance your career. Enhance your life.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SSOT: open source software

2009-07-20 Thread Adrian Lynch

Well you're talking about Railo or OpenBD, which is it and what problem are
you having?

Adrian

> -Original Message-
> From: Don L [mailto:do...@yahoo.com]
> Sent: 20 July 2009 03:53
> To: cf-talk
> Subject: SSOT: open source software
> 
> 
> Particularly related to ColdFusion.  I understand open source software
> is not free software.  So, to get "everything" working one has to pay
> something if he/she does not have the time or expertise to dig
> everything... and that seems fair, but if someone is asking about
> thousand or thousands of dollars upfront, I don't think that's a
> productive way of moving forward...  Also, you may hear something like
> this, this key person is on vacation and will be back in like two weeks
> or you need patience, in the business world, every day counts (you
> snooze you lose).  This ranting is for the benefit of whose who are
> considering switch from Adobe ColdFusion to other options.  I'm not
> suggesting not to make the switch but think twice or better talk to the
> key person of the product you intend to switch to and possibly strike a
> deal or at least obtain his/her support first otherwise your
> conversion/switch would be at the mercy of others.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324709
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Calling .ASPX.VB from .CFM

2009-07-18 Thread Adrian Lynch

Yes. Chances are you need to pass arguments along with your method call.

Adrian

> -Original Message-
> From: Jason Neidert [mailto:ja...@steelfusion.com]
> Sent: 17 July 2009 18:50
> To: cf-talk
> Subject: RE: Calling .ASPX.VB from .CFM
> 
> 
> Here is a link to the .WSDL file:
> http://lutsen.steelfusion.com/winter/rates_packages/packages/rdp/rdp/rd
> pweb/
> IRMPublic.wsdl
> 
> So I tried this:
>  
> webservice="http://lutsen.steelfusion.com/winter/rates_packages/package
> s/rdp
> /rdp/rdpweb/IRMPublic.wsdl"
> method="CheckAvailability"
> returnvariable="aTemp">
> 
> 
> 
> 
> 
> To call this code:
> http://lutsen.steelfusion.com/winter/rates_packages/packages/rdp/act_ca
> llDot
> Net.cfm
> 
> It tells me that CheckAvailability cannot be found. I can see the it
> though
> in the wsdl file. Am I calling incorrectly?
> 
> Thanks again,
> Jason


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324693
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Reality check

2009-07-07 Thread Adrian Lynch

The reason I asked is because  will error unless
null is defined. I thought maybe there was some Java magic going on a few
lines up.

> -Original Message-
> From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
> Sent: 07 July 2009 18:27
> To: cf-talk
> Subject: Re: Reality check
> 
> 
> Like I mentioned before, this is badly written code and apparently,
> it's being held together by some gum and duct tape (TAKE THAT
> MCGUYVER!) :)
> 
> Anyway, yeah. I hope to be able to convince the guy to just let me
> overhaul the entire thing as there's allot of things like this.
> 
> On Tue, Jul 7, 2009 at 10:23 AM, Adrian
> Lynch wrote:
> >
> > 
> >
> > Ermmm, since when has this worked?!
> >
> > Do you create your own null variable?
> >
> > Adrian
> >
> >> -Original Message-
> >> From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
> >> Sent: 07 July 2009 17:24
> >> To: cf-talk
> >> Subject: Re: Reality check
> >>
> >>
> >> As for the error message..
> >>
> >>  The WEEKDAYDAO argument passed to the init function is not of type
> >> ScheduleTimeDAO.
> >> If the component name is specified as a type of this argument, its
> >> possible that a definition file for the component cannot be found or
> >> is not accessible.
> >>
> >> The error occurred in
> >> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6
> >> Called from
> >> C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc:
> >> line 22
> >> Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line
> 22
> >>
> >> 4 :     
> >> 5 :
> >> 6 :      >> returntype="ScheduleDAO">
> >> 7 :              >> required="true">
> >> 8 :              >> required="true">
> >>
> >> The main thing that makes me suspect that it's code is that I'm
> >> accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly
> >> pointing to
> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc
> >>
> >>
> >> On Tue, Jul 7, 2009 at 9:23 AM, Phillip
> >> Vector wrote:
> >> > The files were given to me as is and I was told they work fine on
> his
> >> > windows dev machine. The more I think about it, the more I'm
> >> wondering
> >> > if I don't have the files that are on the server, or his remake of
> it
> >> > (he said only the admin directory works currently, but on the
> site,
> >> > the non-admin files work).
> >> >
> >> > I'm installing a virtural machine and seeing about eliminating all
> >> > possible issues with the server config.
> >> >
> >> > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C.
> >> Smith wrote:
> >> >>
> >> >> Don't forget about case-sensitivity of filenames.  Especially on
> >> includes and such.
> >> >>
> >> >>> -Original Message-
> >> >>> From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
> >> >>> Sent: Tuesday, July 07, 2009 10:25 AM
> >> >>> To: cf-talk
> >> >>> Subject: Reality check
> >> >>>
> >> >>>
> >> >>> Just need confirmation that I'm not losing it..
> >> >>>
> >> >>> I have apache running on my dev server. A client gave me his
> files
> >> and
> >> >>> I'm trying to get them set up on my local server (he is running
> >> IIS).
> >> >>>
> >> >>> However, after I create the mappings in CF and go to the
> directory
> >> >>> that in his IIS, he has set to default to, I get a ColdFusion
> error
> >> >>> (some variable is a complex variable or some such). It finds the
> >> files
> >> >>> and the cfc as well.
> >> >>>
> >> >>> So.. It isn't that I'm using Apache and they are using IIS..
> Right?
> >> >>> The code is just broke.
> >> >>>
> >> >>> or am I missing something here?
> >
> >
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324320
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Reality check

2009-07-07 Thread Adrian Lynch



Ermmm, since when has this worked?!

Do you create your own null variable?

Adrian

> -Original Message-
> From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
> Sent: 07 July 2009 17:24
> To: cf-talk
> Subject: Re: Reality check
> 
> 
> As for the error message..
> 
>  The WEEKDAYDAO argument passed to the init function is not of type
> ScheduleTimeDAO.
> If the component name is specified as a type of this argument, its
> possible that a definition file for the component cannot be found or
> is not accessible.
> 
> The error occurred in
> C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc: line 6
> Called from
> C:\Webpages\VinoVisit\vv_loc\cfcs\schedules\ScheduleBuilder.cfc:
> line 22
> Called from C:\Webpages\VinoVisit\vv_loc\admin\application.cfc: line 22
> 
> 4 : 
> 5 :
> 6 :  returntype="ScheduleDAO">
> 7 :  required="true">
> 8 :  required="true">
> 
> The main thing that makes me suspect that it's code is that I'm
> accessing http://127.0.0.1/Testing/vv_loc/admin/ and it's correctly
> pointing to C:\Webpages\Testing\vv_loc\cfcs\schedules\ScheduleDAO.cfc
> 
> 
> On Tue, Jul 7, 2009 at 9:23 AM, Phillip
> Vector wrote:
> > The files were given to me as is and I was told they work fine on his
> > windows dev machine. The more I think about it, the more I'm
> wondering
> > if I don't have the files that are on the server, or his remake of it
> > (he said only the admin directory works currently, but on the site,
> > the non-admin files work).
> >
> > I'm installing a virtural machine and seeing about eliminating all
> > possible issues with the server config.
> >
> > On Tue, Jul 7, 2009 at 9:18 AM, Nathan C.
> Smith wrote:
> >>
> >> Don't forget about case-sensitivity of filenames.  Especially on
> includes and such.
> >>
> >>> -Original Message-
> >>> From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
> >>> Sent: Tuesday, July 07, 2009 10:25 AM
> >>> To: cf-talk
> >>> Subject: Reality check
> >>>
> >>>
> >>> Just need confirmation that I'm not losing it..
> >>>
> >>> I have apache running on my dev server. A client gave me his files
> and
> >>> I'm trying to get them set up on my local server (he is running
> IIS).
> >>>
> >>> However, after I create the mappings in CF and go to the directory
> >>> that in his IIS, he has set to default to, I get a ColdFusion error
> >>> (some variable is a complex variable or some such). It finds the
> files
> >>> and the cfc as well.
> >>>
> >>> So.. It isn't that I'm using Apache and they are using IIS.. Right?
> >>> The code is just broke.
> >>>
> >>> or am I missing something here?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324317
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Reg:Last modified Date for file

2009-07-07 Thread Adrian Lynch

Dump qGetLastdateModified to see what's being returned as your code looks
sound.

Adrian

> -Original Message-
> From: RamaDevi Dobbala [mailto:ramadobb...@gmail.com]
> Sent: 07 July 2009 10:57
> To: cf-talk
> Subject: Re: Reg:Last modified Date for file
> 
> 
> 
> 
> 
>
> directory="#application.domainname#\sections\uploads\xfer\"
>filter="#page#"
>name="qGetLastdateModified">
>   #page# was last modified on :
> #DateFormat(qGetLastdateModified.dateLastModified, "mm/dd/")#
> 
> 
> 
> i am wrikting this query but i am not able to see date, for me just i
> am able to see till this (  #page# was last modified on :), after this
> modified date is not printing, why it is happening like this, is there
> any thing wrong in this code?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Last modified Date for file

2009-07-07 Thread Adrian Lynch

Try GetFileInfo() on CF8.

Not sure how reliable the date last modified attribute is though. Doesn't it
get updated with any kind of access? Maybe I'm thinking of something else.

Adrian

> -Original Message-
> From: RamaDevi Dobbala [mailto:ramadobb...@gmail.com]
> Sent: 07 July 2009 10:39
> To: cf-talk
> Subject: Reg:Last modified Date for file
> 
> 
> I need help on this, can any one tell me that, how can i get the last
> modified date of a file, because every day my file is going to update
> i.e some scheduler is runnign for that.Just i need last modified date
> of that file.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324281
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: New CF8 vulnerability

2009-07-05 Thread Adrian Lynch

If you mean your FCKEditor is accessed in a secure area, I don't think that
matters. It's whether or not certain scripts can be accessed at
yourdomain.com/cfide/scripts/bla/bla/eek.cfm.

Someone correct me if this isn't the case...

Adrian

> -Original Message-
> From: Matt Robertson [mailto:websitema...@gmail.com]
> Sent: 04 July 2009 05:01
> To: cf-talk
> Subject: Re: New CF8 vulnerability
> 
> 
> Supposedly on July 6 a new version will be released that is at least
> better, if not 'fixed'.
> 
> Kind of glad I put mine behind logins from the get-go.  I am guessing
> that this affects all FCKEditor installations and not just CF8's
> cftextarea.
> 
> Way back when, an earlier cf connector was so full of holes I wound up
> rewriting it with another developer's help and posting it on their
> forum.  Guess that since then its code got a lot more complex but not
> a lot better.
> 
> --
> -...@robertson--
> Janitor, The Robertson Team
> mysecretbase.com



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324222
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: New CF8 vulnerability

2009-07-03 Thread Adrian Lynch

I don't seem to have the same file directory as that posted in the second
link. Instead I have:

\CFIDE\scripts\ajax\FCKeditor\editor\filemanager\upload\cfm\config.cfm

and:

\CFIDE\scripts\ajax\FCKeditor\editor\filemanager\browser\default\connectors\
cfm\config.cfm

Both of these files look like they are encrypted.

Am I missing something?

Adrian

> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: 03 July 2009 00:17
> To: cf-talk
> Subject: New CF8 vulnerability
> 
> 
> You may want to check for this on any clients/projects you've worked
> with:
> http://isc.sans.org/diary.html?storyid=6715
> 
> Remediation steps available here:
> http://www.codfusion.com/blog/post.cfm/cf8-and-fckeditor-security-
> threat
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> 
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324179
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: query object error

2009-06-30 Thread Adrian Lynch



> -Original Message-
> From: Kamru Miah [mailto:k.m...@csl.gov.uk]
> Sent: 30 June 2009 12:08
> To: cf-talk
> Subject: Re: query object error
> 
> 
> I just realised that the 'role' query form a include file is
> returntype="struct", and  not returntype="query" - dah!
> 
> So now the question is, how do I insert a value to the 'positions' cell
> of the structure, please?
> 
> >Could you show more of your code. This works for me.
> >
> >Oh and you don't need to assign to a temp var when using QuerySetCell.
> >
> >Adrian



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324060
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: query object error

2009-06-30 Thread Adrian Lynch

Could you show more of your code. This works for me.

Oh and you don't need to assign to a temp var when using QuerySetCell.

Adrian

> -Original Message-
> From: Kamru Miah [mailto:k.m...@csl.gov.uk]
> Sent: 30 June 2009 11:43
> To: cf-talk
> Subject: query object error
> 
> 
> I am using CF8 and I have a query object (with 1 record) called 'role'
> with the following 4 column names: groups, positions, role and teams.
> 
> I wish to work around a problem by inserting a value ('homeCla') to the
> 'positions' column/cell.
> 
> Using  gives
> me the following error (note that cfdump does show the query exists!):
> 
> 'The object (coldfusion.runtime.Struct) is not an query object.'
> 
> Any ideas how I can over come this problem please?
> 
> Thanks in anticipation.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324058
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 ColdFusion again

2009-06-23 Thread Adrian Lynch

Well we are in a credit crunch!

> For me, this makes cfwindow utterly redundant.
> 
> Dominic


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323806
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Application Scope Problem

2009-06-18 Thread Adrian Lynch

Sorry Paul, I was talking to Michael.

Just wanted to see how it was set because I've had similar errors but I put
it down to OnApplicationStart only partially completing because of an error
so some init code wasn't reached.

Adrian

> -Original Message-
> From: Paul Alkema [mailto:paulalkemadesi...@gmail.com]
> Sent: 18 June 2009 14:53
> To: cf-talk
> Subject: RE: Application Scope Problem
> 
> 
> Code Example
> 
>  application.translator=createObject("component",'packages.translator.tr
> ansla
> tor')>
> 
> 
> 
>  access="public"
> name="lookup"
> returntype="string"
> output="no"
> hint="Returns the text found for the given language and
> placeholder">
> 
>  required="yes">
>  type="string"
> required="yes">
> 
> 
> 
> 
> SELECT * FROM translations
> WHERE lang =  value="#language#">
> AND placeholder =  value="#placeholder#">
> 
> 
> 
>  >
> 
> SELECT * FROM translations
> WHERE lang = 'EN'
> AND placeholder =  value="#placeholder#">
> 
> 
> 
> 
> 
> 
>     
> 
>  #varName#
> %>", arguments[varName])>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> #application.translator.lookup(placeholder="testtext.69EE0E03",language
> =requ
> est.current_lang)#
> 
> 
> 
> -Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: Thursday, June 18, 2009 9:43 AM
> To: cf-talk
> Subject: RE: Application Scope Problem
> 
> 
> How are you setting the component in the app scope?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323636
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Application Scope Problem

2009-06-18 Thread Adrian Lynch

How are you setting the component in the app scope?

> -Original Message-
> From: Dawson, Michael [mailto:m...@evansville.edu]
> Sent: 18 June 2009 14:20
> To: cf-talk
> Subject: RE: Application Scope Problem
> 
> 
> We have had instances where a component, stored in the application
> scope, could not be found.
> 
> It is weird, because it works 99% of the time.
> 
> Thanks,
> Mike


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Simple regex question

2009-06-10 Thread Adrian Lynch

"There's a ISVIN function on CFLib and I had originally proposed to my boss
that I rewrite it in javascript but he didn't want that level of
functionality."

Just do it, don't ask the boss! :OD


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323355
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image killing server (RESOLVED)

2009-06-10 Thread Adrian Lynch

Dude and double dude! Excellent work :OD

To stop the errors we started looking in files for certain strings to
indicate the image would crap out CF.

Will let you know how we get on when we upgrade.

Adrian

> -Original Message-
> From: Mark Kruger [mailto:mkru...@cfwebtools.com]
> Sent: 09 June 2009 22:49
> To: cf-talk
> Subject: RE: Image killing server (RESOLVED)
> 
> 
> Adrian,
> 
> I have an explanation and a resolution for you. The problem is a buffer
> overrun in the ICC parser (a bit of color correction meta data that
> ships
> with the image).
> 
> To resolve it I upgraded my JVM from 1.6.0_04 to 1.6.0_14 ... But _05
> or
> above would do the trick I think.
> 
> I'll write a blog on it and give a more thorough explanation - but
> meanwhile, I found my best clues by looking not for ColdFusion related
> image
> issues, but javax.imagaio related image issues. I found this post:
> 
> http://www.securiteam.com/securitynews/5SP0E1PNQA.htm
> 
> Which lead me more closely examine the update (build) number of my JVM
> install.
> 
> I hope this helps you!
> 
> -Mark
> 
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
> 
> -Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: Tuesday, June 09, 2009 10:49 AM
> To: cf-talk
> Subject: RE: Image killing server
> 
> 
> Thanks Mark. You're right, I'm beginning to think I shouldn't have
> posted it
> on here now. I've submitted a bug report to Adobe.
> 
> When I open it in GIMP I get told "The image 'killer.jpg' has an
> embedded
> colour profile: eciRGB v2 ICCv4".
> 
> cftry/cfcatch doesn't help so the only way I can think of to spot this
> prior
> to using ImageRead() etc. is to read the file in with cffile and look
> for
> "eciRGB v2 ICCv4". But who's to say that will cover all the bases?
> 
> Adrian
> 
> > -Original Message-
> > From: Mark Kruger [mailto:mkru...@cfwebtools.com]
> > Sent: 09 June 2009 16:32
> > To: cf-talk
> > Subject: RE: Image killing server
> >
> >
> > Follow up:
> >
> > I can verify the image is able to be previewed and edited using
> > fireworks. I can't see anything unusual about it.
> >
> > I have to say if it's a something that is reproducible, it's going to
> > be an attack vector. I can think of 3 or 4 servers I manage that need
> > a fix for this pretty quickly if it becomes common knowledge.
> >
> > -Mark
> >
> >
> > Mark A. Kruger, CFG, MCSE
> > (402) 408-3733 ext 105
> > www.cfwebtools.com
> > www.coldfusionmuse.com
> > www.necfug.com
> >
> > -Original Message-
> > From: Mark Kruger [mailto:mkru...@cfwebtools.com]
> > Sent: Tuesday, June 09, 2009 10:27 AM
> > To: cf-talk
> > Subject: RE: Image killing server
> >
> >
> > Adrian,
> >
> > I verified your results on an 8.01 dev server running on my local XP
> > box.
> > Sure enough the service restarts.
> >
> > -Mark
> >
> >
> > Mark A. Kruger, CFG, MCSE
> > (402) 408-3733 ext 105
> > www.cfwebtools.com
> > www.coldfusionmuse.com
> > www.necfug.com
> >
> > -Original Message-
> > From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> > Sent: Tuesday, June 09, 2009 9:43 AM
> > To: cf-talk
> > Subject: Image killing server
> >
> >
> > Hey all, got a bit of a strange one here. A user is uploading an
> image
> > which GIMP is reporting to have an embedded colour profile of "".
> >
> > When I use any of the image functions on this image, CF dies.
> >
> > I posted a while ago but because it was only one user we converted it
> > manually and re-uploaded, now we're getting more of them.
> >
> > Could I ask for a sanity check by someone confirming that this image
> > is killing their server too?
> >
> > http://www.halestorm.co.uk/images/killer.jpg
> >
> > Download it, create a .cfm page and do
> > ImageRead(ExpandPath("./killer.jpg"))
> >
> > I get a blank page back then on refresh a message saying CF is
> > starting up.
> >
> > I'm on the bug report page at the moment but I thought I would get
> > someone else to test this also.
> >
> > Thanks.
> >
> > Adrian Lynch | www.halestorm.co.uk


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323329
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Send a textbox value to an object

2009-06-09 Thread Adrian Lynch



Adrian

> -Original Message-
> From: nikoo m [mailto:nikou...@yahoo.com]
> Sent: 09 June 2009 19:40
> To: cf-talk
> Subject: Send a textbox value to an object
> 
> 
> I have an object in ColdFusion that post message to twitter. It works
> well when I write my message in “  “ like line below.
> 
> 
> But I need to have a textbox, and type my message in textbox. I’m not
> sure how can get my textbox value here instead of this message,
> every think I tried give me an error. Can anybody help?
> 
> This is my code.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Your message postet to twitter
> 
> 
> 
> 
>   
>  ('username','password') />
> 
> 
> 
> 
> 
> 
> //here is problem - How I can get the value of textbox here instead of
> ("My message to poet is here")
> for example I thought it's Form.twittMessage but it doesn’t work.
> *
> 
> 
> 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323295
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image killing server

2009-06-09 Thread Adrian Lynch

Thanks Mark. You're right, I'm beginning to think I shouldn't have posted it
on here now. I've submitted a bug report to Adobe.

When I open it in GIMP I get told "The image 'killer.jpg' has an embedded
colour profile: eciRGB v2 ICCv4".

cftry/cfcatch doesn't help so the only way I can think of to spot this prior
to using ImageRead() etc. is to read the file in with cffile and look for
"eciRGB v2 ICCv4". But who's to say that will cover all the bases?

Adrian

> -Original Message-
> From: Mark Kruger [mailto:mkru...@cfwebtools.com]
> Sent: 09 June 2009 16:32
> To: cf-talk
> Subject: RE: Image killing server
> 
> 
> Follow up:
> 
> I can verify the image is able to be previewed and edited using
> fireworks. I
> can't see anything unusual about it.
> 
> I have to say if it's a something that is reproducible, it's going to
> be an
> attack vector. I can think of 3 or 4 servers I manage that need a fix
> for
> this pretty quickly if it becomes common knowledge.
> 
> -Mark
> 
> 
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
> 
> -Original Message-
> From: Mark Kruger [mailto:mkru...@cfwebtools.com]
> Sent: Tuesday, June 09, 2009 10:27 AM
> To: cf-talk
> Subject: RE: Image killing server
> 
> 
> Adrian,
> 
> I verified your results on an 8.01 dev server running on my local XP
> box.
> Sure enough the service restarts.
> 
> -Mark
> 
> 
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
> 
> -Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: Tuesday, June 09, 2009 9:43 AM
> To: cf-talk
> Subject: Image killing server
> 
> 
> Hey all, got a bit of a strange one here. A user is uploading an image
> which
> GIMP is reporting to have an embedded colour profile of "".
> 
> When I use any of the image functions on this image, CF dies.
> 
> I posted a while ago but because it was only one user we converted it
> manually and re-uploaded, now we're getting more of them.
> 
> Could I ask for a sanity check by someone confirming that this image is
> killing their server too?
> 
> http://www.halestorm.co.uk/images/killer.jpg
> 
> Download it, create a .cfm page and do
> ImageRead(ExpandPath("./killer.jpg"))
> 
> I get a blank page back then on refresh a message saying CF is starting
> up.
> 
> I'm on the bug report page at the moment but I thought I would get
> someone
> else to test this also.
> 
> Thanks.
> 
> Adrian Lynch | www.halestorm.co.uk


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Image killing server

2009-06-09 Thread Adrian Lynch

Ah, interesting!

> -Original Message-
> From: Azadi Saryev [mailto:az...@sabai-dee.com]
> Sent: 09 June 2009 16:24
> To: cf-talk
> Subject: Re: Image killing server
> 
> 
> hmm... worked just fine on my dev server...
> 
> 
> 
> 
> dumped me this nice struct:
> 
> struct
> colormodel:
>   [struct]
>   alpha_channel_support: NO
>   alpha_premultiplied: NO
>   bits_component_1: 8
>   bits_component_2: 8
>   bits_component_3: 8
>   colormodel_type: ComponentColorModel
>   colorspace: Any of the family of RGB color spaces
>   num_color_components: 3
>   num_components: 3
>   pixel_size: 24
>   transparency: OPAQUE
> height: 768
> source: ...\killer.jpg
> width: 1024
> 
> NOTE: my dev server *DOES NOT* have the 71557 cfimage hotfix installed
> (http://www.adobe.com/go/kb403411)
> 
> 
> Azadi Saryev
> Sabai-dee.com
> http://www.sabai-dee.com/
> 
> 
> On 09/06/2009 21:59, Adrian Lynch wrote:
> > Hey, thanks Jason, I did the blackout myself. It's an image for an
> awards
> > show so I thought it best to mask it.
> >
> > It is RGB, CMYK was our first thought too.
> >
> > Adrian
> >
> >> -Original Message-
> >> From: Jason Fisher [mailto:ja...@wanax.com]
> >> Sent: 09 June 2009 15:54
> >> To: cf-talk
> >> Subject: re: Image killing server
> >>
> >>
> >> Just looking at the link you sent in a browser, the image is nearly
> all
> >> black, which makes me think it's a CMYK jpeg, instead of an RGB
> jpeg.
> >> Browsers and the Adobe image engine can't handle the CMYK ... that's
> my
> >> guess.
> >
> >
> >
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323272
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Image killing server

2009-06-09 Thread Adrian Lynch

Of course ;O)

Still kills our servers.

Has anyone witnessed it yet?

> -Original Message-
> From: Robert Harrison [mailto:rob...@austin-williams.com]
> Sent: 09 June 2009 16:15
> To: cf-talk
> Subject: RE: Image killing server
> 
> 
> > I did the blackout myself.
> 
> Yes, but that also means you altered the image and we're no longer
> looking
> at the image you have a problem with.
> 
> Did you verify the CF function fails on this version of the image?
> 
> 
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
> 
> Great advertising can't be either/or.  It must be &.
> 
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
> 
> 
> __ Information from ESET Smart Security, version of virus
> signature
> database 4141 (20090609) __
> 
> The message was checked by ESET Smart Security.
> 
> http://www.eset.com
> 
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323269
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image killing server

2009-06-09 Thread Adrian Lynch

Hey, thanks Jason, I did the blackout myself. It's an image for an awards
show so I thought it best to mask it.

It is RGB, CMYK was our first thought too.

Adrian

> -Original Message-
> From: Jason Fisher [mailto:ja...@wanax.com]
> Sent: 09 June 2009 15:54
> To: cf-talk
> Subject: re: Image killing server
> 
> 
> Just looking at the link you sent in a browser, the image is nearly all
> black, which makes me think it's a CMYK jpeg, instead of an RGB jpeg.
> Browsers and the Adobe image engine can't handle the CMYK ... that's my
> guess.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323266
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Image killing server

2009-06-09 Thread Adrian Lynch

Hey all, got a bit of a strange one here. A user is uploading an image which
GIMP is reporting to have an embedded colour profile of "".

When I use any of the image functions on this image, CF dies.

I posted a while ago but because it was only one user we converted it
manually and re-uploaded, now we're getting more of them.

Could I ask for a sanity check by someone confirming that this image is
killing their server too?

http://www.halestorm.co.uk/images/killer.jpg

Download it, create a .cfm page and do ImageRead(ExpandPath("./killer.jpg"))

I get a blank page back then on refresh a message saying CF is starting up.

I'm on the bug report page at the moment but I thought I would get someone
else to test this also.

Thanks.

Adrian Lynch | www.halestorm.co.uk




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323264
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: reducing a query result

2009-06-04 Thread Adrian Lynch

Query the query using the same query variable name.

Adrian

> -Original Message-
> From: Chad Gray [mailto:cg...@careyweb.com]
> Sent: 04 June 2009 16:07
> To: cf-talk
> Subject: reducing a query result
> 
> 
> Say I have a query returned with 500 records.
> 
> Is there a way in CF (not SQL) to reduce the query to only rows 1-50,
> 51-100 etc?
> 
> I talking physically reducing the query object.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323167
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Help ColdFusion Output URGENT

2009-06-01 Thread Adrian Lynch

Come on dude, you've been told before, help us by asking better questions!

What doesn't work?

Format your code so it's easy for us to see what's going on, I can't be
bothered to look through your code because it's all over the place.

If the query is correct and the problem lies in the output, why include the
big ol' query?

Oh and... why oh why do you put 'urgent' in the subject line, it's not
urgent to me?!

Adrian

> -Original Message-
> From: erik tom [mailto:erik.tso...@jhu.edu]
> Sent: 01 June 2009 19:18
> To: cf-talk
> Subject: Help ColdFusion Output URGENT
> 
> 
> I have a query which list all the Team members, their Area MANagers,
> Region Managers, Locations and so on .
>  What i need to do is to display each managers(name)
> column2: total number of people in their area
> column3: and total number of people completed the course in the area
> 
> I came up with code but does not seems to work now
> query:
> 
> Select  distinct e.employeeid, e.last_name,
> er.last_name as erLastName, er.first_name as erFirstName,
> er.EMployeeID as REID,
> ea.last_name as eaLastName, ea.first_name as eaFirstName,
>  l.name as locname, l.locationID,ea.Employeeid as AEID
> from employee e
> join employeejobhistory h   on h.employeeid
> = e.employeeid
> 
> 
> inner join jobassignment ja on
> (ja.sequence = h.sequence)
> inner join jobcode_list j
> on j.jobcode = h.jobcode
> inner join location l
> on l.locationid = ja.locationid
> inner join  area a
> on a.areaid = l.areaid
> inner join employee ea  on
> ea.employeeid = a.managerEmpID
> inner join region r on
> r.regionid = a.regionid
> inner join employee er  on
> er.employeeid = r.managerEmpID
> 
>  where  ja.EndDate is NULL   isDefined("form.RC") and form.RC eq 0>and (h.JobCode in
> ('1024','1005','1059','1009','1014','1001') and h.DeptName like
> 'Reminiscence%')and
> (h.JobCode in ('1025') and h.DeptName like 'Reminiscence%') and
> (h.JobCode in ('1024','1005','1059','1009','1014','1001','1025')and
> h.DeptName like 'Reminiscence%')and
> ja.EmplRcd = 0 and r.ManagerEmpID in
> (#SESSION.Admin_Reports_locregmanager#)
>  order by REID,AEID,l.locationID
>  
> The code is below :
> 
> 
> Area
> Total
> Number of people
> Total Employees
> Completed
> % Completed
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  AreaLastName=getCareManagers.eaLastName>
>  AreaFirstName=getCareManagers.eaFirstName>
>  datasource="cfelsunrise">
> Select completionDate
> from EmployeeTraining where courseID = 1661 and EmployeeID =
> #getCareManagers.EmployeeID#
> 
> 
>  AEID>
>  AreaTotal + 1>
>  isDate(getCompletion.CompletionDate)>
>  AreaComplete = AreaComplete + 1>
> 
> 
> 
> 
> 
> 
> #AreaLastName#,#AreaFirstName#
> 
> #AreaTotal#
> 
> #AreaComplete#
> 
>  style="color:##FF8000">#NumberFormat(percent2,"0.00")#%
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323036
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfmail problem in cfc

2009-05-30 Thread Adrian Lynch

Is your mail server on the same machine as CF? Check it's running.

It probably has nothing to do with being in a CFC. Create a simple cfm page
to test it.

Adrian

> -Original Message-
> From: arya krishnan [mailto:arun.b.shou...@gmail.com]
> Sent: 29 May 2009 19:17
> To: cf-talk
> Subject: cfmail problem in cfc
> 
> 
> Hi All,
> 
> I am able to send mails via cfmail tag in cfm pages but not in cfc. I
> used to send mails from cfc but now it is throwing the below error
> message.Please advice where i am going wrong
> 
> "Error","scheduler-2","05/29/09","06:15:32",,"Could not connect to SMTP
> host: 12
> 7.0.0.1, port: 25;   nested exception is:
> java.net.ConnectException: Conne
> ction refused"
> javax.mail.MessagingException: Could not connect to SMTP host:
> 127.0.0.1, port:
> 25;
>   nested exception is:
> java.net.ConnectException: Connection refused
> at
> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1008)
> at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:19
> 7)
> at javax.mail.Service.connect(Service.java:233)
> at
> coldfusion.mail.MailSpooler.getConnection(MailSpooler.java:908)
> at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:773)
> at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:704)
> at
> coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1028)
> at coldfusion.mail.MailSpooler.run(MailSpooler.java:938)
> at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
> at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322996
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: my cfqueryparam grievance

2009-05-14 Thread Adrian Lynch

Maybe it's happening in code. Do a search for the variable and make sure you
don't find something like:



Stranger things have happened :OD

Adrian

> -Original Message-
> From: Qing Xia [mailto:txiasum...@gmail.com]
> Sent: 14 May 2009 21:33
> To: cf-talk
> Subject: Re: my cfqueryparam grievance
> 
> 
> Ah yes! You are right--that ID value, after being returned in the query
> recordset, does get set in cookie scope, and that is where my
> cfqueryparam
> tag gets it from, in cookie scope.
> 
> So, yeah, it is possible that users could have manipulated that cookie
> value... But then, with so many users (i must have had a couple dozen
> error
> messages at least, and they are from different legitimate users) all
> generating the same error message, it seems unlikely that they all
> changed
> their cookie to the same value.
> 
> On Thu, May 14, 2009 at 4:01 PM, Adrian Lynch
> wrote:
> 
> >
> > I thought you said it was a cookie value?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322533
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: my cfqueryparam grievance

2009-05-14 Thread Adrian Lynch

I thought you said it was a cookie value?

> -Original Message-
> From: Qing Xia [mailto:txiasum...@gmail.com]
> Sent: 14 May 2009 20:43
> To: cf-talk
> Subject: Re: my cfqueryparam grievance
> 
> 
> I wish--but the value is a ID value passed back in a query recordset
> and
> there is no way how users can manually pass it in.
> 
> On Thu, May 14, 2009 at 3:39 PM, Adrian Lynch
> wrote:
> 
> >
> > The user changed it maybe?
> >
> > Adrian
> >
> > > -Original Message-
> > > From: Qing Xia [mailto:txiasum...@gmail.com]
> > > Sent: 14 May 2009 20:30
> > > To: cf-talk
> > > Subject: Re: my cfqueryparam grievance
> > >
> > > But still, it is interesting to ponder whatever happened to my
> data,
> > > and
> > > why, of all things, everything got to be 521636a.  Just another
> thing
> > > to
> > > think about on the metro.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322526
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: my cfqueryparam grievance

2009-05-14 Thread Adrian Lynch

The user changed it maybe?

Adrian

> -Original Message-
> From: Qing Xia [mailto:txiasum...@gmail.com]
> Sent: 14 May 2009 20:30
> To: cf-talk
> Subject: Re: my cfqueryparam grievance
> 
> But still, it is interesting to ponder whatever happened to my data,
> and
> why, of all things, everything got to be 521636a.  Just another thing
> to
> think about on the metro.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322521
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: OT (maybe): Display additional info from a Select before Form is Submitted

2009-05-13 Thread Adrian Lynch

If there aren't many categories, load all the extra info into the page in
the place you need it to appear and hide it by default. Then on change of
the drop down, show the relevant info.

With jQuery:



$(function() {

$("#cats").change(function() {
$(".catInfo").hide();
$("#catInfo" + jQuery(this).val()).show();
});

});


.catInfo {
display: none;
}



One
Two
Three



Cat into 1



Cat into 2



Cat into 3


Adrian

> -Original Message-
> From: Les Mizzell [mailto:lesm...@bellsouth.net]
> Sent: 13 May 2009 18:23
> To: cf-talk
> Subject: OT (maybe): Display additional info from a Select before Form
> is Submitted
> 
> 
> For a select box (simplified):
> 
> 
>
>#getCATS.catNAME#
>
> 
> 
> I need to display additional info for each selection when the selection
> is made - before the form is submitted.
> So if you've got
>   Record 1
>   Record 2
>   Record 3
> ...and somebody selects "Record 2" - I need the contents of an
> additional field ("cat_comments") to immediately display under the
> select before the form is submitted...
> 
> Still scratching my head. Can somebody point me in the correct
> direction
> to pull this off?
> 
> 
> 
> 
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322474
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: my cfqueryparam grievance

2009-05-12 Thread Adrian Lynch

Start logging the value of COOKIE.theID. Just save it somewhere and see if
it's ever an unexpected value.

Adrian

> -Original Message-
> From: Qing Xia [mailto:txiasum...@gmail.com]
> Sent: 12 May 2009 20:16
> To: cf-talk
> Subject: my cfqueryparam grievance
> 
> 
> Hello folks,
> 
> I had a pretty strange experience with CFQueryParam today.   Basically,
> I
> have an innocent-looking query:
> 
> *SELECT* username, password
> *FROM* someTable
> *WHERE* someID =  "#cookie.theID#" maxlength="6">
> 
> 
> This query had worked just fine for nearly a year (since I
> cfqueryparamed it
> last summer) until this morning, when it broke.  The error messages
> read:
> 
> *Message:*
> Error Executing Database Query.
> 12 May 2009 01:49:21 PM EDT
> Diagnostics:
> Error Executing Database Query. [Macromedia][SQLServer JDBC
> Driver][SQLServer]Syntax error converting the varchar value '521636a'
> to a
> column of data type int.  The error occurred on line 35.
> 
> That error points to the WHERE statement, and it complains the
> cookie.theID
> is not an integer-but it is!!! *Even the error messages themselves
> which
> contains a CFDump on Cookie scope say it is an integer, of 6 digits!!!*
> Even
> more strangely, the error messages always say ".converting the varchar
> value
> '521636a'." , no matter what the actual cookie.theID value is.  Since
> this
> query is called from a template that logs users in, I got dozens of
> error
> reports, all with this identical error message, even though the actual
> theID
> values were very different.
> 
> When I switched the cfqueryparam cfsqltype to varchar, the error went
> away!!  Of course, the actual data type of the id table column IS
> varchar,
> but I had purposefully made it integer in the cfqueryparam, for code
> "readability" and more control over the incoming value.  L
> 
> The moral of the story, of course, is that the cfsqltype should
> probably
> always match the receiving database table column's data type.  But I am
> just
> curious. why were my values being converted to "521636a".? 6-digit
> integer/varchar values are certainly not out of bounds for SQL int data
> type, so I simply cannot fathom why conversion was done and why it was
> necessary.
> 
> A


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322445
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: table display: row number. without recordset

2009-05-11 Thread Adrian Lynch

It probably does, but it's sorted already.

Adrian

> -Original Message-
> From: Paul Ihrig [mailto:pih...@gmail.com]
> Sent: 11 May 2009 20:44
> To: cf-talk
> Subject: Re: table display: row number. without recordset
> 
> 
> one weird thing is the tablesorter dost work on that column unles i
> sort
> from another column first.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322389
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: table display: row number. without recordset

2009-05-11 Thread Adrian Lynch

Same as CSS.

table.className

Adrian

> -Original Message-
> From: Paul Ihrig [mailto:pih...@gmail.com]
> Sent: 11 May 2009 20:23
> To: cf-talk
> Subject: Re: table display: row number. without recordset
> 
> 
> how would i target my tables with a  class="tablesorterXP"
> but not any other table classes?
> 
> i tried
> $(".tablesorterXP table tbody tr").each( function(i) {
>$("td", $(this)).eq(0).html(i+1);
>  });
> 
> 
> Thanks BTW this is just what i was looking for.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF 8 Hosting recommendations

2009-05-11 Thread Adrian Lynch

Look at using Railo instead then :O)

Adrian

> -Original Message-
> From: Gerald Guido [mailto:gerald.gu...@gmail.com]
> Sent: 11 May 2009 03:30
> To: cf-talk
> Subject: Re: CF 8 Hosting recommendations
> 
> 
> >>and it has *always* used CF 8.
> 
> Hey Rick,
> I hear ya. Unless they are offering CF 8 for free, I just don't want to
> pay
> an extra $35 a month (100% more) for CF 8 support. Silly notion eh?
> 
> G!


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322368
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Embedded colour profile killing server

2009-05-06 Thread Adrian Lynch

Tried this and still no joy.

Out of interest, should the version number change after applying that
hotfix?

My version is still 8,0,1,195765.

Thanks.

Adrian

> -Original Message-
> From: Pete Freitag [mailto:p...@foundeo.com]
> Sent: 05 May 2009 20:53
> To: cf-talk
> Subject: Re: Embedded colour profile killing server
> 
> 
> Adrian,
> 
> I haven't seen this issue, but I am curious if you have the CFImage
> hotfix
> for CF 8.0.1 installed, maybe that would help?
> 
> http://kb2.adobe.com/cps/403/kb403411.html
> 
> 
> --
> Pete Freitag
> http://foundeo.com/ - ColdFusion Consulting & Products
> http://petefreitag.com/ - My Blog
> Firewall for CFML: http://foundeo.com/security/
> 
> On Tue, May 5, 2009 at 9:25 AM, Adrian Lynch
> wrote:
> 
> >
> > I'm trying to work on an image with CF8. Doing a simple ImageRead()
> on one
> > particular image causes the server to restart.
> >
> > This is happening on two servers which I'm told have more than enough
> > memory.
> >
> > The image is 372KB, so nothing to worry about there.
> >
> > When I open it up in GIMP, I get asked whether I want to keep or
> convert an
> > "Embedded colour profile: eciRGB v2 ICCv4".
> >
> > Short of finding another reason, I'm going to be blaming this! It's a
> user
> > supplied image.
> >
> > Has anyone else witnessed this? At most I'd expect an error, not a
> dead
> > server.
> >
> > I would upload the image for others to test but it's for an award
> show and
> > I'm not sure I'd be allowed, if I hear differently I'll wack it up
> > somewhere.
> >
> > Thanks in advance for any thoughts (or well wishes for the server
> this is
> > killing).


~|
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:33
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Embedded colour profile killing server

2009-05-06 Thread Adrian Lynch

"This cumulative hot fix is specific to ColdFusion 8.0.1 and should not be
applied to any other releases"

Completely missed that! Cheers James...

> -Original Message-
> From: James Holmes [mailto:james.hol...@gmail.com]
> Sent: 06 May 2009 03:49
> To: cf-talk
> Subject: Re: Embedded colour profile killing server
> 
> 
> You need to install CF 8.01 before you can install its hotfixes.
> 
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
> 
> 
> 
> 2009/5/6 Adrian Lynch :
> >
> > I think we were up-to-date at work, looking at my local dev machine
> I'm on
> > 8,0,0,176276.
> >
> > I've just installed CF 8.0.1 cumulative hot fix 1 but the version in
> CF
> > admin is still the same.
> >
> > So too is a dump of the SERVER scope.
> >
> > Any ideas why this might happen? I followed the instructions here:
> >
> > http://kb2.adobe.com/cps/403/kb403622.html
> >
> > Adrian
> >
> >> -Original Message-
> >> From: Pete Freitag [mailto:p...@foundeo.com]
> >> Sent: 05 May 2009 20:53
> >> To: cf-talk
> >> Subject: Re: Embedded colour profile killing server
> >>
> >>
> >> Adrian,
> >>
> >> I haven't seen this issue, but I am curious if you have the CFImage
> >> hotfix
> >> for CF 8.0.1 installed, maybe that would help?
> >>
> >> http://kb2.adobe.com/cps/403/kb403411.html
> >>
> >>
> >> --
> >> Pete Freitag
> >> http://foundeo.com/ - ColdFusion Consulting & Products
> >> http://petefreitag.com/ - My Blog
> >> Firewall for CFML: http://foundeo.com/security/
> >>
> >> On Tue, May 5, 2009 at 9:25 AM, Adrian Lynch
> >> wrote:
> >>
> >> >
> >> > I'm trying to work on an image with CF8. Doing a simple
> ImageRead()
> >> on one
> >> > particular image causes the server to restart.
> >> >
> >> > This is happening on two servers which I'm told have more than
> enough
> >> > memory.
> >> >
> >> > The image is 372KB, so nothing to worry about there.
> >> >
> >> > When I open it up in GIMP, I get asked whether I want to keep or
> >> convert an
> >> > "Embedded colour profile: eciRGB v2 ICCv4".
> >> >
> >> > Short of finding another reason, I'm going to be blaming this!
> It's a
> >> user
> >> > supplied image.
> >> >
> >> > Has anyone else witnessed this? At most I'd expect an error, not a
> >> dead
> >> > server.
> >> >
> >> > I would upload the image for others to test but it's for an award
> >> show and
> >> > I'm not sure I'd be allowed, if I hear differently I'll wack it up
> >> > somewhere.
> >> >
> >> > Thanks in advance for any thoughts (or well wishes for the server
> >> this is
> >> > killing).


~|
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:322219
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Embedded colour profile killing server

2009-05-05 Thread Adrian Lynch

I think we were up-to-date at work, looking at my local dev machine I'm on
8,0,0,176276.

I've just installed CF 8.0.1 cumulative hot fix 1 but the version in CF
admin is still the same.

So too is a dump of the SERVER scope.

Any ideas why this might happen? I followed the instructions here:

http://kb2.adobe.com/cps/403/kb403622.html

Adrian

> -Original Message-
> From: Pete Freitag [mailto:p...@foundeo.com]
> Sent: 05 May 2009 20:53
> To: cf-talk
> Subject: Re: Embedded colour profile killing server
> 
> 
> Adrian,
> 
> I haven't seen this issue, but I am curious if you have the CFImage
> hotfix
> for CF 8.0.1 installed, maybe that would help?
> 
> http://kb2.adobe.com/cps/403/kb403411.html
> 
> 
> --
> Pete Freitag
> http://foundeo.com/ - ColdFusion Consulting & Products
> http://petefreitag.com/ - My Blog
> Firewall for CFML: http://foundeo.com/security/
> 
> On Tue, May 5, 2009 at 9:25 AM, Adrian Lynch
> wrote:
> 
> >
> > I'm trying to work on an image with CF8. Doing a simple ImageRead()
> on one
> > particular image causes the server to restart.
> >
> > This is happening on two servers which I'm told have more than enough
> > memory.
> >
> > The image is 372KB, so nothing to worry about there.
> >
> > When I open it up in GIMP, I get asked whether I want to keep or
> convert an
> > "Embedded colour profile: eciRGB v2 ICCv4".
> >
> > Short of finding another reason, I'm going to be blaming this! It's a
> user
> > supplied image.
> >
> > Has anyone else witnessed this? At most I'd expect an error, not a
> dead
> > server.
> >
> > I would upload the image for others to test but it's for an award
> show and
> > I'm not sure I'd be allowed, if I hear differently I'll wack it up
> > somewhere.
> >
> > Thanks in advance for any thoughts (or well wishes for the server
> this is
> > killing).


~|
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:322210
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Getting a count from a group in cfquery

2009-05-05 Thread Adrian Lynch

You need to include the other columns in your SELECT in your GROUP BY
clause.

Adrian

> -Original Message-
> From: Les Mizzell [mailto:lesm...@bellsouth.net]
> Sent: 05 May 2009 16:56
> To: cf-talk
> Subject: Getting a count from a group in cfquery
> 
> 
> What I'm trying to get:
> 
> 
>#thisCOUNT# emails sent on #thisLOG.emailDATE#
> 
>   #thisLOG.emailADDRESS#
> 
> 
> 
> "thisCOUNT" above would be the number of emails in a particular group
> 
> 
> Here's what I want to do in my query - but errors work since everything
> isn't included in a scalar function. I'm using SQL Server
> 
> SELECT
> COUNT(groupID) as thisCOUNT,
> emailID,
> emailADDRESS,
> emailDATE,
> groupID
>   FROM log_email
>   WHERE emailID =  cfsqltype="CF_SQL_INTEGER" />
>   GROUP BY groupID
>   ORDER BY emailDATE desc
> 
> 
> Haven't found a way to correct this yet that works. Suggestions please?
> 
> TIA!


~|
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:322179
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Server just.... stops?

2009-05-05 Thread Adrian Lynch

Got the same thing happening to us but we know what's causing it, damned
images!

Do you know what's being run just before it dies?

Adrian

> -Original Message-
> From: Justin Scott [mailto:jscott-li...@gravityfree.com]
> Sent: 05 May 2009 15:54
> To: cf-talk
> Subject: Server just stops?
> 
> 
> We have an occasional issue with CF where the server just stops
> responding
> at random times and the CF application service has to be stopped and
> restarted.  We're on CF 8.0.1 on Windows 2003 Server.  Pretty standard
> setup.  All of the logs show everything normal, then the next entries
> are
> "server starting up" lines.  The windows event viewer doesn't show
> anything
> out of the ordinary.  Anywhere else I should be looking for
> information?
> Any particular JVM arguments that might be helpful in tracking down
> obscure
> issues?
> 
> 
> -Justin


~|
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:322171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Embedded colour profile killing server

2009-05-05 Thread Adrian Lynch

I'm trying to work on an image with CF8. Doing a simple ImageRead() on one
particular image causes the server to restart.

This is happening on two servers which I'm told have more than enough
memory.

The image is 372KB, so nothing to worry about there.

When I open it up in GIMP, I get asked whether I want to keep or convert an
"Embedded colour profile: eciRGB v2 ICCv4".

Short of finding another reason, I'm going to be blaming this! It's a user
supplied image.

Has anyone else witnessed this? At most I'd expect an error, not a dead
server.

I would upload the image for others to test but it's for an award show and
I'm not sure I'd be allowed, if I hear differently I'll wack it up
somewhere.

Thanks in advance for any thoughts (or well wishes for the server this is
killing).




~|
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:322169
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Set column value to NULL

2009-04-28 Thread Adrian Lynch



Adrian

> -Original Message-
> From: Pranathi Reddy [mailto:rk.prana...@gmail.com]
> Sent: 28 April 2009 18:06
> To: cf-talk
> Subject: Set column value to NULL
> 
> 
> My image datatype is varbinary(max) and I am storing binary image data
> in database.
> This query works fine in sql Server 2005 to set the attribute to
> 'Null'(delete binary data) but wat if I wanna use in coldfusion8
> 
> 
> update table1 set image = null where empid ='@id'
> 
> I tried using
> 
> Update table1
>   SET image =  null="true" value= ''>
>   WHERE   empID= value="#session.ID#">
>   
> 
> How do I actually set the attribute value to null in coldfusion.
> 
> Thanks,
> Priya


~|
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:322027
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Need some WSDL Help

2009-04-28 Thread Adrian Lynch

Why don't you post the problem here?

> -Original Message-
> From: Rick Shapley [mailto:rs...@cade1.com]
> Sent: 28 April 2009 18:03
> To: cf-talk
> Subject: Need some WSDL Help
> 
> 
> We are trying to connect some Cold Fusion Generated Data to a WSDL
> file. Can anyone help? Please e-mail me at rs...@cade1.com 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:322024
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Unable to dump checkbox Values

2009-04-28 Thread Adrian Lynch

You don't say what's wrong, but from these lines:

 


I'm guessing it's throwing an error?

 



Adrian

> -Original Message-
> From: Priya Koya [mailto:priya23...@gmail.com]
> Sent: 28 April 2009 16:26
> To: cf-talk
> Subject: Unable to dump checkbox Values
> 
> 
> Hi All,
> 
> I have a checkbox in the  and wanna record the values
> of the checkbox and perform of delete using function.
> 
> I am unable to dump the checkbox values in it.I believe I am doing
> someting wrong in the loop..Can anyone help me out with it.
> 
> 
> 
> 
> 
>  name="chk_deletePage#count#">
>   
> 
>   #getData.Address#
> 
> 
> 
> 
> 
> 
>   
>  
> 
> 
> 
> what is that I am doing wrong
> 
> Thanks,
> Priya


~|
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:322020
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT - Purchasing .bm domain names

2009-04-26 Thread Adrian Lynch

Cheers, that's all ok because the Bermudian charity will be purchasing it. I
had just hoped I could find the best place for them to buy the domain.

Adrian

> -Original Message-
> From: Ravi Gehlot [mailto:r...@ravigehlot.net]
> Sent: 26 April 2009 15:03
> To: cf-talk
> Subject: Re: OT - Purchasing .bm domain names
> 
> 
> Hello Adrian,
> 
> Registering domains outside of our jurisdiction may not be an easy
> process. You must be familiar with a countries policy in registering
> TLDs. For example, in order for someone to register a domain in Brazil,
> they must have Brazilian documentation and in some instances you may
> even need to have a company established in Brazil. I am not sure about
> Bermuda. I am also not sure how 101domains manages to get around and
> register domains from other countries. I would do a research before
> proceeding with registration just to make sure that you will have full
> access to your newly purchased domain in the future. Make sure to read
> the policies with your registrar and understand what they are doing.
> Just because you may be able to buy a domain for a different country
> does NOT mean that you may own all rights to it.
> 
> Ravi.



~|
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:321965
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT - Purchasing .bm domain names

2009-04-26 Thread Adrian Lynch

Oh really? That's interesting because they did quote the price in pounds.

I'll get someone in Bermuda to have a look, see if it's cheaper for them.

Cheers.

Adrian

> -Original Message-
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: 26 April 2009 14:59
> To: cf-talk
> Subject: Re: OT - Purchasing .bm domain names
> 
> 
> > I'm building a site for a charity in Bermuda and I've told them a
> great .bm
> > domain name is available. Can anyone recommend a place to buy such
> domain
> > names. I've done all my purchases through 123-reg.co.uk up until now.
> >
> > I've sent an email to bermudanic.bm but have not heard back from them
> yet.
> > I'm mainly wondering about price.
> >
> > Thanks and sorry for the OT.
> 
> I suspect that it'll be easier and cheaper for them to buy the domain
> name themselves, than for you to do it. Many small countries whose
> domains are popular with foreigners - often for "domain hacks" or
> because they have some unrelated meaning like ".tv" - have different
> rates for foreigners than for native citizens.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/


~|
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:321964
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: OT - Purchasing .bm domain names

2009-04-26 Thread Adrian Lynch

Thanks Ravi, I'd seen that site already, $350 for a year seems a bit much.

Maybe that's the going rate though.

Adrian

> -Original Message-
> From: Ravi Gehlot [mailto:r...@ravigehlot.net]
> Sent: 26 April 2009 14:40
> To: cf-talk
> Subject: Re: OT - Purchasing .bm domain names
> 
> 
> http://www.101domains.com/
> 
> Adrian Lynch wrote:
> > You know after nine years doing this web stuff, that never occurred
> to me!
> >
> > I've done that, I've seen prices over $200. Short of hearing back
> from
> > bermudanic.bm, I was hoping someone out there would know of a place
> that has
> > them cheaper or if that's the going rate for one.
> >
> > My fault for not stating this in the first email I suppose...
> >
> > Adrian
> >
> >
> >> -Original Message-
> >> From: Ravi Gehlot [mailto:r...@ravigehlot.net]
> >> Sent: 26 April 2009 14:03
> >> To: cf-talk
> >> Subject: Re: OT - Purchasing .bm domain names
> >>
> >>
> >> Adrian,
> >>
> >> Try a search on Google.
> >>
> >> Ravi.
> >>
> >>
> >>
> >> Adrian Lynch wrote:
> >>
> >>> I'm building a site for a charity in Bermuda and I've told them a
> >>>
> >> great .bm
> >>
> >>> domain name is available. Can anyone recommend a place to buy such
> >>>
> >> domain
> >>
> >>> names. I've done all my purchases through 123-reg.co.uk up until
> now.
> >>>
> >>> I've sent an email to bermudanic.bm but have not heard back from
> them
> >>>
> >> yet.
> >>
> >>> I'm mainly wondering about price.
> >>>
> >>> Thanks and sorry for the OT.
> >>>
> >>> Adrian


~|
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:321961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT - Purchasing .bm domain names

2009-04-26 Thread Adrian Lynch

You know after nine years doing this web stuff, that never occurred to me!

I've done that, I've seen prices over $200. Short of hearing back from
bermudanic.bm, I was hoping someone out there would know of a place that has
them cheaper or if that's the going rate for one.

My fault for not stating this in the first email I suppose...

Adrian

> -Original Message-
> From: Ravi Gehlot [mailto:r...@ravigehlot.net]
> Sent: 26 April 2009 14:03
> To: cf-talk
> Subject: Re: OT - Purchasing .bm domain names
> 
> 
> Adrian,
> 
> Try a search on Google.
> 
> Ravi.
> 
> 
> 
> Adrian Lynch wrote:
> > I'm building a site for a charity in Bermuda and I've told them a
> great .bm
> > domain name is available. Can anyone recommend a place to buy such
> domain
> > names. I've done all my purchases through 123-reg.co.uk up until now.
> >
> > I've sent an email to bermudanic.bm but have not heard back from them
> yet.
> > I'm mainly wondering about price.
> >
> > Thanks and sorry for the OT.
> >
> > Adrian


~|
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:321959
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


OT - Purchasing .bm domain names

2009-04-26 Thread Adrian Lynch

I'm building a site for a charity in Bermuda and I've told them a great .bm
domain name is available. Can anyone recommend a place to buy such domain
names. I've done all my purchases through 123-reg.co.uk up until now.

I've sent an email to bermudanic.bm but have not heard back from them yet.
I'm mainly wondering about price.

Thanks and sorry for the OT.

Adrian


~|
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:321957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Any JS wizards out there care to lend a hand?

2009-04-24 Thread Adrian Lynch

True, but then you can always do $(selector).get(0) or $(selector)[0] to get
back to the DOM.

Not ideal, but very useful.

Adrian

> -Original Message-
> From: Andy Matthews [mailto:li...@commadelimited.com]
> Sent: 24 April 2009 14:32
> To: cf-talk
> Subject: RE: Any JS wizards out there care to lend a hand?
> 
> 
> Problem with that is that getElementByID returns a DOM object, while a
> jQuery call returns a jQuery object. Different things.
> 
> -Original Message-
> From: Cutter (CFRelated) [mailto:cold.fus...@cutterscrossing.com]
> Sent: Friday, April 24, 2009 8:11 AM
> To: cf-talk
> Subject: Re: Any JS wizards out there care to lend a hand?
> 
> 
> Don't think you really need a new menu, just convert some of you
> functions
> to *use* JQuery. Something like:
> 
> var el = $('#hb-nav > li:first');
> 
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> 
> Co-Author of "Learning Ext JS"
> http://www.packtpub.com/learning-ext-js/book


~|
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:321931
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Creating a dynamic variable to for storage

2009-04-22 Thread Adrian Lynch



Give that a go.

Adrian

> -Original Message-
> From: Fawzi Amadu [mailto:abd...@gmail.com]
> Sent: 22 April 2009 19:35
> To: cf-talk
> Subject: Creating a dynamic variable to for storage
> 
> 
> I have a loop within which I am trying to create a various variable. My
> code (below) is replying an error which I believe is due the my syntax
> being wrong. Please advise on how to construct such variable creation.
> 
> 
> Code:
> 
> 
> 
> Error:
> 
> Invalid CFML construct found on line 75 at column 34.
> 
> ColdFusion was looking at the following text:
> \"
> 
> TIA


~|
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:321839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFIMAGE - File referencing

2009-04-20 Thread Adrian Lynch

Output #ExpandPath('/images/consumer/#Cnsmr_ProductIMAGE#) to see where
you're pointing to, it'll be wrong.

Adrian

> -Original Message-
> From: Fawzi Amadu [mailto:abd...@gmail.com]
> Sent: 20 April 2009 17:43
> To: cf-talk
> Subject: CFIMAGE - File referencing
> 
> 
> I have my images for my project under the webroot folder in the e-dang
> folder under the image folder and in the consumer folder i.e.
> (wwwroot/e-dang/images/comsumer).
> 
> But when I reference the file within my code (below), I realize in the
> error report that the path returned by coldfusion is missing the
> project folder name. Is this usual or does it mean that I got the
> referencing wrong?
> 
> Here is a portion of the error report (NOTE - e-dang is missing from
> the image path):
> 
> An exception occurred while trying to read the image.
> 
> File C:\ColdFusion8\wwwroot\images\consumer\DSC_0515_thumb.jpg does not
> exist.
> 
> The error occurred in C:\ColdFusion8\wwwroot\e-
> dang\process_simpleSearchResults.cfm: line 53
> 
> 
> Here is the code:
> 
> 
>  "jpg">
> 
> #Cnsmr_ProductDESCRIPTION#
>    href="showProductDetail.cfm?Cnsmr_ProductID=#URLEncodedFormat(TRIM(Cnsm
> r_ProductID))#">#Cnsmr_ProductMODELNo#  
>   #Cnsmr_ProductMODELYEAR#
>    #Cnsmr_ProductPRICE#   size="+2">#User_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:321811
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFIMAGE - for all formats

2009-04-17 Thread Adrian Lynch

This one got me too a while ago:

http://cferror.org/error.cfm?errorID=1

Adrian

> -Original Message-
> From: Fawzi Amadu [mailto:abd...@gmail.com]
> Sent: 17 April 2009 12:26
> To: cf-talk
> Subject: CFIMAGE - for all formats
> 
> 
> Hi, I am trying to resize images with CFIMAGE but when I process my
> code, I keep getting an error that: The images/consumer/ image format
> is not supported on this operating system.
> 
> Initially I left the format attribute out and got the same error with a
> suggestion that I try using GetReadableImageFormats(), but this hasn't
> resolved the problem.
> 
> How can I resolve this problem, TIA
> 
> 
> 
> Here's the code:
> 
> The error occurred in C:\ColdFusion8\wwwroot\e-
> Ghana\process_simpleSearchResults.cfm: line 45
> 43 :
> 44 : 
> 45 :  action="resize" width="100" height="60" name="resizedImg" format=
> GetReadableImageFormats()>
> 46 : 
> 47 : #Cnsmr_ProductDESCRIPTION#
>    href="showProductDetail.cfm?Cnsmr_ProductID=#URLEncodedFormat(TRIM(Cnsm
> r_ProductID))#">#Cnsmr_ProductMODELNo#  


~|
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:321719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: show x words not x characters

2009-04-15 Thread Adrian Lynch

Treat the string as a list with any chars you see fit to be word delimiters,
so spaces, tabs, full stops etc, then extract N elements from the left of
the list.

Adrian

> -Original Message-
> From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
> Sent: 15 April 2009 17:02
> To: cf-talk
> Subject: show x words not x characters
> 
> 
> Ho every one, bit of a simple question,
> 
> my website shows a snippet of text using the 'left(myvar,30)' function
> in ColdFusion. however this some times cuts off words mid flow, is
> there a function in CF that shows x words and not x characters?
> 
> thanks in advance


~|
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:321621
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: how to handle in-appropriate image uploads

2009-04-09 Thread Adrian Lynch

It's scary what they're doing with images now!

http://www.ted.com/index.php/talks/blaise_aguera_y_arcas_demos_photosynth.ht
ml

Adrian

> -Original Message-
> From: Ian Skinner [mailto:h...@ilsweb.com]
> Sent: 09 April 2009 17:59
> To: cf-talk
> Subject: Re: how to handle in-appropriate image uploads
> 
> 
> Chad Gray wrote:
> > Hello,
> >
> > How do big web sites like myspace police image uploads?
> 
> Staff reviews and approves images or users review and approve images or
> both.
> 
> Computers can not tell much about images yet, though they are beginning
> to get better.  I've been thinking I might play with some of the face
> recognition stuff I've heard about recent when I have some free time.
> 
> Yeah free time, um what does that feel like again?


~|
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:321484
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: simple RegEx?

2009-04-02 Thread Adrian Lynch

Check the stackoverflow in this result:

http://www.google.co.uk/search?hl=en&q=find+roman+numerals+regex&btnG=Search
&meta=

Adrian

> -Original Message-
> From: CF Developer [mailto:coldfus...@mindkeeper.net]
> Sent: 02 April 2009 13:00
> To: cf-talk
> Subject: simple RegEx?
> 
> 
> This should be simple for all you RegEx Gurus.
> 
> I have a textarea field that may contain list numbers such as : (i)
> (ii).
> What I want to do is convert those to LI statements.
> 
> I know you have to escape the parathesis but it produces:  i)  and
> ii)
> 
> How can I change it just to an LI statement (regardless on the list
> number, since it can be i, ii, iii, iv)
> 
> I tried:
> 
> rereplace(myTextField,'\(*\)','ALL')
> 
> TIA!


~|
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:321215
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Button to support both IE and Firefox

2009-04-01 Thread Adrian Lynch

Try adding a 'return false' to the onclick.

Adrian

> -Original Message-
> From: Don L [mailto:do...@yahoo.com]
> Sent: 01 April 2009 18:25
> To: cf-talk
> Subject: Re: Button to support both IE and Firefox
> 
> 
> Yeah, you all, good catch on width= instead of width:
> also, there's a semicolon for the onclick event, still to no avail.
> hmmm... thks.
> 
> >I missed that but yes, width= should be width:.  Here's the code that
> it
> >should be:
> >
> > >onclick="window.location='http://xyz.com/somefile.zip';" value="
> Download
> >the File ">
> >
> >HEXVAL should be the actual Hex value of the lightgreen color that you
> are
> >looking for.
> >
> > >onclick="location.href='http://xyz.com/somefile.zip';" value="
> Download the
> >File ">
> >
> >two things I can see  ...
> >Should   width=   not be   width:   ?
> >Does onclick need the semicolon  ;   ?


~|
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:321186
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Cfform upload - Form Field contains no file

2009-03-31 Thread Adrian Lynch

Take the cfoutputs out of the cfinput tag.

Adrian

> -Original Message-
> From: Fawzi Amadu [mailto:abd...@gmail.com]
> Sent: 31 March 2009 16:54
> To: cf-talk
> Subject: Cfform upload - Form Field contains no file
> 
> 
> My code is throwing an error the baffles me. With the code below, when
> I select the files I need to be uploaded, the server returns an error
> that says that the field contained no file, while I had been able to
> select a file for that field. What is wrong with my code:
> 
>  enctype="multipart/form-data" method="post">
>  step="1">
>   
>   
> name="#variables.filename#" />
> 
>
> 


~|
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:321120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: scopes

2009-03-25 Thread Adrian Lynch

I'm not sure if you're saying it works or doesn't work. If it doesn't, try
FORM.putAll(URL) or StructAppend(FORM, URL) to get the URL vars into the
FORM scope.

Adrian

> -Original Message-
> From: Brian Dumbledore [mailto:psteja2...@yahoo.com]
> Sent: 25 March 2009 16:31
> To: cf-talk
> Subject: scopes
> 
> 
> ok I was trying something and did this:
> 
> 
> 
> 
> 
> And then I go about the rest as if the request came from a form post (I
> use form dot notation everywhere afterwards).
> 
> When I did a  it doesn't recognize the form scope,
> but this works
> 
> 
> 
> But every where else in the code it works fine (recorgnizes all form
> dot names that were originally sent as url parameters)
> So is cf not supposed to handle the dump 'logically'? Can someone
> please reason this behavior?
> 
> 

~|
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:320940
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Create a thumbnail image from .flv video file once uploaded

2009-03-24 Thread Adrian Lynch

Not with ColdFusion, but you can use ffmpeg. Railo might also do it as it
uses ffmpeg.

Adrian

> -Original Message-
> From: Riaan Venter [mailto:riven1...@gmail.com]
> Sent: 24 March 2009 16:48
> To: cf-talk
> Subject: Create a thumbnail image from .flv video file once uploaded
> 
> 
> Hi
> 
> Is it possible to use CF8 to create a thumbnail image when uploading a
> .flv video?
> 
> How would I go about doing this?
> 
> Thanks
> Riaan



~|
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:320855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Re: How is this done without evaluate()?

2009-03-20 Thread Adrian Lynch

Another way is to write them to a file and cfinclude it. But in this case I
think Evaluate might look nicer...

Adrian

> -Original Message-
> From: dsbr...@gmail.com [mailto:dsbr...@gmail.com]
> Sent: 20 March 2009 15:37
> To: cf-talk
> Subject: Re: Re: How is this done without evaluate()?
> 
> 
> The one time I know we have to use it is because we have some database
> tables where some fields actually have CF expressions in them, so to
> have
> those expressions get, errr, evaluated, we have to use evaluate().
> 
> 
> On Mar 19, 2009 8:10pm, Dave Watts  wrote:
> > In general, evaluating strings as expressions is computationally
> 
> > expensive. I can't think of any cases where I've had to use it in
> 
> > quite a while, but I suspect there are some rare cases where you
> can't
> 
> > get what you need any other way.


~|
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:320768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: refresh session in ajax application

2009-03-20 Thread Adrian Lynch

Is that method in the same application the rest of your code?

It might be that you're calling code that's running in another app?

Adrian

> -Original Message-
> From: Richard White [mailto:rich...@j7is.co.uk]
> Sent: 20 March 2009 14:25
> To: cf-talk
> Subject: refresh session in ajax application
> 
> 
> Hi,
> 
> we have an ajax application and to refresh the session we make a remote
> call to the following function on the server, which simply returns
> true:
> 
>  returntype="boolean" hint="is just called to reset session">
>   
>   
> 
> we are having intermittent problems where sometimes the server session
> timeouts out even though we make a call to this function, indicating it
> is not being refreshed correctly.
> 
> would the function above actually keep the session alive? if not what
> should we be doing?
> 
> 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:320763
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: String to List?

2009-03-20 Thread Adrian Lynch

Ermm, no, I thought they looked like eyes! :OD

> -Original Message-
> From: Dawson, Michael [mailto:m...@evansville.edu]
> Sent: 20 March 2009 13:31
> To: cf-talk
> Subject: RE: String to List?
> 
> 
> Are you referring to the ASCII breasts?
> 
> Thanks,
> Mike
> 
> -----Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: Thursday, March 19, 2009 6:20 PM
> To: cf-talk
> Subject: RE: String to List?
> 
> 
> You've gotta love this bit of code:
> 
> REreplace(arguments.strInputString,"(.)(.)","\1#arguments.strDelimiter#
> \
> 2#ar
> guments.strDelimiter#","ALL")
> 
> lol
> 
> Oh come on, that's funny! :OD
> 
> Adrian
> 
> 

~|
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:320761
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: String to List?

2009-03-19 Thread Adrian Lynch

You've gotta love this bit of code:

REreplace(arguments.strInputString,"(.)(.)","\1#arguments.strDelimiter#\2#ar
guments.strDelimiter#","ALL")

lol

Oh come on, that's funny! :OD

Adrian


> -Original Message-
> From: Christophe Maso [mailto:zum...@hotmail.com]
> Sent: 19 March 2009 23:37
> To: cf-talk
> Subject: Re: String to List?
> 
> 
> Thanks all!  Good stuff all around...really must get myself locked onto
> regex one of these days :).
> 
> I came up with this:
> 
>  returnType="string" output="false" hint="Takes a string argument and
> inserts the second argument between each character.  Using reg ex, is
> much, much faster than the original  looping function.">
> 
>   
>default=",">
> 
> 
>   
> 
>   
>   
>   
>   
> 
>   
>   
>   
>   
> 
>strNewList=REreplace(arguments.strInputString,"(.)(.)","\1#arguments.st
> rDelimiter#\2#arguments.strDelimiter#","ALL")>
> 
> 
>   
> 
>   
> 
> 


~|
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:320735
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: String to List?

2009-03-19 Thread Adrian Lynch

I knew there'd be something in Java!

> -Original Message-
> From: Dominic Watson [mailto:watson.domi...@googlemail.com]
> Sent: 19 March 2009 22:03
> To: cf-talk
> Subject: Re: String to List?
> 
> 
> This also does it quite nicely:
> 
> 
> 
> Dominic


~|
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:320729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: String to List?

2009-03-19 Thread Adrian Lynch

Dip into Java first maybe then back to CF?












Note the the first element in the array is an empty string. I thought
ArrayDeleteAt() would take care of that but it throws an error.

I'd be interested to see if you find nice one or two line answer to this.

Adrian

> -Original Message-
> From: Christophe Maso [mailto:zum...@hotmail.com]
> Sent: 19 March 2009 21:31
> To: cf-talk
> Subject: String to List?
> 
> 
> Disclaimer - I haven't had to do any fancy string manipulation in a
> while...
> 
> I had thought that ANY string can be treated like a list (for example,
> such that "abcdef" can be treated as a list containing six elements and
> a delimiter of "").  Not so, I recently discovered when I tried to use
> listChangeDelims("abcdef", ",", "").  I wanted to input "abcdef" and
> get "a,b,c,d,e,f" returned, but CF doesn't recognize an empty value as
> a valid delimiter for any of its list functions...and it doesn't accept
> an empty value as the second argument in replace(), either.
> 
> So I wrote a function that'll do what I want, taking a string and the
> desired delimiter as arguments, then looping through each character in
> the string and inserting the delimiter after it (except for the last
> character in the string).  But as one might imagine, it's SLOW for very
> long strings.  String and list manipulation is kid stuff, or so I'd
> thought...surely there's a faster, simpler means?



~|
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:320716
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Suppress whitespace in CFC

2009-03-19 Thread Adrian Lynch

Oh and in your Application.cfc too if there's any more whitespace.

Adrian

> -Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: 19 March 2009 15:30
> To: cf-talk
> Subject: RE: Suppress whitespace in CFC
> 
> 
> Set output="false" in both the cfcomponent and cffunction tags. See if
> that
> makes a difference.
> 
> Adrian
> 
> > -Original Message-
> > From: John M Bliss [mailto:bliss.j...@gmail.com]
> > Sent: 19 March 2009 15:22
> > To: cf-talk
> > Subject: Suppress whitespace in CFC
> >
> >
> > I've written a CFC responsible for returning data to cfgrid
> > format="html"
> >
> bind="cfc:MyCFC.getStuff({cfgridpage},{cfgridpagesize},{cfgridsortcolum
> > n},{cfgridsortdirection})"
> >
> > I'm experiencing a strange error and, when I call
> > http://localhost/.../MyCFC.cfc?method=getStuff&returnFormat=json&;...
> > the
> > actual JSON starts on line 39,439!  The error I'm getting from cfgrid
> > is a
> > JS alert-style popup that reads, "The page at http://localhost says:
> > CFGRID:
> > Response is empty"
> >
> > My theory is that, if I can make the JSON start on line 1, this error
> > will
> > go away but I'm not sure how to suppress the whitespace appearing
> above
> > the
> > JSON.  (Frankly, I'm not even sure where it's coming from.)  I've
> tried
> > cfsetting enableCFoutputOnly="yes", cfprocessingdirective
> > suppressWhiteSpace="yes", and cfsilent and none seems to affect the
> > amount
> > of whitespace at all.
> >
> > Ideas?
> >
> > --
> > John Bliss


~|
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:320699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Suppress whitespace in CFC

2009-03-19 Thread Adrian Lynch

Set output="false" in both the cfcomponent and cffunction tags. See if that
makes a difference.

Adrian

> -Original Message-
> From: John M Bliss [mailto:bliss.j...@gmail.com]
> Sent: 19 March 2009 15:22
> To: cf-talk
> Subject: Suppress whitespace in CFC
> 
> 
> I've written a CFC responsible for returning data to cfgrid
> format="html"
> bind="cfc:MyCFC.getStuff({cfgridpage},{cfgridpagesize},{cfgridsortcolum
> n},{cfgridsortdirection})"
> 
> I'm experiencing a strange error and, when I call
> http://localhost/.../MyCFC.cfc?method=getStuff&returnFormat=json&;...
> the
> actual JSON starts on line 39,439!  The error I'm getting from cfgrid
> is a
> JS alert-style popup that reads, "The page at http://localhost says:
> CFGRID:
> Response is empty"
> 
> My theory is that, if I can make the JSON start on line 1, this error
> will
> go away but I'm not sure how to suppress the whitespace appearing above
> the
> JSON.  (Frankly, I'm not even sure where it's coming from.)  I've tried
> cfsetting enableCFoutputOnly="yes", cfprocessingdirective
> suppressWhiteSpace="yes", and cfsilent and none seems to affect the
> amount
> of whitespace at all.
> 
> Ideas?
> 
> --
> John Bliss
> IT Professional
> LinkedIn: http://www.linkedin.com/in/jbliss


~|
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:320698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Eliminating repeated data in CFoutput field

2009-03-18 Thread Adrian Lynch

Order your query by eName then do something like this:


#yourQuery.eName#

#yourQuery.aTitle#
#yourQuery.cCategory#



You'll need to tweak it to fit in your table layout mind.

Adrian

> -Original Message-
> From: BobSharp [mailto:bobsh...@ntlworld.com]
> Sent: 18 March 2009 22:45
> To: cf-talk
> Subject: Eliminating repeated data in CFoutput field
> 
> 
> rom this output,  I would like to eliminate repeated names 
> 
>   eName   aTitle  cCategory
> Doug Briggs  HP Omni 510Notebook PC
> Nick Heap  IBM Netfinity Server Desktop PC
> Nick Heap  HP Omni 510Notebook PC
> Nick Heap  Motorola T60Mobile Phone
> Audrey Ibbotson   Toshiba Satelite XL  Notebook PC
> Karen Kear Viglen 733   Desktop PC
> Karen Kear HP Omni 510   Notebook PC
> Office Manager HP LaserJet XLLaser Printer
> Office Manager Epson Phaser   Laser Printer
> Glyn Martin Toshiba Tecra 8000Notebook PC
> Glyn Martin  Nokia 7650  Mobile Phone
> Bluetooth
> 
> I am trying to use a variable LastEmp  and  but the
> output is just the same as the original.
> 
> My script is  ...
> 
> 
> 
>  Name   Asset   Category 
> 
> 
> 
>  
> 
>
> 
> 
>  #eName#   
>  #aTitle#   
>  #cCategory#   
> 
> 
> 
> 
> 
> 
> Am in anyway close to achieving it ?


~|
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:320680
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Images/Videos of exact size

2009-03-18 Thread Adrian Lynch

Sorry, should have clarified, file size rather than dimensions.

Ta.

Adrian

> -Original Message-
> From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
> Sent: 18 March 2009 13:01
> To: cf-talk
> Subject: Images/Videos of exact size
> 
> 
> I need to test out an uploader, specifically the size limitations. I've
> made
> text files of the exact sizes needed but I was wondering about doing
> the
> same with images.
> 
> Does anyone know how I can create JPGs and/or MPGs/AVIs/MOVs of a
> specific
> size? I'm guessing I need to take one and pad it with data, but I'm
> uncertain how.
> 
> Any pointers?
> 
> Adrian


~|
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:320636
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Images/Videos of exact size

2009-03-18 Thread Adrian Lynch

I need to test out an uploader, specifically the size limitations. I've made
text files of the exact sizes needed but I was wondering about doing the
same with images.

Does anyone know how I can create JPGs and/or MPGs/AVIs/MOVs of a specific
size? I'm guessing I need to take one and pad it with data, but I'm
uncertain how.

Any pointers?

Adrian


~|
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:320635
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: scheduled tasks and performance, whats the impact on the server?

2009-03-18 Thread Adrian Lynch

It's got to depend on what's going on in them surely?

Adrian

> -Original Message-
> From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
> Sent: 18 March 2009 11:46
> To: cf-talk
> Subject: scheduled tasks and performance, whats the impact on the
> server?
> 
> 
> A quick question re scheduled tasks and performance/load on the server.
> My server is NOT running slow however what worries me is how many
> scheduled tasks I can see in the administrator (25 of them). At what
> point does this become a problem or am I fussing over nothing?
> 
> Many 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:320627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ColdFusion 8 Certification

2009-03-18 Thread Adrian Lynch

Ben said he's not doing a CF8 version of the book. 9 will be the next one.

Adrian

> -Original Message-
> From: N K [mailto:neetukais...@gmail.com]
> Sent: 17 March 2009 20:13
> To: cf-talk
> Subject: ColdFusion 8 Certification
> 
> 
> Hi All,
> 
> It would be helpful if you all could give some advice/suggestions as I
> am planning to give my Adobe CF8 certification exam.Benforta Book for
> CF8 certification exam is still not out.
> -study material would be required
> 
> NK


~|
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:320619
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Time-our on compute intensice page

2009-03-17 Thread Adrian Lynch

Put  in your page.

Adrian

> -Original Message-
> From: Ron Gruner [mailto:webmas...@gruner.com]
> Sent: 17 March 2009 10:50
> To: cf-talk
> Subject: Time-our on compute intensice page
> 
> 
> I'm executing a compute-intensive page that has 500 iterations which
> generates an "exceeded allowable time limit" error after 30 seconds or
> so.  The page needs to run 500 seconds to finish.  I tried executing
> one iteration and then having the page call itself using 
> but that errors out after 10 iterations, I assume to block infinite
> loops.
> 
> So, how do I execute 500 iterations of a routine taking about one
> second each?


~|
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:320566
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Anybody have exerience with KickAssVPS.com?

2009-03-16 Thread Adrian Lynch

Doing any PDF or image creation/manipulation? If so how are you finding it
for speed?

Adrian

> -Original Message-
> From: Rick Faircloth [mailto:r...@whitestonemedia.com]
> Sent: 16 March 2009 16:04
> To: cf-talk
> Subject: RE: Anybody have exerience with KickAssVPS.com?
> 
> 
> I've kinda lost track of who I'm responding to...did you just
> reply to this to get the topic back in the loop, Mike?  I didn't
> see any comments by you below.  I assume that means you're just
> re-asking the question does anyone have any experience with
> KickAssVPS.com.
> 
> If so, I've had about 9 months experience with them now and not a
> single problem at all...not billing issues, no server downtime (that
> wasn't announced...and a good thing is that when a planned upgrade
> didn't go smoothly, instead of continuing to keep the system down while
> they tried to work out the issue, the downgraded and got the system
> back
> up immediately), no server problems at all.  Nice support staff.
> Worked
> with me to get a special configuration of services I wanted included
> and
> some I didn't want taken out of the configuration...and adjust the
> price
> accordingly to make it a good deal.
> 
> Check out their offerings and don't hesitate to request changes to the
> "stock" configurations.  Also, they were running a 2GB Mem special for
> the
> price of one when I got my server, which helps.  But I've never had any
> slow server issues.  And except for initial software setup and
> configuration,
> I've never even had to reboot the server!  Smooth as silk.
> 
> Can't recommend them highly enough!  I have no vested interest, just a
> very
> satisfied customer.  I tried at least two other companies before trying
> KickAssVPS.com and have never looked back.
> 
> As far as I remember, with remoting into the server:
> 
> - Win 2003 Server
> - Running MySQL 5
> - ColdFusion 8
> - Plesk was part of the pack, but I don't allow customer access to the
> server,
>   so I had it uninstalled
> - MSSQL is available, but I don't use it
> 
> I can't think of anything else, but I'm completely satisfied.  Feel
> free to
> ask
> about more specifics if you need them.
> 
> Rick
> 
> PS - and from Jochems remarks awhile back, you do just get a "slice" of
> a
> quad-core
> Pentium, but that beats a "slice" of a Pentium 4!


~|
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:320541
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Sort database records as a human not a computer.

2009-03-16 Thread Adrian Lynch

If you'd like to keep things simple, create a new column and enter the title
as you'd like it to be ordered by. Would love to hear if someone has an idea
about this also.

Adrian

> -Original Message-
> From: Ian Skinner [mailto:h...@ilsweb.com]
> Sent: 16 March 2009 14:27
> To: cf-talk
> Subject: Sort database records as a human not a computer.
> 
> 
> With SQLServer (2000 I believe) if that matters, which it may well.
> 
> I have a data column that contains titles.  I desire the titles to be
> sorted alphabetically as a human would not a computer.  The records I'm
> currently concerned with start with a quote (") and need to start with
> a
> quote.  Ideally I would like the records sorted with these records
> placed in order by the first letter inside the quotes like a human
> librarian would not to the top of the list as a computer does it.
> Since
> I'm wishing for this, it would be really cool if the sort also ignored
> the other human librarian no goes 'a', 'an' and 'the' that are supposed
> to be ignored at the beginning of titles when sorting.
> 
> Luckily this is a very minor requirement and can be ignored if there is
> not is not a simple solution out there, but I also can't believe I am
> the first programmer that needed to do this with database data, so
> maybe
> the functionality already exists.
> 
> TIA
> 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:320532
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Coldfusion + FFmpeg

2009-03-12 Thread Adrian Lynch

You'll be lucky to find one I reckon. What about Railo hosting, they use
ffmpeg under the hood for cfvideo?

Adrian

> -Original Message-
> From: Bryon Westmoreland [mailto:westmorela...@gmail.com]
> Sent: 13 March 2009 01:41
> To: cf-talk
> Subject: Re: Coldfusion + FFmpeg
> 
> 
> Does anyone know of a ColdFusion hosting company that offers ffmpeg as
> part of it's install base for a shared environment?  I want to keep
> cost down during development and have been looking for a CF hosting
> solution for ffmpeg.
> 
> 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:320493
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: What *exactly* does cgi.server_name return.

2009-03-12 Thread Adrian Lynch

calpip-devsite/index.cfmcalpip-devsite
calpip.cdpr.ca.gov/index.cfmcalpip.cdpr.ca.gov
calpip-devsite.inisde.cdpr.ca.gov/index.cfm
calpip-devsite.inisde.cdpr.ca.gov
10.104.106.113/index.cfm10.104.106.113
134.186.118.90/index.cfm/   134.186.118.90

But, I did read somewhere that depending on your set up, either SERVER_NAME
or the other one that looks like it returns the same thing can include the
port.

Google for something like "difference between SERVER_NAME and [some other
CGI var that I can't remember]" and you'll come across a post or two that
explains what it returns.

Or not :OD

Adrian

> -Original Message-
> From: Ian Skinner [mailto:h...@ilsweb.com]
> Sent: 12 March 2009 17:20
> To: cf-talk
> Subject: What *exactly* does cgi.server_name return.
> 
> 
> I think I can get the answer faster from this helpful and generous
> group
> of people then I can write one line of code and try it out on a wide
> variety of environments.
> 
> What exactly is cgi.server_name expected to return?  Looking at the
> following examples what would you expect to be in this variable?
> 
> http://calpip-devsite/index.cfm
> 
> http://calpip.cdpr.ca.gov/index.cfm
> 
> http://calpip-devsite.inisde.cdpr.ca.gov/index.cfm
> 
> http://10.104.106.113/index.cfm
> 
> http://134.186.118.90/index.cfm/
> 
> TIA
> 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:320462
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: IOException while sending message

2009-03-12 Thread Adrian Lynch

Permissions have changed? Run out of disk space?

Adrian

> -Original Message-
> From: Richard White [mailto:rich...@j7is.co.uk]
> Sent: 12 March 2009 13:26
> To: cf-talk
> Subject: IOException while sending message
> 
> 
> hi
> 
> our cf emails were getting sent fine but they are now they are not
> getting sent and the logs are showing the following error:
> 
> IOException while sending message
> 
> we have tried restarting the server
> 
> does anyone have any ideas on what may have caused this
> 
> 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:320432
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


  1   2   3   4   5   6   7   8   9   10   >