RE: Software Recommendations

2010-05-20 Thread Trevor Orr

I used Mango on a couple of projects, one right out of the box easy to use and 
configure, overall very happy with it.

On the other project I had to do some customizations to it, that was extremely 
painful, if you plan customizing anything in it you might want to compare blogs 
very carefully.



-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Friday, May 14, 2010 4:21 AM
To: cf-talk
Subject: Re: Software Recommendations


I definitely prefer BlogCFC.

;)

On Thu, May 13, 2010 at 4:07 PM, Will Swain w...@hothorse.com wrote:

 Are people generally preferring Mango to Ray's BlogCFC nowadays? I've done a
 few blogs with blogCFC, but haven't tried Mango yet.

 -Original Message-
 From: Christopher Stowell [mailto:christopher.stow...@yahoo.com]
 Sent: 13 May 2010 22:03
 To: cf-talk
 Subject: Re: Software Recommendations





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfdocument / cflocation

2010-05-20 Thread Nando

Dave,

Thanks very much for the iframe idea. I will give that a try.

Nando

On Wed, May 19, 2010 at 6:33 PM, Dave Watts dwa...@figleaf.com wrote:


  No, that's not the outcome desired, of course. I want the download window
 to
  pop up and then when the accept the download, they are redirected.

 OK, if the user's clicking a link to get to this download in the first
 place, you can probably do this pretty simply with an HTML page
 containing an iframe with the link to the download. Put an onclick
 handler on the link to cause the page to redirect.

  Maybe I can get close wrapping the cfdocument tag in a cfthread?

 No, CFTHREAD won't help you here, as it only lets you handle
 concurrency on the server, not in the browser.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333824
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Checking Existence of Verity Collections

2010-05-20 Thread Robert Nurse

Hi All,

Is there a way to programmatically determine if a Verity collection exists?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333825
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


In theory - site search and auto-suggest

2010-05-20 Thread Les Mizzell

Working on a search for a site that's 100% database driven. Not sure I'm 
going to be able to use Verity on it, so looking at other methods.

I believe I have a view worked out in the database that I can query and 
generate the proper URLs to get where needed. But, the client has now 
thrown in a slight monkey wrench - he wants the search form to suggest 
stuff when you start typing.

Using cfinput auto-suggest isn't too much trouble, but there's going to 
be a *TON* of data being searched and I'm not sure how to handle that. 
You simply can't return every piece of text, minus common words, from 
the database as a list of any type to suggest. Or can you?

How are others handling this sort of thing?


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5130 (20100519) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333826
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


AJAX Question

2010-05-20 Thread fun and learning

Looks like the AJAX forums is not active, so I thought I will post my question 
here. 

What is the difference between onload and onreadystatechange event in AJAX? Can 
either of the function be used to check if the XMLHTTPRequest state has been 
changed? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333827
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Force SSL

2010-05-20 Thread Matthew Small

In IIS  Website Properties  Directory Security  Secure Communications  Edit 
 Check Require Secure Channel

In IIS  Website Properties  Custom Errors  Find 403.4 (that's SSL required 
error page).  Change the page it directs to to a custom-written CFM page that 
does a replace of HTTP to HTTPS in the URL and then redirect to that URL.

- Matt Small




 Does anyone know of a way to force SSL for all files in a web site?  
 This solution should handle non-Coldfusion pages such as PDF files as 
 well.  I am using Windows 2003 with IIS.
 
 Thanks,
 
 Donnie 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9 local scope gotcha

2010-05-20 Thread Matt Williams

I believe this behavior is as expected, however it breaks our code that worked 
in CF 8. Similar issues have been discussed here and maybe even raised on the 
bug tracker, but I didn't see an example quite like this, so I wanted to share.

Basically, when in a function (where local scope is automatically created) and 
looping over a query or a list, you may reference a column name or the list 
index without adding a scope. For example, myQuery has a column named key.

cfloop query=arguments.myQuery
  cfset local.key = key
/cfloop

On the first iteration through the loop, the variable local.key does not exist. 
The column key is found in the query, and now local.key equals that value; 
say it is 1. On the next loop iteration, CF sees that local.key indeed does 
exist and never looks to the query for the column key. The scope hierarchy 
looks in LOCAL before it looks to the query we are looping over. So each 
subsequent assignment of local.key will equal 1.

There are several fairly simple workarounds: don't use the same variable name 
for the local scope; scope the right side of the assignment; etc. The point is 
you will need to watch out for this on legacy code if you're upgrading to 
ColdFusion 9.

I don't think this should be filed as a bug, although the current scope 
hierarchy could be debated. That is why I'm posting here and on my blog which 
also has sample code for download:
http://www.mattjanell.com/index.cfm?event=showEntryentryId=B5EBBF4F-0C02-AEAF-607ECCAD91A37089

Just FYI. Sorry if this has already been discussed, but I couldn't find a 
similar post.

-Matt W 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


HowTo Convert a String to an Array?

2010-05-20 Thread Brett H

Given the following string in Coldfusion:

ul[0][id]=main1 ul[0][children][0][id]=child2 ul[0][children][0][class]= 
ul[1][id]=main3 ul[2][id]=main4 ul[3][id]=main5 
I'm looking for help understanding how to use the string above to create an 
array, which will then allow be to later build out the following: 

UL
LI id=main1
Lorem ipsum dolor sit amet, consectetur 
UL
LI id=child2
In hac habitasse platea dictumst. 
UL/UL
/LI
/UL
/LI
LI id=main3
In hac habitasse platea dictumst. 
UL/UL
/LI
LI id=main4
In hac habitasse platea dictumst. 
UL/UL
/LI
LI id=main5
In hac habitasse platea dictumst. 
UL/UL
/LI
/UL


Thanks for any help! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Checking Existence of Verity Collections

2010-05-20 Thread Robert Nurse

Hi All,

Is there a way to programmatically determine if a Verity collection exists?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


error performing a file operation write on file

2010-05-20 Thread Keith McGee

I am creating a csv file from oracle, then writing it to a shared server to be 
accessed by another system. When I run the program on my test server (which is 
inside the domain), the program runs fine and the file writes to the share 
server.

When I run this in production (our web server) I receive the following error. 

An error occurred when performing a file operation write on file 
\\server\directory\file.csv. The cause of this exception was: 
java.io.FileNotFoundException: \\file \\server\directory\file.csv. (Access is 
denied). brThe error occurred on line 18. 

In the scheduled task I am logging in as a domain admin, coldfusion is also 
logging in as a domain admin. 

any ideas?

here is line 18 in case

cffile action=write
 file=\\server\directory\file.csv
 output=
 nameconflict=overwrite


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9 Hosting

2010-05-20 Thread Kelly Matthews

Anyone know any good, reasonable CF 9 hosting companies w/ mysql. 
Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfc accessing session scope - bad?

2010-05-20 Thread Matthew P. Smith

Is it a bad practice to have a cfc access a session variable?  Should the
session variable be passed in as an argument instead?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfc accessing session scope - bad?

2010-05-20 Thread Cutter (ColdFusion)

Best practice is to pass in the session variable. There can be issues 
with calling a persistent scope directly within a CFC, typically around 
application performance and proper garbage collection.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Matthew P. Smith wrote:
 Is it a bad practice to have a cfc access a session variable?  Should the
 session variable be passed in as an argument instead?


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfc accessing session scope - bad?

2010-05-20 Thread Brian Kotek

In general, yes. The exceptions are if you have a method specifically meant
to encapsulate access session scope so that other methods in the object can
get to that data (i.e. a getCurrentUser() method in a UserService), or if
you create a dedicated SessionProxy object that other objects use to access
data in the session scope.

On Thu, May 20, 2010 at 8:04 AM, Matthew P. Smith 
m...@smithwebdesign.netwrote:


 Is it a bad practice to have a cfc access a session variable?  Should the
 session variable be passed in as an argument instead?


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfdocument / cflocation

2010-05-20 Thread Nando

Thanks for the code block Bryn.

On Wed, May 19, 2010 at 5:02 PM, Bryn Parrott bryn_parr...@internode.on.net
 wrote:


 Dave,
 
 No, that's not the outcome desired, of course. I want the download window
 to
 pop up and then when the accept the download, they are redirected.
 
 Maybe I can get close wrapping the cfdocument tag in a cfthread?
 
 Nando
 
 
 
 Faced with a similar problem in CF 8 some time ago, I used some javascript
 (not cflocation) at the bottom of the document like this:
 cfdocument  filename=#tempfile# format=PDF pagetype=A4
 margintop=0.5 marginbottom=0.5 marginright=0.5 marginleft=0.5
 orientation=portrait unit=cm encryption=none fontembed=Yes
 overwrite=Yes backgroundvisible=Yes bookmark=False localUrl=yes

 your pdf html code goes here.
 .
 .
 /cfdocument
 cfif fileexists(tempfile) and attributes.command eq 'file'
cfset thisresult = ordersobj.sendpdfquotefile(session.user,
 client_order_id, tempfile)
cfif thisresult.insertsuccess
script language=JavaScript
alert(The Job Sheet PDF File has now been sent via
 email);
parentWin=self.opener;
parentWin.location.reload(true);
window.close();
/script
cfelse
cfoutput
script language=JavaScript
alert(There was a problem generating and sending
 the PDF file: #thisresult.msg#);
window.close();
/script
/cfoutput
/cfif
 /cfif

 Do whatever you want in the Javascript...including 'window.location'
 There is also the possibility of making use of the 'OnRequestEnd' event,
 and perhaps you could do a cflocation in there if you are wedded to this
 (but I have found that window.location works fine for me; as it acheives the
 same end.)

 IHTH.
 Bryn Parrott

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread AJ Mercer

it doesn't show it here (yet) but FASThit have CF9 hosting
http://fasthit.net/

On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread James Holmes

http://www.viviotech.net/


mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Checking Existence of Verity Collections

2010-05-20 Thread Paul Vernon

I use these two functions...

cffunction name=catalogExists access=public
returntype=boolean output=false
hint=Checks to see if a catalog exists by
attemtping to perform a search.

cfreturn CatalogStats().recordcount GT 0
/cffunction

cffunction name=catalogStats access=public returntype=query
output=false
hint=Returns all the catalog statistics

cfset var q = 

cflock name=#variables.instance.searchHash#
type=readonly timeout=20
cfcollection action=list name=q
/cflock

cfquery name=q dbtype=query
SELECT *
FROM q
WHERE name = cfqueryparam
value=#variables.instance.catalog# cfsqltype=cf_sql_varchar
maxlength=100
/cfquery

cfreturn q
/cffunction

Paul

 -Original Message-
 From: Robert Nurse [mailto:rnu...@gmail.com]
 Sent: Thursday, May 20, 2010 2:09 PM
 To: cf-talk
 Subject: Checking Existence of Verity Collections
 
 
 Hi All,
 
 Is there a way to programmatically determine if a Verity collection
 exists?
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Paul Alkema

I've been using hostek for awhile and really like it.

http://hostek.com/

One of the best features I think is that you can run cf9 applications,
asp.net applications and php applications all from 1 hosting package which
is awesome since I develop in all of those languages. 

Also they're CF package is only $5/month which is awesome.

One down side I think is the hosting control panel isn't all that great, but
it works well and does that I want.

Regards,
Paul Alkema
http://paulalkema.com/


-Original Message-
From: James Holmes [mailto:james.hol...@gmail.com] 
Sent: Thursday, May 20, 2010 11:10 AM
To: cf-talk
Subject: Re: CF 9 Hosting


http://www.viviotech.net/


mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: In theory - site search and auto-suggest

2010-05-20 Thread Rick Mason

Lee,

You didn't mention the database.  I know Microsoft SQL Server has a nifty
text search capability built in.  We had someone do a meeting on it for us
one time and its lightening fast and less overhead to get setup than
Verity.  I am pretty sure that you can use Verity as well to search a
database in case that isn't an option.

If speed is still a problem, launch without it and find out your most
popular searches.  Then build a small table for just the 500 most popular
searches that will popup quickly and most users will be satisfied.


Rick

On Wed, May 19, 2010 at 8:12 PM, Les Mizzell lesm...@bellsouth.net wrote:


 Working on a search for a site that's 100% database driven. Not sure I'm
 going to be able to use Verity on it, so looking at other methods.

 I believe I have a view worked out in the database that I can query and
 generate the proper URLs to get where needed. But, the client has now
 thrown in a slight monkey wrench - he wants the search form to suggest
 stuff when you start typing.

 Using cfinput auto-suggest isn't too much trouble, but there's going to
 be a *TON* of data being searched and I'm not sure how to handle that.
 You simply can't return every piece of text, minus common words, from
 the database as a list of any type to suggest. Or can you?

 How are others handling this sort of thing?


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 5130 (20100519) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Kelly Matthews

Thanks. Although  I use them now, they go down 2-3 times a day. Far too much 
for my client, they want to move. 

I've been using hostek for awhile and really like it.

http://hostek.com/

One of the best features I think is that you can run cf9 applications,
asp.net applications and php applications all from 1 hosting package which
is awesome since I develop in all of those languages. 

Also they're CF package is only $5/month which is awesome.

One down side I think is the hosting control panel isn't all that great, but
it works well and does that I want.

Regards,
Paul Alkema
http://paulalkema.com/


http://www.viviotech.net/


mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Kelly Matthews

Actually while hostek's prices are great, the fact that they go down 2-3 times 
PER day is far too much for my client, which is why I'm looking to move.  
Should have mentioned anyone but hostek.

I've been using hostek for awhile and really like it.

http://hostek.com/

One of the best features I think is that you can run cf9 applications,
asp.net applications and php applications all from 1 hosting package which
is awesome since I develop in all of those languages. 

Also they're CF package is only $5/month which is awesome.

One down side I think is the hosting control panel isn't all that great, but
it works well and does that I want.

Regards,
Paul Alkema
http://paulalkema.com/


http://www.viviotech.net/


mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Paul Alkema

Um, that's not good. That's odd, I've never had my site go down.

Oh well, good luck anyway. :)

-Original Message-
From: Kelly Matthews [mailto:ke...@webdiva.org] 
Sent: Thursday, May 20, 2010 11:41 AM
To: cf-talk
Subject: Re: CF 9 Hosting


Actually while hostek's prices are great, the fact that they go down 2-3
times PER day is far too much for my client, which is why I'm looking to
move.  Should have mentioned anyone but hostek.

I've been using hostek for awhile and really like it.

http://hostek.com/

One of the best features I think is that you can run cf9 applications,
asp.net applications and php applications all from 1 hosting package which
is awesome since I develop in all of those languages. 

Also they're CF package is only $5/month which is awesome.

One down side I think is the hosting control panel isn't all that great,
but
it works well and does that I want.

Regards,
Paul Alkema
http://paulalkema.com/


http://www.viviotech.net/


mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks! 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333845
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Alan Rother

Just to put them in the Mix...

www.crystaltech.com

I've hosted dozens of sites there, great company, few issues...

=]

On Thu, May 20, 2010 at 9:13 AM, Paul Alkema paulalkemadesi...@gmail.comwrote:


 Um, that's not good. That's odd, I've never had my site go down.

 Oh well, good luck anyway. :)

 -Original Message-
 From: Kelly Matthews [mailto:ke...@webdiva.org]
 Sent: Thursday, May 20, 2010 11:41 AM
 To: cf-talk
 Subject: Re: CF 9 Hosting


 Actually while hostek's prices are great, the fact that they go down 2-3
 times PER day is far too much for my client, which is why I'm looking to
 move.  Should have mentioned anyone but hostek.

 I've been using hostek for awhile and really like it.
 
 http://hostek.com/
 
 One of the best features I think is that you can run cf9 applications,
 asp.net applications and php applications all from 1 hosting package
 which
 is awesome since I develop in all of those languages.
 
 Also they're CF package is only $5/month which is awesome.
 
 One down side I think is the hosting control panel isn't all that great,
 but
 it works well and does that I want.
 
 Regards,
 Paul Alkema
 http://paulalkema.com/
 
 
 http://www.viviotech.net/
 
 
 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/
 
 
 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:
 
 
  Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
  Thanks!



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333846
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Eric Cobb

I'll +1 for CrystalTech. I've been using them for years.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Alan Rother wrote:
 Just to put them in the Mix...

 www.crystaltech.com

 I've hosted dozens of sites there, great company, few issues...

 =]

 On Thu, May 20, 2010 at 9:13 AM, Paul Alkema 
 paulalkemadesi...@gmail.comwrote:

   
 Um, that's not good. That's odd, I've never had my site go down.

 Oh well, good luck anyway. :)

 -Original Message-
 From: Kelly Matthews [mailto:ke...@webdiva.org]
 Sent: Thursday, May 20, 2010 11:41 AM
 To: cf-talk
 Subject: Re: CF 9 Hosting


 Actually while hostek's prices are great, the fact that they go down 2-3
 times PER day is far too much for my client, which is why I'm looking to
 move.  Should have mentioned anyone but hostek.

 
 I've been using hostek for awhile and really like it.

 http://hostek.com/

 One of the best features I think is that you can run cf9 applications,
 asp.net applications and php applications all from 1 hosting package
   
 which
 
 is awesome since I develop in all of those languages.

 Also they're CF package is only $5/month which is awesome.

 One down side I think is the hosting control panel isn't all that great,
   
 but
 
 it works well and does that I want.

 Regards,
 Paul Alkema
 http://paulalkema.com/


 http://www.viviotech.net/


 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:

   
 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!
 


 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333847
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Gerald Guido

++1,000,000 for http://www.viviotech.net/

Best customer service I have experienced in my 13 years in the biz. They go
above and beyond my expectations as a matter of course.

G!

On Thu, May 20, 2010 at 11:09 AM, James Holmes james.hol...@gmail.comwrote:


 http://www.viviotech.net/


 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:

 
  Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
  Thanks!


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333848
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Phillip Vector

How open are they to giving you 1 step up from webroot access?

On Thu, May 20, 2010 at 9:34 AM, Eric Cobb cft...@ecartech.com wrote:

 I'll +1 for CrystalTech. I've been using them for years.

 Thanks,

 Eric Cobb
 ECAR Technologies, LLC
 http://www.ecartech.com
 http://www.cfgears.com



 Alan Rother wrote:
 Just to put them in the Mix...

 www.crystaltech.com

 I've hosted dozens of sites there, great company, few issues...

 =]

 On Thu, May 20, 2010 at 9:13 AM, Paul Alkema 
 paulalkemadesi...@gmail.comwrote:


 Um, that's not good. That's odd, I've never had my site go down.

 Oh well, good luck anyway. :)

 -Original Message-
 From: Kelly Matthews [mailto:ke...@webdiva.org]
 Sent: Thursday, May 20, 2010 11:41 AM
 To: cf-talk
 Subject: Re: CF 9 Hosting


 Actually while hostek's prices are great, the fact that they go down 2-3
 times PER day is far too much for my client, which is why I'm looking to
 move.  Should have mentioned anyone but hostek.


 I've been using hostek for awhile and really like it.

 http://hostek.com/

 One of the best features I think is that you can run cf9 applications,
 asp.net applications and php applications all from 1 hosting package

 which

 is awesome since I develop in all of those languages.

 Also they're CF package is only $5/month which is awesome.

 One down side I think is the hosting control panel isn't all that great,

 but

 it works well and does that I want.

 Regards,
 Paul Alkema
 http://paulalkema.com/


 http://www.viviotech.net/


 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:


 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!







 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333849
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Eric Cobb

To quote the great Jedi Master himself, You probably won't find a 5 
dollar a month hosting option for CF like you can with PHP. But basing 
your business on a host that charges as much as an imported beer is 
probably not a good idea.  
http://www.cfgears.com/index.cfm/2009/5/21/Best-ColdFusion-quote-EVER

:)

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Kelly Matthews wrote:
 Actually while hostek's prices are great, the fact that they go down 2-3 
 times PER day is far too much for my client, which is why I'm looking to 
 move.  Should have mentioned anyone but hostek.

   
 I've been using hostek for awhile and really like it.

 http://hostek.com/

 One of the best features I think is that you can run cf9 applications,
 asp.net applications and php applications all from 1 hosting package which
 is awesome since I develop in all of those languages. 

 Also they're CF package is only $5/month which is awesome.

 One down side I think is the hosting control panel isn't all that great, but
 it works well and does that I want.

 Regards,
 Paul Alkema
 http://paulalkema.com/


 http://www.viviotech.net/


 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 On 20 May 2010 06:10, Kelly Matthews ke...@webdiva.org wrote:

 
 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks! 
   

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333850
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Checking Existence of Verity Collections

2010-05-20 Thread Dave Watts

 Is there a way to programmatically determine if a Verity collection exists?

Sure. Try to create it within a CFTRY/CFCATCH.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333851
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: error performing a file operation write on file

2010-05-20 Thread Dave Watts

 I am creating a csv file from oracle, then writing it to a shared server to 
 be accessed by
 another system. When I run the program on my test server (which is inside the 
 domain), the
 program runs fine and the file writes to the share server.

 When I run this in production (our web server) I receive the following error.

 An error occurred when performing a file operation write on file 
 \\server\directory\file.csv. The
 cause of this exception was: java.io.FileNotFoundException: \\file 
 \\server\directory\file.csv.
 (Access is denied). brThe error occurred on line 18.

 In the scheduled task I am logging in as a domain admin, coldfusion is also 
 logging in as a
 domain admin.

Is the production web server in the domain?

From the console of the production server, can you log in with the
same account used by CF and access that UNC path?

Is it possible the the file is being locked on the other server?

By the way, you REALLY shouldn't run CF as a domain admin. That's just
asking for trouble. Use a domain account with fewer privileges - a
regular user account will do, given the privilege to run as a service
and given the appropriate filesystem permissions (read/execute on your
web root, rwxd on the CF/JRun install directory).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333852
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Dawn Sekel

I have used them for years too -- but I have recently had a really bad 
experience with them.  I signed one of my new customers up under a shared 
hosting account -- just a small application.  The server he was on kept 
crashing.  Their technical support told him that the problem was Coldfusion and 
that he needed to switch to another technology.  They said Coldfusion is going 
out of business and know one uses it any more.  Anyway -- I don't user them any 
more for my smaller customers that can't afford a dedicated server. 

I'll +1 for CrystalTech. I've been using them for years.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Alan Rother wrote:
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333853
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Paul Alkema

Coldfusion is going out of business and know one uses it any more?

Ignorant scum.

-Original Message-
From: Dawn Sekel [mailto:dawnt...@yahoo.com] 
Sent: Thursday, May 20, 2010 12:57 PM
To: cf-talk
Subject: Re: CF 9 Hosting


I have used them for years too -- but I have recently had a really bad
experience with them.  I signed one of my new customers up under a shared
hosting account -- just a small application.  The server he was on kept
crashing.  Their technical support told him that the problem was Coldfusion
and that he needed to switch to another technology.  They said Coldfusion is
going out of business and know one uses it any more.  Anyway -- I don't user
them any more for my smaller customers that can't afford a dedicated server.


I'll +1 for CrystalTech. I've been using them for years.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Alan Rother wrote:
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333854
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Robert Harrison

 Coldfusion is going out of business and know one uses it any more?

What's the name of the company that said this.   I'll twitter that I heard
they are going out of business and get my 1,200 followers to retweet it. 

One good false rumor deserves another :-)


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: AW Unplugged
http://www.austin-williams.com/unplugged


 

__ Information from ESET Smart Security, version of virus signature
database 5133 (20100520) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


create cf-tags as code for a file

2010-05-20 Thread daniel kessler

I want to generate a file (by code) that has CF tags in it so that it can be 
included into another file.  I can write in the # by escaping them, but I also 
want to escape the cold fusion tags so that they're not enacted when I write 
the file, but rather when that generated file is included in another file.

cfsavecontent variable=xml_counts
ul style=margin-top:-10px;
cfloop condition=ea_date gte start_date

 cfoutput 
--- 
I don't want the following cfoutput tag to be enacted by rather written into 
the file, 
   so that when it's included into another file, it has the cfoutput 
tag to work.  I need to escape the tag.  How to do that?
--- 
 cfoutput 
 
 lia href='##the_page##?archive=#the_content#/li

 
/cfoutput
/cfloop
/ul
/cfsavecontent 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: In theory - site search and auto-suggest

2010-05-20 Thread Al Musella, DPM

Interesting problem..
  perhaps create a separate table of search terms and results.
When someone starts typing, after maybe 5 characters, search this 
table and if found, display those results.
IF it is not in the search table, do a real search, but only retrieve 
the top 5 matches- order by popularity or if you don't track 
popularity, by date or whatever... and then also insert that search 
term and result into the search table.

If the site changes frequently, run an automated task every night to 
refresh those search terms.  You can perhaps manually edit them also 
if you want certain words to be suggested in the future




At 11:37 AM 5/20/2010, you wrote:

Lee,

You didn't mention the database.  I know Microsoft SQL Server has a nifty
text search capability built in.  We had someone do a meeting on it for us
one time and its lightening fast and less overhead to get setup than
Verity.  I am pretty sure that you can use Verity as well to search a
database in case that isn't an option.

If speed is still a problem, launch without it and find out your most
popular searches.  Then build a small table for just the 500 most popular
searches that will popup quickly and most users will be satisfied.


Rick



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333857
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: In theory - site search and auto-suggest

2010-05-20 Thread Les Mizzell

 You didn't mention the database.  I know Microsoft SQL Server has a nifty
 text search capability built in. 

Don't have a problem setting up the search itself. I've got it worked 
out using either just CF code, or letting SQL handle part of it.

The concern is the auto-suggest part. I'm searching large news 
releases. I just don't see a way to put every word in there (minus 
common terms) into any sort of list to use for the auto-suggest.

My recommendation back to the client is that have them enter in up to 10 
search keywords for each article they enter and build the list from 
those. Unless somebody has a better idea


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5133 (20100520) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: create cf-tags as code for a file

2010-05-20 Thread Barney Boisvert

This is the right way to do it, in general:

cfsavecontent var=content
 #chr(60)#cfoutput
  li.../li
 #chr(60)#/cfoutput
/cfsavecontent

It's kind of ugly, however, and this will often work:

cfsavecontent var=content
 [cfoutput
  li.../li
 [/cfoutput
/cfsavecontent
cfset content = replace(content, [cf, cf, all) /

cheers,
barneyb

On Thu, May 20, 2010 at 11:02 AM, daniel kessler dani...@umd.edu wrote:

 I want to generate a file (by code) that has CF tags in it so that it can be 
 included into another file.  I can write in the # by escaping them, but I 
 also want to escape the cold fusion tags so that they're not enacted when I 
 write the file, but rather when that generated file is included in another 
 file.

 cfsavecontent variable=xml_counts
        ul style=margin-top:-10px;
        cfloop condition=ea_date gte start_date

         cfoutput
 ---
 I don't want the following cfoutput tag to be enacted by rather written into 
 the file,
           so that when it's included into another file, it has the cfoutput 
 tag to work.  I need to escape the tag.  How to do that?
 ---
         cfoutput
         lia href='##the_page##?archive=#the_content#/li

        /cfoutput
        /cfloop
        /ul
 /cfsavecontent

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333859
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: create cf-tags as code for a file

2010-05-20 Thread daniel kessler

This is the right way to do it, in general:

cfsavecontent var=content
 #chr(60)#cfoutput
  li.../li
 #chr(60)#/cfoutput
/cfsavecontent

hey thanks!  That worked very well.  yay! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: In theory - site search and auto-suggest

2010-05-20 Thread Wil Genovese

Just a wild thought.

Why not use a Nouns list (there are many publicly available) and then use that 
to determine keywords in the news releases.  You can remove duplicates, but you 
could also include a rank systems for each noun found in the new article.  +1 
for every time the noun is in the news release and +1 if it is in the title.  I 
think with some experimenting and tweaking you could make a pretty good system 
for searching.

 Just a thought?

Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On May 20, 2010, at 1:11 PM, Les Mizzell wrote:

 
 You didn't mention the database.  I know Microsoft SQL Server has a nifty
 text search capability built in. 
 
 Don't have a problem setting up the search itself. I've got it worked 
 out using either just CF code, or letting SQL handle part of it.
 
 The concern is the auto-suggest part. I'm searching large news 
 releases. I just don't see a way to put every word in there (minus 
 common terms) into any sort of list to use for the auto-suggest.
 
 My recommendation back to the client is that have them enter in up to 10 
 search keywords for each article they enter and build the list from 
 those. Unless somebody has a better idea
 
 
 __ Information from ESET NOD32 Antivirus, version of virus signature 
 database 5133 (20100520) __
 
 The message was checked by ESET NOD32 Antivirus.
 
 http://www.eset.com
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333861
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Dawn Sekel

Believe it or not it has actually been three different companies in the past 
few months.  supp...@crystaltech.com - they said Cold Fusion is problematic 
and is requires constant restarts and advised us to move to a different 
technology. My customer said they told him Coldfusion wasn't a viable solution 
for today's webservers.  It should be noted that this is in a shared Server 
environment. 

The next was goDaddy.com.  My customer wanted to use them as a hosting service 
-- I haven't ever used them and we have had all sorts of problems with them.  
Again a shared server environment.  They keep asking my customer to switch to 
PHP or ASP.

The last was http://www.ablecommerce.com/ They were a Coldfusion shop for years 
and I have installed their Shopping cart software for many customers in the 
past.  One of my old customers contacted me and said that they stopped 
supporting Coldfusion and no longer support it. When I called them, they said 
that they felt Coldfusion was no longer a market leader and it wasn't worth 
their investment to support that market base.  

Sigh

 
 Coldfusion is going out of business and know one uses it any more?

What's the name of the company that said this.   I'll twitter that I heard
they are going out of business and get my 1,200 followers to retweet it. 

One good false rumor deserves another :-)


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: AW Unplugged
http://www.austin-williams.com/unplugged


 

__ Information from ESET Smart Security, version of virus signature
database 5133 (20100520) __

The message was checked by ESET Smart Security.

http://www.eset.com

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333862
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfc accessing session scope - bad?

2010-05-20 Thread Adrian Moreno

I've got an example of a Session Facade (or Session Proxy?) on my site:

http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Using-a-Session-Facade-to-handle-evolving-session-variables

--- Adrian

In general, yes. The exceptions are if you have a method specifically meant
to encapsulate access session scope so that other methods in the object can
get to that data (i.e. a getCurrentUser() method in a UserService), or if
you create a dedicated SessionProxy object that other objects use to access
data in the session scope.

On Thu, May 20, 2010 at 8:04 AM, Matthew P. Smith 
m...@smithwebdesign.netwrote:


 Is it a bad practice to have a cfc access a session variable?  Should the
 session variable be passed in as an argument instead?


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333863
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfc accessing session scope - bad?

2010-05-20 Thread Eric Cobb

Me too!  Me too!  Me too!  :)

http://www.cfgears.com/index.cfm/2009/12/3/Using-a-Session-Facade-in-ColdFusion

I can vouch for Adrian's article, though.  When I first started working 
with Session Facades in Mach-II, the post he linked to below went a long 
way in helping me understand them.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Adrian Moreno wrote:
 I've got an example of a Session Facade (or Session Proxy?) on my site:

 http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Using-a-Session-Facade-to-handle-evolving-session-variables

 --- Adrian

   
 In general, yes. The exceptions are if you have a method specifically meant
 to encapsulate access session scope so that other methods in the object can
 get to that data (i.e. a getCurrentUser() method in a UserService), or if
 you create a dedicated SessionProxy object that other objects use to access
 data in the session scope.

 On Thu, May 20, 2010 at 8:04 AM, Matthew P. Smith 
 m...@smithwebdesign.netwrote:

 
 Is it a bad practice to have a cfc access a session variable?  Should the
 session variable be passed in as an argument instead?



   

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Checking Existence of Verity Collections

2010-05-20 Thread Jason Fisher

CFCOLLECTION can return a list of all collections as a query, so then just QoQ 
that:

cffunction name=verify access=private returntype=boolean output=No 
hint=check whether or not a collection exists
cfargument name=collectionName type=string required=yes /

cfset var existingCols = queryNew(EMPTY_) /

cfcollection action=list name=existingCols /

cfquery dbtype=query name=existingCols
SELECT *
FROM existingCols
WHERE name = cfqueryparam cfsqltype=CF_SQL_VARCHAR 
value=#arguments.collectionName# /
/cfquery

cfreturn existingCols.recordCount /
/cffunction



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


re: CF 9 Hosting

2010-05-20 Thread Jason Fisher

www.crystaltech.com





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333866
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Jason Fisher

Wow, CrystalTech has been nothing but great for me.  Solid beta of CF9 before 
they released it commercially, too, so they are definitely on the ColdFusion 
train.  Not sure why you got a bad tech there, but that has certainly never 
been their attitude to me, and I've hosted with them for years.



From: Dawn Sekel dawnt...@yahoo.com
Sent: Thursday, May 20, 2010 3:02 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: CF 9 Hosting

Believe it or not it has actually been three different companies in the past 
few months.  supp...@crystaltech.com - they said Cold Fusion is problematic 
and is requires constant restarts and advised us to move to a different 
technology. My customer said they told him Coldfusion wasn't a viable solution 
for today's webservers.  It should be noted that this is in a shared Server 
environment. 

The next was goDaddy.com.  My customer wanted to use them as a hosting service 
-- I haven't ever used them and we have had all sorts of problems with them.  
Again a shared server environment.  They keep asking my customer to switch to 
PHP or ASP.

The last was http://www.ablecommerce.com/ They were a Coldfusion shop for years 
and I have installed their Shopping cart software for many customers in the 
past.  One of my old customers contacted me and said that they stopped 
supporting Coldfusion and no longer support it. When I called them, they said 
that they felt Coldfusion was no longer a market leader and it wasn't worth 
their investment to support that market base.  

Sigh

 Coldfusion is going out of business and know one uses it any more?

What's the name of the company that said this.   I'll twitter that I heard
they are going out of business and get my 1,200 followers to retweet it. 

One good false rumor deserves another :-)


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:�AW Unplugged
http://www.austin-williams.com/unplugged


 

__ Information from ESET Smart Security, version of virus signature
database 5133 (20100520) __

The message was checked by ESET Smart Security.

http://www.eset.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333867
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: In theory - site search and auto-suggest

2010-05-20 Thread Jason Fisher

Another option might be to have the auto-suggest test ONLY against article 
titles and return a list only of article titles, even though the search 
might cover body content and other things as well.  Would at least reduce 
the overhead of the auto-suggest while at the same time returning 
specifically relevant options in the list.



From: Wil Genovese jugg...@trunkful.com
Sent: Thursday, May 20, 2010 2:26 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: In theory - site search and auto-suggest

Just a wild thought.

Why not use a Nouns list (there are many publicly available) and then use 
that to determine keywords in the news releases.  You can remove 
duplicates, but you could also include a rank systems for each noun found 
in the new article.  +1 for every time the noun is in the news release and 
+1 if it is in the title.  I think with some experimenting and tweaking you 
could make a pretty good system for searching.

Just a thought?

Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On May 20, 2010, at 1:11 PM, Les Mizzell wrote:

 
 You didn't mention the database.  I know Microsoft SQL Server has a 
nifty
 text search capability built in. 
 
 Don't have a problem setting up the search itself. I've got it worked 
 out using either just CF code, or letting SQL handle part of it.
 
 The concern is the auto-suggest part. I'm searching large news 
 releases. I just don't see a way to put every word in there (minus 
 common terms) into any sort of list to use for the auto-suggest.
 
 My recommendation back to the client is that have them enter in up to 10 

 search keywords for each article they enter and build the list from 
 those. Unless somebody has a better idea
 
 
 __ Information from ESET NOD32 Antivirus, version of virus 
signature database 5133 (20100520) __
 
 The message was checked by ESET NOD32 Antivirus.
 
 http://www.eset.com
 
 
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread William Seiter

GearHost has all of their servers on CF9.  I just spoke to Adam Patton in sales 
who confirmed that the servers are updated, but the website hasn't been yet.

http://www.gearhost.com/hosting/shared/coldfusion/

William


--
William E. Seiter


On May 20, 2010, Kelly Matthews ke...@webdiva.org wrote: 


Anyone know any good, reasonable CF 9 hosting companies w/ mysql. 
Thanks! 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333869
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: CF 9 Hosting

2010-05-20 Thread William Seiter

I wouldn't use them anymore at all, if they had told one of my clients that.

William


--
William E. Seiter


On May 20, 2010, Dawn Sekel dawnt...@yahoo.com wrote: 


I have used them for years too -- but I have recently had a really bad 
experience with them.  I signed one of my new customers up under a shared 
hosting account -- just a small application.  The server he was on kept 
crashing.  Their technical support told him that the problem was Coldfusion and 
that he needed to switch to another technology.  They said Coldfusion is going 
out of business and know one uses it any more.  Anyway -- I don't user them any 
more for my smaller customers that can't afford a dedicated server. 

I'll +1 for CrystalTech. I've been using them for years.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Alan Rother wrote:
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333870
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Will Tomlinson

Anyone know any good, reasonable CF 9 hosting companies w/ mysql. 
Thanks!

+ 1000 for viviotech. They rock. 

Will 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: CF 9 Hosting

2010-05-20 Thread Matt Robertson

I too have been with Crystaltech for years.  Something you should have
done if you had a tech talking like that is report it in the
satisfaction survey they send out after every ticket is resolved.

One thing I have learned is that *all* hosts, sooner or later,
decrease in tech support quality.  The trick is to find the one who
declines the least, where that decline doesn't affect you because you
put yourself in charge of the job..  Its helpful when you can do your
own work and don't have to rely on anyone.

Which brings me to my next point:  Stop trying to get decent CF
service on shared hosting.  It only takes one moron writing bad CF
code (and lets face it, CF has more than its fair share of those per
capita, thanks to its shallow learning curve) to crush the life out of
the server.  Stop wasting your time swimming upstream.  Drop the coin
to get yourself a dedicated box and a CF license.

Then only your own code - which is of course rock solid - is affecting
the box.  You have a high nut to make for the month, sure.  But its
peanuts compared to the profit you can make off of a dedicated box
where you charge customers $20-$50 per month for hosting / email *and
you get to keep all of that*.  Same with things like secure
certificates.  10 minutes worth of effort and $30 in actual expense.
Bill it out any way you please.

I jumped ship off of shared hosting years ago.  Never looked back.

-- 
-...@robertson--
Janitor, The Robertson Team
mysecretbase.com

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333872
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: CF 9 Hosting

2010-05-20 Thread Kevin Pepperman

VPS on Viviotech is my favorite nowadays-- I highly recommend them.

The pricing is good, and the service is scalable as your needs grow.
My last 2 requests to support were after 2AM and both were responded to
within an hour-- the first was in 10 minutes. (no kidding.. after 2AM EST)
My client registered a domain and emailed me around 2AM, I updated the DNS
records to point to Viviotech then sent a domain request to Viviotech
support.
I didn't even get an email back out to my client yet and Viviotech support
responded back that the request was completed. The DSN was already resolved
and serving files from the new domain on my VPS.
Needless to say my client was very impressed with the speed that his domain
came to life, as was I.
The Viviotech VPS control panels are top notch, and you can almost anything
you can think of, adding FTP clients/domains is a breeze.

Addn:
I also use CTEK for a few clients, but I too have heard that BS about CF and
other stuff from them. They also told me that osCommerce and Gallery2 was
bad and insecure. :\
I had to explain to them they need to keep their opinions to themselves,
telling a client that any app or language that they use is bad or dying
is only feeding the fire of their own demise.
Especially someone like me, I use CFML and OsCommerce extensively (all
PCI compliant too), my clients do millions of dollars in transactions on
this software, and suddenly its bad?
What exactly qualifies support staff to say this type of thing i'll never
know, but I do know that CFML is awesome, anyone attempting to bash CFML
looks comical to me.



-- 
/Kevin Pepperman

They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety. - Benjamin Franklin


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Aaron Neff

www.hosting.com

Anyone know any good, reasonable CF 9 hosting companies w/ mysql. 
Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 local scope gotcha

2010-05-20 Thread Kris Jones

My experience has always been that inside a cfloop on a query, you
must specify the scope. Inside a cfoutput on query you do not need to
specify the scope.

Cheers,
Kris


 I believe this behavior is as expected, however it breaks our code that 
 worked in CF 8. Similar issues have been discussed here and maybe even raised 
 on the bug tracker, but I didn't see an example quite like this, so I wanted 
 to share.

 Basically, when in a function (where local scope is automatically created) 
 and looping over a query or a list, you may reference a column name or the 
 list index without adding a scope. For example, myQuery has a column named 
 key.

 cfloop query=arguments.myQuery
  cfset local.key = key
 /cfloop

 On the first iteration through the loop, the variable local.key does not 
 exist. The column key is found in the query, and now local.key equals that 
 value; say it is 1. On the next loop iteration, CF sees that local.key indeed 
 does exist and never looks to the query for the column key. The scope 
 hierarchy looks in LOCAL before it looks to the query we are looping over. So 
 each subsequent assignment of local.key will equal 1.

 There are several fairly simple workarounds: don't use the same variable name 
 for the local scope; scope the right side of the assignment; etc. The point 
 is you will need to watch out for this on legacy code if you're upgrading to 
 ColdFusion 9.

 I don't think this should be filed as a bug, although the current scope 
 hierarchy could be debated. That is why I'm posting here and on my blog which 
 also has sample code for download:
 http://www.mattjanell.com/index.cfm?event=showEntryentryId=B5EBBF4F-0C02-AEAF-607ECCAD91A37089

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


SQL 2k8 Datasources on CF9 64-bit on Win7

2010-05-20 Thread Kris Jones

We're experiencing some strange behavior in CFAdmin setting up a
datasource to a SQL 2k8 server.

Datasource sets up fine on 32 bit machine. And we've had 2 64-bit Win7
instances able to setup the DSN successfully as well. But this one
system just won't cooperate. It throws:

Connection verification failed for data source: dbnamehere
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer
JDBC Driver][SQLServer]Cannot open database dbnamehere requested by
the login. The login failed.
The root cause was that: java.sql.SQLNonTransientConnectionException:
[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database
dbnamehere requested by the login. The login failed.

We found a post that suggested that the JRE needed to be upgraded or
switched to the full JDK (it was already the JDK) for multi-language
support. We looked into that. Still no success.

What fixed the immediate issue:
Copied the neo-datasources.xml from another system. The datasources
work fine. But we still can't create new datasources to SQL 2k8
servers.

Thoughts?

Cheers,
Kris

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333876
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: Adobe ColdFusion Anthology released

2010-05-20 Thread Sean Corfield

On Mon, May 17, 2010 at 1:25 PM, William Seiter will...@seiter.com wrote:
 I bought mine through amazon a couple weeks ago.  Can you let us know what 
 was wrong with the original so that we can verify we didn't receive a 
 corrupted copy?

Chapter 7 is missing (and the 'Part 2' intro page appears between
chapters 6  8 instead of 5  6 and the 'Part 3' intro page is missing
- it should be between 7  8).

Apress are reprinting this week or next week and will be shipping new
copies shortly after. They seem to be making quite an effort to recall
all the faulty copies.

If you get a misprinted version, go back to the seller and ask them to
replace it with a reprinted copy. If that fails, contact Apress
directly.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwoo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333877
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Any ideas for this mapping problem?

2010-05-20 Thread denstar

Hi folks!

I'd like to serve up some CFML from a mapping, without using JRun or
its connector.

This works fine in Railo, but for CF9 (and below), I can only
cfinclude stuff that doesn't actually exist in the WAR directory (vs.
browsing directly to it).

A bit more depth:

There's a mapping for /tests, but no cfusion.war/tests folder.  I
browse to localhost/tests/index.cfm.  I get cannot find template

From cfusion.war/folderexists/index.cfm, I can cfinclude
/tests/index.cfm, but that bypasses the /tests/Application.cfc.

If I create a folder in cfusion.war/tests, and put stuff in there,
ColdFusion is happy.


There are various tricks I've used in the past to get around this
problem, but none of them are a general solution.  Specific solutions
are easy to cobble together, but this needs to be general, and as
hack-free as possible (read: no changes to target source code).

The best idea I've come up with so far is a servlet filter that just
copies resources (if they've changed) into the cfusion.war directory,
plain ditching the mapping.
Since I only need to do this stuff while developing, the overhead of
doing that is OK... but there has *got* to be a better way.

Come to think of it, I haven't updated my cf9 cfusion.war in a while,
perhaps a hotfix made this magically work!  Doubtful, be I.

Anyone have any ideas?

To make it a little easier, using the UrlRewriteFilter, I can call
java classes on resources-- meaning, if someone knows of something
like coldfusion.runtime.Template.run(path/to/cfml/file) which takes
Application.cf[c|m] into consideration, that would work fine.

Perhaps there is no elegant way of doing what I want.

Creating another context would work, but I don't want a WEB-INF folder
in with my sources, either.

It's a conundrum.  :)

:Den

-- 
Immaturity is the incapacity to use one's intelligence without the
guidance of another.
Immanuel Kant

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333878
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Sean Corfield

On Thu, May 20, 2010 at 1:40 PM, Jason Fisher ja...@wanax.com wrote:
 Wow, CrystalTech has been nothing but great for me.  Solid beta of CF9 before 
 they released it commercially, too, so they are definitely on the ColdFusion 
 train.  Not sure why you got a bad tech there, but that has certainly never 
 been their attitude to me, and I've hosted with them for years.

Definitely a YMMV issue since I've had bad experiences with
CrystalTech with more than one client site over the years. Mostly
stability problems with their servers (and occasionally very slow
and/or uninformed responses from support).

GoDaddy are very much a case of you get what you pay for and their
support is *awful*. I host a number of HTML sites with them and their
cheap Linux hosting is pretty good but their CFMX7(!) offering is
heavily restricted (sandbox security) and they know zero about
ColdFusion.

I had everything with HostMySite but their service has gone
dramatically downhill lately (under Hosting.com) so I moved all but
one site to Edge Web Hosting who I love to bits. Vlad Friedman and his
team are very knowledgeable and responsive.

I've also heard good things about Vivio (who also offer a true root
VPS with Railo for $180/year).

Most of the hosting companies will tell you - sometimes
off-the-record, over a beer - that shared hosting is just plain ol'
going away. They've been saying it for years. The margins are too
small and the stability problems are pretty much insurmountable due to
software out of their control (a customer's poorly written app) -
regardless of technology. VPS is the new shared hosting and there's
already a move to cloud-like configurations with some hosting
companies.

One of the cheapest shared hosting offerings around at the moment is
Alurium's mini plan at just over $3/month:
https://alurium.com/clients/cart.php?gid=1
It's Railo-based - which means you get full Web Administrator control,
even on shared hosting, and they offer a free trial so you can see how
your code runs.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333879
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Sean Corfield

On Thu, May 20, 2010 at 3:47 PM, Aaron Neff w...@itisdesign.com wrote:

 www.hosting.com

Formerly HostMySite. See my other post in this thread about a decline
in support (and stability too). I could not recommend them - and I'd
been with them for years, initially on shared hosting, then on a VPS
(after they killed off Linux shared hosting for ColdFusion - due, they
said, to problems keeping it stable).
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333880
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Mike Kear

Since all my competitors are being listed here,  I feel its only fair that I
should get a mention too.  I have CF9Enterprise,  with SQLServer2005, MySQL,
PHP4 and PHP5, ASP, ASPX,  unlimited email accounts, unlimited ftp accounts
 and lots more stuff too.

The environment is shared hosting but nearly all the sites are coldfusion.
 Because nearly everyone using my system are coldfusion developers, we have
optimised it for CF Developing.   Few restrictions on tags, mappings etc.
 It's a bit of a risk but over more than 10 years now we have found it pays
off.  We have a lot of sites using us for development, staging or test
environments while their production sites are on dedicated servers, because
they can have their test sites set up identically to the way their
production sites are set up.

You can see the details at http://afpwebworks.com/hosting.When you look
at that, bear in mind that the prices shown are Australian dollars.   US
dollar equivalent is about 25% lower, so hosting is from US$10 a month,
depending on what you need.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month



 Anyone know any good, reasonable CF 9 hosting companies w/ mysql.
 Thanks!




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333881
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Eric Roberts

GoDaddy is on 8 BTW...I don’t have any complaints with them, but then again,
I am not doing anything fancy either that could run afoul of any
restrictions...  If you need something cheap and quick...they are the ones
to go to.  

Eric

-Original Message-
From: Sean Corfield [mailto:seancorfi...@gmail.com] 
Sent: Thursday, May 20, 2010 6:57 PM
To: cf-talk
Subject: Re: CF 9 Hosting


On Thu, May 20, 2010 at 1:40 PM, Jason Fisher ja...@wanax.com wrote:
 Wow, CrystalTech has been nothing but great for me.  Solid beta of CF9
before they released it commercially, too, so they are definitely on the
ColdFusion train.  Not sure why you got a bad tech there, but that has
certainly never been their attitude to me, and I've hosted with them for
years.

Definitely a YMMV issue since I've had bad experiences with
CrystalTech with more than one client site over the years. Mostly
stability problems with their servers (and occasionally very slow
and/or uninformed responses from support).

GoDaddy are very much a case of you get what you pay for and their
support is *awful*. I host a number of HTML sites with them and their
cheap Linux hosting is pretty good but their CFMX7(!) offering is
heavily restricted (sandbox security) and they know zero about
ColdFusion.

I had everything with HostMySite but their service has gone
dramatically downhill lately (under Hosting.com) so I moved all but
one site to Edge Web Hosting who I love to bits. Vlad Friedman and his
team are very knowledgeable and responsive.

I've also heard good things about Vivio (who also offer a true root
VPS with Railo for $180/year).

Most of the hosting companies will tell you - sometimes
off-the-record, over a beer - that shared hosting is just plain ol'
going away. They've been saying it for years. The margins are too
small and the stability problems are pretty much insurmountable due to
software out of their control (a customer's poorly written app) -
regardless of technology. VPS is the new shared hosting and there's
already a move to cloud-like configurations with some hosting
companies.

One of the cheapest shared hosting offerings around at the moment is
Alurium's mini plan at just over $3/month:
https://alurium.com/clients/cart.php?gid=1
It's Railo-based - which means you get full Web Administrator control,
even on shared hosting, and they offer a free trial so you can see how
your code runs.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333882
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: Re: Adobe ColdFusion Anthology released

2010-05-20 Thread William Seiter

good to know, 
Thanks!
--
William E. Seiter


On May 20, 2010, Sean Corfield seancorfi...@gmail.com wrote: 


On Mon, May 17, 2010 at 1:25 PM, William Seiter will...@seiter.com wrote:
 I bought mine through amazon a couple weeks ago.  Can you let us know what 
 was wrong with the original so that we can verify we didn't receive a 
 corrupted copy?

Chapter 7 is missing (and the 'Part 2' intro page appears between
chapters 6  8 instead of 5  6 and the 'Part 3' intro page is missing
- it should be between 7  8).

Apress are reprinting this week or next week and will be shipping new
copies shortly after. They seem to be making quite an effort to recall
all the faulty copies.

If you get a misprinted version, go back to the seller and ask them to
replace it with a reprinted copy. If that fails, contact Apress
directly.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwoo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Eric Roberts

I also had great service with AHPhosting...they at least used to host HOF.
You can get a VPN with at least 8...I am sure they have moved on to 9 for
about 100/month last I checked.

Uplinkearth, service wise was great...but they got greedy with the prices
and when I left them, they wanted to charge a fee for CF per site.  That was
back when 7 came out...so they may have wizened up since then.  The servers
were rock solid.


Eric


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333884
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: In theory - site search and auto-suggest

2010-05-20 Thread Les Mizzell

Jason Fisher wrote:
 Another option might be to have the auto-suggest test ONLY against article 
 titles and return a list only of article titles, even though the search 
 might cover body content and other things as well. 

I suggested adding an extra keywords field to the admin forms for 
entered articles. I got a oh, we'll never take time to do that 
reply back. Sheesh...

So, what I finally got them to agree to was to index article titles and 
authors for the auto suggest - minus common words of course.

Code in progress over the weekend...

Thanks all that replied. There's an interesting possibility or two I 
might look at for other projects...


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5133 (20100520) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333885
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Hosting

2010-05-20 Thread Rick Faircloth

KickAssVPS.com

Nearly two years with them and zero down-time.
Fast, responsive support.  Been on CF9 for several
months now.

$100 per month...

Rick


-Original Message-
From: Eric Roberts [mailto:ow...@threeravensconsulting.com] 
Sent: Thursday, May 20, 2010 8:27 PM
To: cf-talk
Subject: RE: CF 9 Hosting


I also had great service with AHPhosting...they at least used to host HOF.
You can get a VPN with at least 8...I am sure they have moved on to 9 for
about 100/month last I checked.

Uplinkearth, service wise was great...but they got greedy with the prices
and when I left them, they wanted to charge a fee for CF per site.  That was
back when 7 came out...so they may have wizened up since then.  The servers
were rock solid.


Eric




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333886
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF Administrator won't load...

2010-05-20 Thread Rick Root

Dear list,

I have a server running CF 8.01 on Windows server 2008 64 bit in multi
server mode.

We have three instances that are configured in a cluster, along with
the default instances (admin and cfusion) and a test instance that
we've never really used.  At least, not in a long time.

I can get into the coldfusion administrators for the clustered
instances with no problem.

I recently attempted to access the coldfusion administrator for the
test instance as well as for the cfusion instance, and it hangs
after giving me the login screen - I can't log in.  Eventually,
FusionReactor kills the request, but here's the stack trace for the
hanging thread.

Anyone got any ideas what's going on here?  I kinda need to get into
the CF Admin =)

Thanks.

Rick Root


coldfusion.compiler.ClassReader.skipFully(ClassReader.java:78)
coldfusion.compiler.ClassReader.readCpool(ClassReader.java:150)
coldfusion.compiler.ClassReader.findEndOfClass(ClassReader.java:224)
coldfusion.compiler.NeoTranslator.parseClasses(NeoTranslator.java:401)
coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:278)
coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:119)
coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:310)
coldfusion.util.LruCache.get(LruCache.java:180)
coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:254)
coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
coldfusion.util.SoftCache.get(SoftCache.java:81)
coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:476)
coldfusion.filter.PathFilter.invoke(PathFilter.java:79)
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
coldfusion.CfmServlet.service(CfmServlet.java:175)
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
com.intergral.fusionreactor.filter.FusionReactorFilter.b(FusionReactorFilter.java:386)
com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:264)
com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:174)
jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
jrun.servlet.FilterChain.service(FilterChain.java:101)
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333887
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 local scope gotcha

2010-05-20 Thread Rick Root

On Thu, May 20, 2010 at 7:01 PM, Kris Jones kris.jon...@verizon.net wrote:

 My experience has always been that inside a cfloop on a query, you
 must specify the scope. Inside a cfoutput on query you do not need to
 specify the scope.

That's been my experience as well, and an annoying one at that.

I try to avoid using local variable names that are the same as a query
I'm looping through, if I can.

Rick

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333888
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() vs getDate() MsSQL CFMX

2010-05-20 Thread Rick Root

Now() is also database independent, which is generally a good thing
IMO =)  Avoid using database-specific code whenever possible unless
said database specific code provides a not insignificant performance
advantage.  I suspect GetDate() vs. Now() is pretty insignificant.

Rick

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333889
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Administrator won't load...

2010-05-20 Thread Dave Watts

 I recently attempted to access the coldfusion administrator for the
 test instance as well as for the cfusion instance, and it hangs
 after giving me the login screen - I can't log in.  Eventually,
 FusionReactor kills the request, but here's the stack trace for the
 hanging thread.

 Anyone got any ideas what's going on here?  I kinda need to get into
 the CF Admin =)

I would try clearing the compiled classes and then restarting the instance.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333890
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() vs getDate() MsSQL CFMX

2010-05-20 Thread Dave Watts

 Now() is also database independent, which is generally a good thing
 IMO =)  Avoid using database-specific code whenever possible unless
 said database specific code provides a not insignificant performance
 advantage.  I suspect GetDate() vs. Now() is pretty insignificant.

Well, actually, I'd recommend the exact opposite in many cases. It's a
good thing to centralize time management wherever possible, and you're
typically going to have a single database server servicing one or more
application servers. Ideally, all of the servers should use the same
NTP server, but even so having a single time source in your
application is a good thing.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333891
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() vs getDate() MsSQL CFMX

2010-05-20 Thread Rick Root

An excellent point!

On Thu, May 20, 2010 at 11:21 PM, Dave Watts dwa...@figleaf.com wrote:

 Now() is also database independent, which is generally a good thing
 IMO =)  Avoid using database-specific code whenever possible unless
 said database specific code provides a not insignificant performance
 advantage.  I suspect GetDate() vs. Now() is pretty insignificant.

 Well, actually, I'd recommend the exact opposite in many cases. It's a
 good thing to centralize time management wherever possible, and you're
 typically going to have a single database server servicing one or more
 application servers. Ideally, all of the servers should use the same
 NTP server, but even so having a single time source in your
 application is a good thing.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsit

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333892
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Administrator won't load...

2010-05-20 Thread Rick Root

On Thu, May 20, 2010 at 11:18 PM, Dave Watts dwa...@figleaf.com wrote:

 I would try clearing the compiled classes and then restarting the instance.

You mean the stuff in here:

C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfclasses
and
C:\JRun4\servers\cf8test\cfusion-ear\cfusion-war\WEB-INF\cfclasses

I stopped the instances, cleared the class files from these folders,
and restarted the instances.  Same issue.

Interestingly, the only file that shows up there after I try to log in is this:

cfcomponent2ecfc1678768361.class

Rick

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333893
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Administrator won't load...

2010-05-20 Thread Dave Watts

 You mean the stuff in here:

 C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfclasses
 and
 C:\JRun4\servers\cf8test\cfusion-ear\cfusion-war\WEB-INF\cfclasses

Yeah, that's what I meant. Are you able to run other CF files
successfully on those instances? Are you sure your /CFIDE folder is
mapped to the right place?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333894
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Creating Facebook Notification type functionality

2010-05-20 Thread Paolo Broccardo

Hi all

I would like to develop some event notification functionality similar to the 
Facebook Notifications functionality. 

Could anyone direct me to links relating to the architecture of such 
functionality or provide me with high level advice as to how to go about 
accomplishing this please?

I have thought of an approach but am not sure whether this is the right way to 
go or not. Here is a high level overview:

STEP 1: Collecting data:

* Create a Trigger on every table you want to track / audit / follow
* On Insert / Update to that table, add a record to the Notifications table 
which contains info relating to the changes.
* You now have a notifications table containing data.

STEP 2: Generating Notifications and displaying to user: 

(not too sure about this approach but listed it anyway)
* Subscribe the User to certain notification types
* Either via schedule, or on User login, generate and save records to the 
UserNotifications table based on the notifications that the user is 
subscribed to in the Notifications table
* Display these notifications to the user and marked as read once viewed. 


I'm sure there are many ways to skin this cat - but I am looking at the most 
efficient way possible in a high load environment. 
Any advice would be greatly appreciated. 

FYI: Railo3 and MySql 5

Thanks





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333895
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Now() vs getDate() MsSQL CFMX

2010-05-20 Thread Mike Kear

For all the time I've been hosting my own sites, I have been hosted on
servers in different time zones to my own.   So i have adopted a practice as
follows:

[A] I never use now()
[B] i have a request variable called request.austime set in the
application.cfc  which is the current local time in Sydney.
[C] request.austime is based on the server clock, adjusted for the timezone
offset, returned by the excellent cfc timezone.cfc.
[D] timezone.cfc accesses the java routines that provide the timezone info,
including daylight savings etc.

Using this technique, the same code works on my dev machine which is sitting
in my own timezone, and on a site i have at fasthit in perth, western
australia, and on my shared hosting on servers in california.  And except in
the one case where the java timezone routines didnt keep up with the
political changes of timezones here in NSW, the time automatically changes
to and from daylight savings correctly.   The only hiccup i'd say I found is
that because of the time differences between Australia and California,  the
Californian based sites dont recognise the switch to/from daylight savings
time till about 2pm the following day, rather than at 2am on the day.

The code I use in my application.cfc is as follows:

cfset timezonecfc = createobject(component,cms.cfcs.utilities.timezone)
/
cfset hometimezone =Australia/Sydney /
cfset request.austime = Timezonecfc.castFromServer(now(), hometimezone   )
/

As long as the server clock doesn't wander too far from actual time,
everything else flows through the site where i need it.  In audit records in
teh tables,  i use #createodbcdatetime(request.austime)# or i use
cfqueryparam value=#request.austime# cfsqltype=CF_SQL_TIMESTAMP/

By preference I'd like the server to connect regularly to an internet time
server to correct its clock so that could keep my site timely to the
millisecond.

But by using this method i dont have to touch anything to do with setting
time or daylight savings from one year's end to the next, regardless of
where the server sits in the world, or whether or not it's set to UTC or
local time or whatever.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

On Fri, May 21, 2010 at 1:24 PM, Rick Root rick.r...@gmail.com wrote:


 An excellent point!

 On Thu, May 20, 2010 at 11:21 PM, Dave Watts dwa...@figleaf.com wrote:
 
  Now() is also database independent, which is generally a good thing
  IMO =)  Avoid using database-specific code whenever possible unless
  said database specific code provides a not insignificant performance
  advantage.  I suspect GetDate() vs. Now() is pretty insignificant.
 
  Well, actually, I'd recommend the exact opposite in many cases. It's a
  good thing to centralize time management wherever possible, and you're
  typically going to have a single database server servicing one or more
  application servers. Ideally, all of the servers should use the same
  NTP server, but even so having a single time source in your
  application is a good thing.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  http://training.figleaf.com/
 
  Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
  GSA Schedule, and provides the highest caliber vendor-authorized
  instruction at our training centers, online, or onsit



--


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333896
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm