Re: Embedding CF in CMS Content

2015-04-17 Thread Russ Michaels

when you need to put dynamic content then you should never allow CODE,
instead use macros
e.g.
[include:filename]

you then parse the content before displaying to process the macros.
read this article for more info:
http://www.michaels.me.uk/post.cfm/content-management-processing-dynamic-content


--

*Russ Michaels*
Blog: www.michaels.me.uk
*skype*: russmichaels

*My other sites/projects*
www.bluethunder.co   : SME hosting solutions
www.cfmldeveloper.com: ColdFusion/Railo developer hosting
www.cfsearch.com : ColdFusion search engine
www.cflive.net   : Live CFML console/testing tool


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


Re: cfindex is taking forever

2015-04-08 Thread Russ Michaels

you also have to take your disk iops into consideration. If you are on a
VPS then this will give you much slower disk performance, especially if its
not SSD, and actions like this can take a lot longer.

On Wed, Apr 8, 2015 at 11:32 PM, Les Mizzell lesm...@bellsouth.net wrote:


   I'm going to forget about it and go mow my grass and see what's
 happening when I finish.

 Well crap, somebody stole my lawnmower. This is why we can't have nice
 things

 

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


Re: ACF10 mail and Windows Server 2012

2015-04-07 Thread Russ Michaels

are you sure you do not have the emails set to send as HTML ?


On Tue, Apr 7, 2015 at 1:19 PM, John M Bliss bliss.j...@gmail.com wrote:


 In the SMTP Server properties, I changed the IP from one of the IP's on the
 box to all unassigned and it worked.

 Next question: resulting plaintext emails appear to have carriage returns /
 line feeds stripped out. Any idea how to get those back?

 On Tue, Apr 7, 2015 at 7:52 AM, John M Bliss bliss.j...@gmail.com wrote:

  Working on configuring ACF10 mail on Windows Server 2012. I followed
 these
  steps:
 
 
 
 http://blog.hyperfive.com/2013/07/how-to-setup-internal-smtp-service-for.html
 
  ...but, in ACF10 admin interface Server Settings  Mail when I set Mail
  Server to localhost, check Verify mail server connection, and click
 Submit,
  I get Connection Verification Failed!
 
  Any ideas what I'm missing?
 
  --
  John Bliss - http://www.linkedin.com/in/jbliss
 



 --
 John Bliss - http://www.linkedin.com/in/jbliss


 

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


Re: Enable Request Debugging Output not working

2015-04-06 Thread Russ Michaels

by default IIS will display a 500 server error if it gets back a CF error
page as it doesn't know what to do with it as it doesn't send a valid error
code that matches any IIS errors.
In order to see the REAL cf error you have to turn on detailed error
messages in IIS, or you have to create a custom error page to display
instead of the 500 server error.



On Mon, Apr 6, 2015 at 5:23 PM, Dave Watts dwa...@figleaf.com wrote:


  I guess my installs of IIS work, cause the only time I have to make any
  changes is in CF where it says send HTTP status codes, nothing more and
  nothing less.

 That's good for you! But there are many installs of IIS out there
 besides your own, and those installs might be configured differently
 from yours for a variety of reasons.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) 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/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Enable Request Debugging Output not working

2015-04-06 Thread Russ Michaels

the only person arguing here is you, you seem very insistent on getting the
last word and one-upping everyone today.
All I have done is assert a fact I know to be true.

On Mon, Apr 6, 2015 at 8:52 PM, Andrew Scott andr...@andyscott.id.au
wrote:


 Russ,

 *sigh* I think you're arguing with the wrong guy. Yes, that is what
 happens. Under a default install of IIS, the setting for the error pages is
 as described in the picture in the last link I sent. There is no denying
 that is the default setting, then on top of that I clearly stated that YOU
 MUST CHANGE the ColdFusion sending of Status codes for the ColdFusion
 error, I also clearly stated that YOU DO NOT have to change any IIS setting
 to do this. I then clearly provided a link to back up that YOU DO NOT have
 to change any IIS setting.

 Now I believe you're arguing with the wrong person and what you are arguing
 back at me, is not what I have said at all!



 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+:  http://plus.google.com/113032480415921517411


 On Tue, Apr 7, 2015 at 5:48 AM, Russ Michaels r...@michaels.me.uk wrote:

 
  clealry I do know better than you, I suggest you take off your arrogamce
  hat for a while and actually try it with a clean install of IIS and you
  will find out that I am correct and that CF errors are not displayed by
  default, just a 500 server error.
 
 
 
 
 
  On Mon, Apr 6, 2015 at 8:35 PM, Andrew Scott andr...@andyscott.id.au
  wrote:
 
  
   ​rotflmao, as a hosting provider you should know better.​
  
   Regards,
   Andrew Scott
   WebSite: http://www.andyscott.id.au/
   Google+:  http://plus.google.com/113032480415921517411
  
  
   On Tue, Apr 7, 2015 at 5:34 AM, Russ Michaels r...@michaels.me.uk
  wrote:
  
   
sorry but you are wrong, as a hosting provider I deal with this all
 the
time on many many servers.
what I said below is correct.
   
On Mon, Apr 6, 2015 at 8:23 PM, Andrew Scott 
 andr...@andyscott.id.au
wrote:
   

 Russ,

 By default IIS is set to either send Detailed if local or Custom if
remote,
 if one is changing this setting on a remote server it is likely to
  be a
 production server and should not be be touched. At least this is
 the
   way
I
 read that, but again you don't need to touch any IIS setting when
   dealing
 with ColdFusion errors at all.

 Which can be explained in more detail here.



   
  
 
 http://www.iis.net/learn/troubleshoot/diagnosing-http-errors/how-to-use-http-detailed-errors-in-iis




 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+:  http://plus.google.com/113032480415921517411


 On Tue, Apr 7, 2015 at 3:28 AM, Russ Michaels r...@michaels.me.uk
 
wrote:

 
  by default IIS will display a 500 server error if it gets back a
 CF
error
  page as it doesn't know what to do with it as it doesn't send a
  valid
 error
  code that matches any IIS errors.
  In order to see the REAL cf error you have to turn on detailed
  error
  messages in IIS, or you have to create a custom error page to
  display
  instead of the 500 server error.
 
 



   
   
  
  
 
 

 

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


Re: Enable Request Debugging Output not working

2015-04-06 Thread Russ Michaels

clealry I do know better than you, I suggest you take off your arrogamce
hat for a while and actually try it with a clean install of IIS and you
will find out that I am correct and that CF errors are not displayed by
default, just a 500 server error.





On Mon, Apr 6, 2015 at 8:35 PM, Andrew Scott andr...@andyscott.id.au
wrote:


 ​rotflmao, as a hosting provider you should know better.​

 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+:  http://plus.google.com/113032480415921517411


 On Tue, Apr 7, 2015 at 5:34 AM, Russ Michaels r...@michaels.me.uk wrote:

 
  sorry but you are wrong, as a hosting provider I deal with this all the
  time on many many servers.
  what I said below is correct.
 
  On Mon, Apr 6, 2015 at 8:23 PM, Andrew Scott andr...@andyscott.id.au
  wrote:
 
  
   Russ,
  
   By default IIS is set to either send Detailed if local or Custom if
  remote,
   if one is changing this setting on a remote server it is likely to be a
   production server and should not be be touched. At least this is the
 way
  I
   read that, but again you don't need to touch any IIS setting when
 dealing
   with ColdFusion errors at all.
  
   Which can be explained in more detail here.
  
  
  
 
 http://www.iis.net/learn/troubleshoot/diagnosing-http-errors/how-to-use-http-detailed-errors-in-iis
  
  
  
  
   Regards,
   Andrew Scott
   WebSite: http://www.andyscott.id.au/
   Google+:  http://plus.google.com/113032480415921517411
  
  
   On Tue, Apr 7, 2015 at 3:28 AM, Russ Michaels r...@michaels.me.uk
  wrote:
  
   
by default IIS will display a 500 server error if it gets back a CF
  error
page as it doesn't know what to do with it as it doesn't send a valid
   error
code that matches any IIS errors.
In order to see the REAL cf error you have to turn on detailed error
messages in IIS, or you have to create a custom error page to display
instead of the 500 server error.
   
   
  
  
  
 
 

 

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


Re: Enable Request Debugging Output not working

2015-04-06 Thread Russ Michaels

sorry but you are wrong, as a hosting provider I deal with this all the
time on many many servers.
what I said below is correct.

On Mon, Apr 6, 2015 at 8:23 PM, Andrew Scott andr...@andyscott.id.au
wrote:


 Russ,

 By default IIS is set to either send Detailed if local or Custom if remote,
 if one is changing this setting on a remote server it is likely to be a
 production server and should not be be touched. At least this is the way I
 read that, but again you don't need to touch any IIS setting when dealing
 with ColdFusion errors at all.

 Which can be explained in more detail here.


 http://www.iis.net/learn/troubleshoot/diagnosing-http-errors/how-to-use-http-detailed-errors-in-iis




 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+:  http://plus.google.com/113032480415921517411


 On Tue, Apr 7, 2015 at 3:28 AM, Russ Michaels r...@michaels.me.uk wrote:

 
  by default IIS will display a 500 server error if it gets back a CF error
  page as it doesn't know what to do with it as it doesn't send a valid
 error
  code that matches any IIS errors.
  In order to see the REAL cf error you have to turn on detailed error
  messages in IIS, or you have to create a custom error page to display
  instead of the 500 server error.
 
 


 

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


Re: Enable Request Debugging Output not working

2015-04-05 Thread Russ Michaels

yes that is true, however debug output is not an error, it is the debugging
information that added to the bottom of a page.


On Mon, Apr 6, 2015 at 1:31 AM, Charles Sheehan-Miles 
char...@sheehanmiles.net wrote:


 With all due respect, that’s simply not true.  IIS, depending on your
 settings, will replace coldfusion errors with a blank 500 error page.  A
 simple google search turn up dozens and dozens of times that question was
 asked and resolved by changing IIS settings. That’s how I fixed my dev
 machine a week ago.


 http://stackoverflow.com/questions/13426984/500-internal-server-error-for-sql-server-error


  On Apr 5, 2015, at 5:37 PM, Andrew Scott andr...@andyscott.id.au
 wrote:
 
 
  IIS friendly error messages has absolutely nothing to do with Robust
  debugging.
 
 
  Regards,
  Andrew Scott
  WebSite: http://www.andyscott.id.au/
  Google+:  http://plus.google.com/113032480415921517411
 
 
  On Mon, Apr 6, 2015 at 4:52 AM, Charles Sheehan-Miles 
  char...@sheehanmiles.net wrote:
 
 
  I had this recently... The problem wasn't Coldfusion at all, it was IIS.
  Even locally I couldn't get debugging. Check website settings and make
 sure
  friendly error messages or whatever it turned off (sorry I'm not at a
  computer so can't remember the exact terminology)
 
  Sent from my iPhone
 
 
 
 

 

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


Re: Enable Request Debugging Output not working

2015-04-05 Thread Russ Michaels

Do you have any ip restrictions set for the debug output?


On Sun, Apr 5, 2015 at 3:49 AM, Mark Spence markpence...@gmail.com wrote:


For some reason, suddenly debug output has stopped working on my
development machine.  I'm not sure why.  I have tried turning it off and
on, restarting the server, restarting the box.  Nothing has helped.  Google
has failed me.  Running on windows 8.1 and IIS.




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


Re: Enable Request Debugging Output not working

2015-04-05 Thread Russ Michaels

The most common cause is that you have a CFSETTING in your code somewhere
that is preventing the debug output.
Have you tried simply creating a simple test page outside of your
application to check if the debug output works ?

On Sun, Apr 5, 2015 at 7:29 PM, Mark Spence markpence...@gmail.com wrote:


 I have added 127.0.0.1 as a ip to serve debug output to, and I have also
 removed all ips to have debug info served to all ips.  Neither results in
 output.

 On Sun, Apr 5, 2015 at 4:59 AM, Russ Michaels r...@michaels.me.uk wrote:

 
  Do you have any ip restrictions set for the debug output?
 
 
  On Sun, Apr 5, 2015 at 3:49 AM, Mark Spence markpence...@gmail.com
  wrote:
 
 
  For some reason, suddenly debug output has stopped working on my
  development machine.  I'm not sure why.  I have tried turning it off and
  on, restarting the server, restarting the box.  Nothing has helped.
 Google
  has failed me.  Running on windows 8.1 and IIS.
 
 
 
 
 

 

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


Re: Handling invalid recipient in mailing list

2015-04-03 Thread Russ Michaels

Dave,

you can validate your email addresses automatically simply by using the
Likes of Mailchip, which will validate allthe email addresses when you
submit them and remove the bogus ones, it will also automatically remove
bounce addresses for you as well.


On Fri, Apr 3, 2015 at 1:19 PM, Dave Long d...@northgoods.com wrote:


 Thanks so much to all and to Mike and William, I will be putting your
 advice
 on the top of my list of things to do. The list in question has
 approximately 5,500 names but, by the time it is cleaned up, will probably
 be closer to 5,000.

 The idea of not disturbing subscribers unnecessarily is most attractive.

 Thanks again.

 Dave

 -Original Message-
 From: William Seiter [mailto:will...@seiter.com]
 Sent: Thursday, April 2, 2015 7:32 PM
 To: cf-talk
 Subject: RE: Handling invalid recipient in mailing list


 Dave,

 You could have your code 'automatically' scrub the list and use a 'log' to
 keep track of the changes.  This way you won't have to do a test run.
 Also, you could set up your code on a 'dummy' email server that will send
 the email but trap it prior to being mailed, this way you don't have to
 bother your recipients list.
 Also, you could create an email validation loop so that you can 'verify'
 the
 list without the concern for sending an email out at all (instead of doing
 a
 'cfmail' tag, you would do the validation of the email address).

 I don't know how large your recipient's list is, but I would try to not
 bother them with testing emails.

 Just my 2 pence,
 William


 --
 William Seiter

 -Original Message-
 From: Dave Long [mailto:d...@northgoods.com]
 Sent: Thursday, April 02, 2015 3:55 PM
 To: cf-talk
 Subject: RE: Handling invalid recipient in mailing list


 Thanks to all. The scheme worked perfectly. Next I will have to warn my
 recipients that a test is coming so I can remove invalid recipients.

 Unless maybe you can suggest a method to delete them as they occur. I
 intend
 to add a confirmation message requirement to our contact form, which should
 have been there all along, but a means of automatically cleaning the
 existing mailing list would help everyone... me most of all though.

 Thanks again for your help.

 Dave Long

 -Original Message-
 From: Rick [mailto:cfh...@kchost.net]
 Sent: Thursday, April 2, 2015 5:20 PM
 To: cf-talk
 Subject: RE: Handling invalid recipient in mailing list


 cftry

  Run you CFMAIL..

   cfcatchMark email bad in database/cfcatch /cftry



 -Original Message-
 From: Dave Long [mailto:d...@northgoods.com]
 Sent: Thursday, April 02, 2015 5:12 PM
 To: cf-talk
 Subject: Handling invalid recipient in mailing list


 I am trying to send a mass mailing to a somewhat carelessly created list of
 contacts using e-mail addresses which were not verified at the time of
 entry. Whenever the cfloop tag comes to an erroneous recipient, it quits
 and
 throws an error. Is there anything I can do to the code to make it keep
 going?

 Here's the code:

 CFLOOP list=#Form.SelectedRecipients# index=Recipient
 CFMAIL
 from=#Form.Sender#
 to=#Recipient#
 subject=#Form.Subject#
 type=HTML
 
 htmlheadlink rel=stylesheet
 href=http://www.northgoods.com/global.css; type=text/css //headbody
 bgcolor=black
 table width=800 align=center
 TR
 TD align=center colspan=2
 table width=800 align=center border=4 cellpadding=10
 bgcolor=blacktrtd
 strongfont face=Arial size=+1 color=##FF6600
 #Form.Message#
 /font/strong
 /td/tr/table
 table align=center
 trth colspan=2strongfont face=Arial size=-1
 color=##FF6600If you would like to be removed frombrour mailing list,
 please click here:/font/strongbr
 a
 href=http://www.northgoods.com/unsubscribe.cfm?delEmail=#Recipient#;
 title=UNSUBSCRIBEfont face=Arial size=-1
 color=whitestrongUNSUBSCRIBE/strong/font/abr
 font face=Arial size=-1 color=##FF6600You will receive one last
 message from us to confirm your removal from our
 list./font/strong/th/tr /TABLE/body/html
 /CFMAIL
 /CFLOOP










 

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


Re: File Upload/Management

2015-04-01 Thread Russ Michaels

There is a cffilemanager, also if you look on the Ckeditor site they also
do a file manager, don't recall if there is a xf version. Tinymce also do
one I believe.


On Wed, Apr 1, 2015 at 21:03 PM, Robert Harrison rharri...@aimg.com wrote:


I have a client who wants to be able to manage a file library on the server
with multi-file uploads, file renaming, and directory organization.

I've used Plupload and it's a good tool for multi file uploads, but I'm not
really familiar with any tools that allows for directory management on the
server. They want to be able to browse, upload, rename, and add descriptions
of files; almost like an FTP program but something that runs in the browser
and can be integrated into forms.

Anyone familiar with any plugs-ins or third-party packages that may be
useful...  any links to any packages you may know of would be helpful.

Thanks

Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com javascript:;
Main Office: 704-321-1234  ext.118
Direct Line: 516-302-4345
www.aimg.com





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


Re: Sudden error with CFHTTP and SSL

2015-04-01 Thread Russ Michaels

I suspect they disabled various ssl protocols due to poodle, you should ask
them. The default response ro poodle was to disable everything except
latest tls version, which is not supported out of the box by the jvm that
ships with cf9.


On Mon, Mar 30, 2015 at 18:33 PM,  wrote:


Hi,
I have an application under CF 9 with a paiment module using Paypal.
At the end of the process, Paypal acknowledges the paiement and my app
calls a Paypal page to validate the whole operation. This is done with a
CFHTTP call
This application has been working fine for years with no modification, bur
all of a sudden starting March 23rd, I get this error:
I/O Exception: peer not authenticated
It appears to be an error with the SSL certificate, but how come ?
The Paypal site is verified by Verisign.
What ca I do?




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


Re: 500 error/Permission issue with IIS 7

2015-03-31 Thread Russ Michaels

I replied to this days ago but the list rejected it.

if you enabled detailed errors then you might get more details if it is a
CFM issue

however I suspect this is a problem with the cf connector not being to
handle virtual directories, I have not really bothered with cf10/11 so have
not tested this.
But you may need to add a mapping in the uriworkermap.properties file, see
here for general instructions
https://helpx.adobe.com/coldfusion/kb/coldfusion10-iis-manual-connector-configuration.html

try adding a mapping for

/your vDir/* = cfusion

On Mon, Mar 30, 2015 at 2:34 PM, David Phelan dphe...@emerginghealthit.com
wrote:


 I have run into this very issue.  If I remember, it ended up being a
 corruption in the web.config default documents.  Try rebuilding that
 section.

 Dave

 -Original Message-
 From: Gerald Guido [mailto:gerald.gu...@gmail.com]
 Sent: Friday, March 27, 2015 1:52 PM
 To: cf-talk
 Subject: 500 error/Permission issue with IIS 7


 I have been down the rabbit hole with this all day and have not been able
 to figure this out. I have been all over The Google with no love.

 We followed the CF 11 lockdown guide and got everything working fine for 2
 domains/applications. We went to set up a third domain that uses
 subdirectories as the root directory for seperate applications and we get a
 500 error (details below) when we hit a subdirectory like so:

 http://www.mydomain.com/somedir/

 But if I add index.cfm to the URL like below everything works fine.

 http://www.mydomain.com/somedir/index.cfm

  And, yes, the default document is set to index.cfm and the permissions
 for all the sub directories are identical to the domains what work (as per
 the lockdown guide).

 IIS error details

 Module IsapiModule
 Notification ExecuteRequestHandler
 Handler cfmHandler
 Error Code 0x80004005


 Anyone have an idea how to remedy this situation?

 As always, many TIA,

 G!


 *Gerald Anthony Guido*
 Nullius in verba http://en.wikipedia.org/wiki/Nullius_in_verba
 -- Horace

 learn.geraldguido.com
 Twitter https://twitter.com/CozmoTrouble
 Facebook https://www.facebook.com/gerald.guido.9




 

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


Re: considering two options for changing hosting

2015-03-31 Thread Russ Michaels

MSAccess does not work since windows server 2008 as the jet drivers do not
exist for 64bit OS, so your host must be running 2003 still on 32bit.
So the days of running MSAccess have already gone years ago, you are just
running on a legacy windows 2003 system, which reaches EOL this July.

If you want to know why CF has so many issues on shared hosting, then read
this
http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not-suited-to-shared-hosting



On Tue, Mar 31, 2015 at 6:31 PM, Stephens, Larry V steph...@iu.edu wrote:


 I echo everything said below except I am on shared hosting. I've had some
 issues with slow response and failure to connect and, at least twice, they
 volunteered to move me to a different host to solve the problem. I'm
 running multiple sites with them.

 There have been times when I'm pretty sure they didn't read all my support
 request and gave a kneejerk response, but we worked through that. If I was
 starting any new sites they would go there.

 I'm pretty sure the days of running Access are limited. I still have a
 couple of sites, too, and they don't work real well. The connections keep
 dying and have to be restarted by the support staff. I'm converting them to
 MSSQL.


 Larry V. Stephens


 I made the switch to Hostek (https://cp.hostek.com/aff.php?aff=931) a few
 years back and I have been very happy with the decision. I just went
 through a server upgrade over the weekend in which we ran into an issue
 with a couple of old sites that are still running on MS Access. Their
 support staff were very diligent and were able to work out the issue for
 me. I have not worked with their shared hosting, but their VPS service has
 been top notch.

 

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


Re: considering two options for changing hosting

2015-03-31 Thread Russ Michaels

Mark,

there is a very good reason I do not tell people there is a workaround to
get MSAccess working on 64bit, and no you definitely should not encourage
such things, you are a bad bad man and I am giving you a virtual slap right
now..


On Tue, Mar 31, 2015 at 9:06 PM, Mark A Kruger mkru...@cfwebtools.com
wrote:


 Russ,

 You can make access Run on 64bit - it's just not very easy :)  I know I
 know
 I should NOT be encouraging such things (ha).


 http://www.coldfusionmuse.com/index.cfm/2010/12/31/Access.on.64bit.ColdFusio
 n

 -Mark

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Tuesday, March 31, 2015 1:52 PM
 To: cf-talk
 Subject: Re: considering two options for changing hosting


 MSAccess does not work since windows server 2008 as the jet drivers do not
 exist for 64bit OS, so your host must be running 2003 still on 32bit.
 So the days of running MSAccess have already gone years ago, you are just
 running on a legacy windows 2003 system, which reaches EOL this July.

 If you want to know why CF has so many issues on shared hosting, then read
 this

 http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not-suited-to-sh
 ared-hosting



 On Tue, Mar 31, 2015 at 6:31 PM, Stephens, Larry V steph...@iu.edu
 wrote:

 
  I echo everything said below except I am on shared hosting. I've had some
  issues with slow response and failure to connect and, at least twice,
 they
  volunteered to move me to a different host to solve the problem. I'm
  running multiple sites with them.
 
  There have been times when I'm pretty sure they didn't read all my
 support
  request and gave a kneejerk response, but we worked through that. If I
 was
  starting any new sites they would go there.
 
  I'm pretty sure the days of running Access are limited. I still have a
  couple of sites, too, and they don't work real well. The connections keep
  dying and have to be restarted by the support staff. I'm converting them
 to
  MSSQL.
 
 
  Larry V. Stephens
 
 
  I made the switch to Hostek (https://cp.hostek.com/aff.php?aff=931) a
 few
  years back and I have been very happy with the decision. I just went
  through a server upgrade over the weekend in which we ran into an issue
  with a couple of old sites that are still running on MS Access. Their
  support staff were very diligent and were able to work out the issue for
  me. I have not worked with their shared hosting, but their VPS service
 has
  been top notch.
 
 



 

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


Re: considering two options for changing hosting

2015-03-26 Thread Russ Michaels

the common reasons PHP becomes slow is an overloaded server, if the disk IO
is not fast then PHP suffers.
This does not affect CF in the same way because cf templates get cached in
memory by default.

To determine whether one host is going to be any better than another, the
question you need to ask them is how many sites they put on each server,
what type of disks they use, etc.

We do not overload our servers for example, so as to not have so many
issues caused by too many sites or other customers with badly written
sites. We have also moved all our shared hosting servers to SSD now to get
max performance, and it really does make a difference.

On Thu, Mar 26, 2015 at 11:04 PM, Mark Spence markpence...@gmail.com
wrote:


 I am currently using Newtek/Crystaltek for a client site and have a couple
 of issues with them I am able to resolve.  The site has been with them for
 several years.

 1.  Lately the Wordpress portion of the site has become slow and I can't
 figure out why.  It's not the db and it is not the plug-ins.  It's a simple
 site with not many posts or widgets and it should be faster.  The CF
 portion of the site is fast.

 2.  They don't support http compression.  This is more a minor annoyance,
 but it is something I want.

 So I am looking at the Hostek Personal Plus for $7.99 CF shared hosting.
 Has anyone used both hosts and can compare the two?  Will I see a
 performance difference?


 

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


Re: CF version of JIRA?

2015-03-23 Thread Russ Michaels

also take a look at this one
http://www.jetbrains.com/youtrack/


On Mon, Mar 23, 2015 at 1:01 PM, Byron Mann byronos...@gmail.com wrote:


 If it's just issue tracking you are after and not so much project
 management, Jira is really overkill and IMHO overly complex to setup and
 manage anyhow.

 PivotalTracker might be something to look at if you are looking for
 something similar in the project management arenas. It is geared towards
 Agile, but could be used for more traditional PM.

 If just issue tracking is the goal, Trac or Redmine would be a good simple
 ways to go.

 Trello is a pretty awesome free organization tool that may be of interest
 as well. Plus the mobile app for it works really well.

 ~Byron


 
  On Mon, Mar 23, 2015 at 4:26 AM, Robert Glover sled...@gmail.com
 wrote:
 
  
   Is there a decent issue management system written in CF that is similar
  to
   JIRA?  I could spend the $20 to get JIRA and host it myself, but I
 can't
   help but choke when I see the price difference between 10 users and 25
   ($20 vs $1200, WTF?)... to the point that I'm like, screw you, I'll
 just
   find something else.  Not even that we'd never need 25.  It's just kind
  of
   the principle of it all. :)
  
   Thanks
  
   Rob
  
  
 


 

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


Re: CF version of JIRA?

2015-03-23 Thread Russ Michaels

You will be hard pushed to find anything written in cf, all these days, all
the half decent apps were abandoned years ago and no longer supported our
the site is long dead.
Best place to look is cf411.com or cfseaech.com


On Sun, Mar 22, 2015 at 17:26 PM, Robert Glover sled...@gmail.com wrote:


Is there a decent issue management system written in CF that is similar to
JIRA?  I could spend the $20 to get JIRA and host it myself, but I can't
help but choke when I see the price difference between 10 users and 25
($20 vs $1200, WTF?)... to the point that I'm like, screw you, I'll just
find something else.  Not even that we'd never need 25.  It's just kind of
the principle of it all. :)

Thanks

Rob



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


Re: Should I migrate away from ColdSpring

2015-03-21 Thread Russ Michaels

I am happy to offer free hosting to get the site back up.


On Sat, Mar 21, 2015 at 0:10 AM, Nolan Erck nolan.e...@gmail.com wrote:


FYI, on the ColdSpring Google group there is now a small discussion about
the ColdSpring docs and making sure they have a good home on a server
somewhere.

-Nolan


On Fri, Mar 20, 2015 at 8:37 AM, Dean Lawrence dean...@gmail.com
javascript:; wrote:


 Thanks, Nolan, I appreciate your insights. I'm pretty much on the same
page
 as you, but I guess I am mainly concerned that with the ColdSpring site
 apparently gone, that I can't even get to the documentation to try to
 either troubleshoot an issue or even expand on features that I haven't
 worked with before, not necessarily that ColdSpring is more or less likely
 to fail than other libraries.

 I will probably end up doing what you suggested, leave existing sites
 alone, but maybe try one of the newer and maintained libraries for future
 projects.

 Thanks again,

 Dean

 On Thu, Mar 19, 2015 at 8:45 PM Nolan Erck nolan.e...@gmail.com
javascript:; wrote:

 
  I like ColdSpring. I like having XML documentation for that layer of
my
  codebase.  As such, I have several sites that I don't plan to migrate to
  DI/1 or WireBox.  I also do a lot of Java consulting work, and switching
  from Spring (Java) to ColdSpring (CFML) is less painful for my brain. :)
  That being said, lots of people like DI/1 and Wirebox, but all you'd
 gain
  by moving to them is being able to say yes we're now using DI/1 instead
 of
  ColdSpring.
 
  I don't see why ColdSpring would be more likely to break from a future
CF
  update than any other library.  One should always test code when
changing
  flavors of CF, that's not specific to ColdSpring.
 
  Personally, I'd leave the site alone at least for now.  Future projects,
 I
  consider DI/1 or Wirebox, depending on the stack and requirements.  I'm
  also semi-secretly hoping someone maintains ColdSpring moving forward,
 but
  I'm probably in the minority on that.
 
  2 cents. Hope that helped.
 
  -Nolan
 
  PS. Shameless plug! I'm giving a talk at dev.Objective() titled
 Dependency
  Injection: Why Is It Awesome and Why Should I Care? Ya'll should come
  watch! :)
 
 
 
 
 
 
 
 
 
 
  On Thu, Mar 19, 2015 at 8:31 AM, Dean Lawrence dean...@gmail.com
javascript:;
 wrote:
 
  
   I've been using ColdSpring for a good number of years and it is pretty
  much
   a part of almost every site that I have developed. When trying to
 access
   http://coldspringframework.org/ to look at the docs, I get a service
   unavailable error. It was like this when I tried to access it about a
  month
   ago as well. Is the site defunct?
  
   I know that the project has not been worked on for some time, so my
   question is, should I consider migrating my sites to another
dependency
   injection solution? If so, which would you suggest? I've briefly
looked
  at
   Wirebox and DI/1, but have never put either one into play. Also, what
  kind
   of work am I looking at to convert my existing sites? The thought of
  doing
   this gives me heartburn, but I don't want to have to scramble if some
   future CF or Java update breaks ColdSpring.
  
   I appreciate any input.
  
   Dean
  
  
  
 
 





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


Re: Decrypting MD5

2015-03-12 Thread Russ Michaels

no it certainly is not useless.
The whole point in hashing a value is so that it cannot be decrypted,
typically this is used for passwords.

Imagine a hacker gets into your web app, which is extremely common, then
all your encrypted data is useless, because he has access to your code and
can decrypt it all at leisure. This is how all your personal data gets
stolen or your identity. You signed up on some website that had poor
security, the hackers got in and got their database, decrypted all the
data, and got all your  personal details including username/password.They
will then typically take the username/password you used on this site and
try it on other sites as well, so anywhere else you used the same login is
now also compromised.

Most decent websites these days will hash sensitive data so that it cannot
be decrypted and stolen.

Any code you do have which decrypts data, should be protected from prying
eyes, in the case of CF you could compile the CFML to a java class and only
upload that to the server, don;t think there is anything much better than
that for CF sadly. Or with PHP you would use somehting like Ioncube.




On Thu, Mar 12, 2015 at 12:59 PM, Rick Sanders r...@webenergy.ca wrote:


 So basically MD5 is useless if you can't decrypt the value! That sucks.

 Kind regards,

 Rick

 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Thursday, March 12, 2015 9:57 AM
 To: cf-talk
 Subject: Re: Decrypting MD5


  I want to know if I can decrypt passwords stored as MD5 in a SQL
  Server database using the Decrypt function? There are online tools out
 there that decrypt MD5 so I'm hoping that I can do this in CF.

 There are no tools that actually decrypt MD5 hashes, to the best of my
 knowledge. MD5 is a hashing algorithm, not an encryption algorithm. It lets
 you take a plaintext value and generates a hashed value, which cannot be
 decrypted.

 These online tools don't decrypt MD5 hashes. Instead, they have large
 databases of plaintext values and their corresponding MD5 hashes. When you
 hash a value, you should always get the same hash, so these tools compare
 the hash you provide against their database of existing hash values, and
 then lookup the corresponding plaintext value.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) 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/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360244
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Decrypting MD5

2015-03-12 Thread Russ Michaels

Brute forcing MD5 hashes is really only going to work if you are still
using weak passwords to begin with and just hashing them. This then works
in exactly the same way as a brute force dictionary attack on a plain
password, except they try the hashed version of the same password.
You should always allow  strong passwords and pass phrases, sadly so many
sites still do not do this.


On Thu, Mar 12, 2015 at 2:43 PM, Byron Mann byronos...@gmail.com wrote:


 Just for reference. Here's a pretty good article on how to hash properly.

 https://crackstation.net/hashing-security.htm

 Hashing is often done incorrectly, even if it's being salted you never want
 to use the same salt across the board. Simple thing is, compute power is so
 available, brute forcing MD5 hashes is fairly easy these days. I wouldn't
 even recommend using MD5 for anything secure like a hash of a password.
 Stick to that for simple things like file compares, etc.

 Cheers,
 ~Byron


 

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


Re: CF Express for simple intranet/extranet app?

2015-03-08 Thread Russ Michaels

It is really only intended for development and testing.
details here:
https://wikidocs.adobe.com/wiki/display/coldfusionen/Installing+ColdFusion+Express

On Sun, Mar 8, 2015 at 2:39 PM, Pete Ruckelshaus pruckelsh...@gmail.com
wrote:


 I manage a very small non-profit organization.  I am working on an app for
 internal use and am using CF.  Are there limitations to CF Express that
 would prevent me from running this as an intranet/extranet application?
 Does it use IIS as a web server like other versions, or does it use the
 internal web server?  Can I access it from an address other than localhost?

 Thanks,

 Pete


 

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


Re: 404

2015-03-05 Thread Russ Michaels

the requirement for the jakarta vdir I just find annoying, so I am using
the boncode handler with CF, then all you need is the handler and nothing
else, so you can enable/disable cf via the web.config alone.

On Thu, Mar 5, 2015 at 9:41 PM, Dave Watts dwa...@figleaf.com wrote:


  I think it did. Then I deleted it. Genius.

 Don't feel too bad, it's not immediately obvious what it's for unless
 you're familiar with Tomcat already. I know I did a double-take the
 first time I installed CF 10, then I remembered there was no more
 JRun.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) 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/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 License

2015-03-05 Thread Russ Michaels

I will skype you

On Thu, Mar 5, 2015 at 2:07 AM, Mik Muller ad...@montaguema.net wrote:


 Standard would be fine.

 Mik


 At 05:49 PM 3/4/2015, Russ Michaels wrote:

 Do you want std or enterprise
 
 
 On Wed, Mar 4, 2015 at 21:18 PM, Mik Muller ad...@montaguema.net wrote:
 
 
 I know that it's no longer supported, but I'm looking to purchase a
 license
 for ACF9. I have a few sites that moving onto a server with no included
 ACF
 licenses. The sites are running under ACF9 and use many tags that are not
 supported under Railo / Lucee.
 
 I've seen licenses on eBay for $800 but those sellers are eventually
 removed for whatever reason.
 
 Hoping someone here has access to a license they no longer need.
 
 Thanks,
 
 Mik
 
 
 
 
 
 
 Michael Muller
 
 
 Eschew Obfuscation
 
 
 
 
 
 
 
 

 

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


Re: CF9 License

2015-03-04 Thread Russ Michaels

Do you want std or enterprise


On Wed, Mar 4, 2015 at 21:18 PM, Mik Muller ad...@montaguema.net wrote:


I know that it's no longer supported, but I'm looking to purchase a license
for ACF9. I have a few sites that moving onto a server with no included ACF
licenses. The sites are running under ACF9 and use many tags that are not
supported under Railo / Lucee.

I've seen licenses on eBay for $800 but those sellers are eventually
removed for whatever reason.

Hoping someone here has access to a license they no longer need.

Thanks,

Mik






Michael Muller


Eschew Obfuscation







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


Re: ACF10 and IIS8

2015-02-26 Thread Russ Michaels

in most cases it is just a jar files that you stick in the updates folder.
Have you tried manually downloading the update and seeing what it contains
and if there are any manual install instructions

On Thu, Feb 26, 2015 at 7:59 PM, John M Bliss bliss.j...@gmail.com wrote:


 So I'm looking at this:


 http://blogs.coldfusion.com/post.cfm/cautions-for-configuring-cf-10-with-iis-8-on-windows-2012-server

 ...and I'm here:

 4) If all the above steps have been followed and if you are still getting
 the error, please verify that update 8 is installed properly by checking
 the log file under \cfusion\hf-updates\hf-10-
 8\Adobe_ColdFusion_10_Update_8*.log

 The problem is that I can't figure out how to install update 8 without
 first having the IIS connector setup so that I can use the CFAdmin. Is
 there a way to install update 8 without logging in to the CFAdmin?

 --
 John Bliss - http://www.linkedin.com/in/jbliss


 

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


Re: ACF10 Mandatory Update

2015-02-26 Thread Russ Michaels

extracting the zip ?

On Thu, Feb 26, 2015 at 8:19 PM, John M Bliss bliss.j...@gmail.com wrote:


 Working on this:

 https://helpx.adobe.com/coldfusion/kb/coldfusion-10-mandatory-update.html

 I have the update saved to:

 C:\ColdFusion10\cfusion\hf-updates\cf10_mdt_updt.zip

 ...and then, from:

 C:\ColdFusion10\jre\bin

 ...I run:

 java -jar C:\ColdFusion10\cfusion\hf-updates\cf10_mdt_updt.zip

 ...and get:

 Leaving javaSEA.main

 ...but nothing else happen. What am I missing?

 --
 John Bliss - http://www.linkedin.com/in/jbliss


 

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


Re: ColdFusion_10_WWEJ_win64.exe error

2015-02-25 Thread Russ Michaels

Hey everyone does something dumb occasionally 😊


On Wed, Feb 25, 2015 at 19:38 PM, John M Bliss bliss.j...@gmail.com wrote:


No.

Come on, Russ, you've known me for, like, a decade on here!  ;-)
On Feb 25, 2015 2:36 PM, Russ Michaels r...@michaels.me.uk javascript:;
wrote:


 Not trying to install it on a 32bit os are you?


 On Wed, Feb 25, 2015 at 19:32 PM, John M Bliss bliss.j...@gmail.com
javascript:;
 wrote:


 Reinstalling ACF10 64 bit from physical media from Adobe and getting this
 when I run the installer:

 Fatal Application Error
 This Application has Unexpectedly Quit
 Invocation of this Java Application has caused an
 InvocationTargetException. This application will now exit. (LAX)

 Anyone else seen this? Fix?

 --
 John Bliss - http://www.linkedin.com/in/jbliss








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


Re: ColdFusion_10_WWEJ_win64.exe error

2015-02-25 Thread Russ Michaels

Not trying to install it on a 32bit os are you?


On Wed, Feb 25, 2015 at 19:32 PM, John M Bliss bliss.j...@gmail.com wrote:


Reinstalling ACF10 64 bit from physical media from Adobe and getting this
when I run the installer:

Fatal Application Error
This Application has Unexpectedly Quit
Invocation of this Java Application has caused an
InvocationTargetException. This application will now exit. (LAX)

Anyone else seen this? Fix?

--
John Bliss - http://www.linkedin.com/in/jbliss




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


Re: ColdFusion_10_WWEJ_win64.exe error

2015-02-25 Thread Russ Michaels

Try running as administrator.
Take a look at the installer log for more info.


On Wed, Feb 25, 2015 at 19:44 PM, John M Bliss bliss.j...@gmail.com wrote:


That's why I:

;-)

I'm constantly posting dumb questions here.  :-)
On Feb 25, 2015 2:42 PM, Russ Michaels r...@michaels.me.uk javascript:;
wrote:


 Hey everyone does something dumb occasionally 😊


 On Wed, Feb 25, 2015 at 19:38 PM, John M Bliss bliss.j...@gmail.com
javascript:;
 wrote:


 No.

 Come on, Russ, you've known me for, like, a decade on here!  ;-)
 On Feb 25, 2015 2:36 PM, Russ Michaels r...@michaels.me.uk
javascript:;
 javascript:;
 wrote:

 
  Not trying to install it on a 32bit os are you?
 
 
  On Wed, Feb 25, 2015 at 19:32 PM, John M Bliss bliss.j...@gmail.com
javascript:;
 javascript:;
  wrote:
 
 
  Reinstalling ACF10 64 bit from physical media from Adobe and getting
this
  when I run the installer:
 
  Fatal Application Error
  This Application has Unexpectedly Quit
  Invocation of this Java Application has caused an
  InvocationTargetException. This application will now exit. (LAX)
 
  Anyone else seen this? Fix?
 
  --
  John Bliss - http://www.linkedin.com/in/jbliss
 
 
 
 
 







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


Re: ColdFusion_10_WWEJ_win64.exe error

2015-02-25 Thread Russ Michaels

did you already have a JRE installed ?
it may be that CF is trying to use your pre-installed java to do the
install, try removing it from your environment variables so that the
cfinstaller can't find it and might not try to use it

On Wed, Feb 25, 2015 at 10:07 PM, John M Bliss bliss.j...@gmail.com wrote:


 Thanks. I installed 32 bit Java and edited that .lax file with:

 lax.installer.win32.internal.property.0=C:\\Program Files
 (x86)\\Java\\jre1.8.0_31\\bin\\java.exe

 lax.nl.current.vm=C:\\Program Files (x86)\\Java\\jre1.8.0_31\\bin\\java.exe

 ...and I'm getting the same error. What did I do wrong?

 On Wed, Feb 25, 2015 at 4:37 PM, Mark A Kruger mkru...@cfwebtools.com
 wrote:

 
  Sorry this one!
 
 
 http://www.coldfusionmuse.com/index.cfm/2010/2/24/CF8-Install-Windows-2003-64bit
 
  -mark
 
 
  -Original Message-
  From: John M Bliss [mailto:bliss.j...@gmail.com]
  Sent: Wednesday, February 25, 2015 3:15 PM
  To: cf-talk
  Subject: Re: ColdFusion_10_WWEJ_win64.exe error
 
 
  Do you know where that's located?
 
  On Wed, Feb 25, 2015 at 4:13 PM, Russ Michaels r...@michaels.me.uk
  wrote:
 
  
   Try running as administrator.
   Take a look at the installer log for more info.
  
  
   On Wed, Feb 25, 2015 at 19:44 PM, John M Bliss bliss.j...@gmail.com
   wrote:
  
  
   That's why I:
  
   ;-)
  
   I'm constantly posting dumb questions here.  :-)
   On Feb 25, 2015 2:42 PM, Russ Michaels r...@michaels.me.uk
   javascript:;
   wrote:
  
   
Hey everyone does something dumb occasionally 😊
   
   
On Wed, Feb 25, 2015 at 19:38 PM, John M Bliss bliss.j...@gmail.com
   javascript:;
wrote:
   
   
No.
   
Come on, Russ, you've known me for, like, a decade on here!  ;-)
On Feb 25, 2015 2:36 PM, Russ Michaels r...@michaels.me.uk
   javascript:;
javascript:;
wrote:
   

 Not trying to install it on a 32bit os are you?


 On Wed, Feb 25, 2015 at 19:32 PM, John M Bliss 
 bliss.j...@gmail.com
   javascript:;
javascript:;
 wrote:


 Reinstalling ACF10 64 bit from physical media from Adobe and
 getting
   this
 when I run the installer:

 Fatal Application Error
 This Application has Unexpectedly Quit
 Invocation of this Java Application has caused an
 InvocationTargetException. This application will now exit. (LAX)

 Anyone else seen this? Fix?

 --
 John Bliss - http://www.linkedin.com/in/jbliss





   
   
   
   
  
  
  
  
 
 
 
 

 

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


Re: ColdFusion_10_WWEJ_win64.exe error

2015-02-25 Thread Russ Michaels

I guess the installer still has not improved then, MEH!
I haven't really bothered with CF since v9, I am well and truly in the
Railo (Lucee) camp now.

On Wed, Feb 25, 2015 at 10:39 PM, John M Bliss bliss.j...@gmail.com wrote:


 Thanks, guys. This fixed it:

 http://www.instructables.com/id/How-to-install-coldfusion-10-64-bit-on-Windows-Ser/?ALLSTEPS


 On Wed, Feb 25, 2015 at 5:37 PM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  did you already have a JRE installed ?
  it may be that CF is trying to use your pre-installed java to do the
  install, try removing it from your environment variables so that the
  cfinstaller can't find it and might not try to use it
 
  On Wed, Feb 25, 2015 at 10:07 PM, John M Bliss bliss.j...@gmail.com
  wrote:
 
  
   Thanks. I installed 32 bit Java and edited that .lax file with:
  
   lax.installer.win32.internal.property.0=C:\\Program Files
   (x86)\\Java\\jre1.8.0_31\\bin\\java.exe
  
   lax.nl.current.vm=C:\\Program Files
  (x86)\\Java\\jre1.8.0_31\\bin\\java.exe
  
   ...and I'm getting the same error. What did I do wrong?
  
   On Wed, Feb 25, 2015 at 4:37 PM, Mark A Kruger mkru...@cfwebtools.com
 
   wrote:
  
   
Sorry this one!
   
   
  
 
 http://www.coldfusionmuse.com/index.cfm/2010/2/24/CF8-Install-Windows-2003-64bit
   
-mark
   
   
-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com]
Sent: Wednesday, February 25, 2015 3:15 PM
To: cf-talk
Subject: Re: ColdFusion_10_WWEJ_win64.exe error
   
   
Do you know where that's located?
   
On Wed, Feb 25, 2015 at 4:13 PM, Russ Michaels r...@michaels.me.uk
wrote:
   

 Try running as administrator.
 Take a look at the installer log for more info.


 On Wed, Feb 25, 2015 at 19:44 PM, John M Bliss 
 bliss.j...@gmail.com
  
 wrote:


 That's why I:

 ;-)

 I'm constantly posting dumb questions here.  :-)
 On Feb 25, 2015 2:42 PM, Russ Michaels r...@michaels.me.uk
 javascript:;
 wrote:

 
  Hey everyone does something dumb occasionally 😊
 
 
  On Wed, Feb 25, 2015 at 19:38 PM, John M Bliss 
  bliss.j...@gmail.com
 javascript:;
  wrote:
 
 
  No.
 
  Come on, Russ, you've known me for, like, a decade on here!
 ;-)
  On Feb 25, 2015 2:36 PM, Russ Michaels r...@michaels.me.uk
 javascript:;
  javascript:;
  wrote:
 
  
   Not trying to install it on a 32bit os are you?
  
  
   On Wed, Feb 25, 2015 at 19:32 PM, John M Bliss 
   bliss.j...@gmail.com
 javascript:;
  javascript:;
   wrote:
  
  
   Reinstalling ACF10 64 bit from physical media from Adobe and
   getting
 this
   when I run the installer:
  
   Fatal Application Error
   This Application has Unexpectedly Quit
   Invocation of this Java Application has caused an
   InvocationTargetException. This application will now exit.
 (LAX)
  
   Anyone else seen this? Fix?
  
   --
   John Bliss - http://www.linkedin.com/in/jbliss
  
  
  
  
  
 
 
 
 




   
   
   
   
  
  
 
 

 

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


Re: CF 404 handler non being invoked on IIS

2015-02-19 Thread Russ Michaels

Do you have iis6 compatibility mode installed? Rgis can cause odd behaviour.
If so remove all connectors, then remove iis6 mode then recreate connectors


On Wed, Feb 18, 2015 at 5:06 AM, Mark Spence markpence...@gmail.com wrote:


I'm trying to make do with using a custom 404 handler in IIS but the
requested template variable in CF resolves to to 404 handler rather than
the url of the requested page.  This is getting complicated as this is only
a work around for local development and I don't want to change to much and
break the live site.

Does anyone have any other pointers on how I can get this working like the
live site?

I can't believe that it is this problematic to get CF to be passed the 404
error and invoke the onmissingtemplate.  What changed so drastically in iis
8 and cf11 that something so basic is so broken?

On Fri, Feb 13, 2015 at 4:24 PM, Matt Robertson websitema...@gmail.com
javascript:;
wrote:


 sorry for my lack of attention on this.  If you are in fact using IIS
 Rewrite then that clouds the picture a little.  However if I can pull
 myself together and write something up you should be able to do all of
your
 404 handling in your ... 404 handler.  I don't use IIS rewrites for much
 and instead rely on CF wherever possible.  Will try and find some time
this
 long weekend (holiday here in the USA).

 On Thu, Feb 12, 2015 at 5:31 AM, Mark Spence markpence...@gmail.com
javascript:;
 wrote:

 
  After playing with it a bit more I added this:
  httpErrors existingResponse=PassThrough/
 
  Now I just get a blank page.
 
  Am I successfully passing it through to cf?  Hard to tell.  I was hoping
 to
  have made a bit of progress.
 
  On Mon, Feb 9, 2015 at 6:38 PM, Matt Robertson websitema...@gmail.com
javascript:;
  wrote:
 
  
   
Mark,
  
   those two threads aren't exactly a linear set of to do steps.  I'll
try
  to
   put that together tomorrow when I am in front of a desktop.
  
  
  
--
--m@Robertson--
Janitor, The Robertson Team
mysecretbase.com
   
  
  
   --
   --m@Robertson--
   Janitor, The Robertson Team
   mysecretbase.com
  
  
  
 
 





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


Re: (ot) FarCry upgrade to 7.x

2015-02-12 Thread Russ Michaels

Unless farcry has some specific features that WP doesn't or you want to
customise it heavily in CFML then i'd go with WP.
Joomla is a more powerful CMS, but it is a clunky, unfriendly, hard to use
monster.

On Thu, Feb 12, 2015 at 5:24 PM, Uwe Degenhardt cf-t...@sdsolutions.de
wrote:


 Hi everybody,
 I know that there a are some
 guys out here on the list using
 FarCry.
 We used FarCry 6.0.6 for quite a while.
 Now we want most likely upgrade to 7.x since
 I have the hope it comes with responsive
 webdesign serving the site to some customers having
 mobile phones and/or tablet computers.

 We can also jump on the WordPress
 or Joomla train with the Website.
 Are there specific reasona I should stay tuned
 with FC rather than leaving it
 and go with WP or Joomla other than the fact
 it is driven with CF ? ;-)

 Uwe



 

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


Re: CF 404 handler non being invoked on IIS

2015-02-09 Thread Russ Michaels

It would seem that your url rewriting is not working if you are getting 404
on the original url., otherwise you get error on the rewritten url at least.


On Sun, Feb 8, 2015 at 17:35 PM, Mark Spence markpence...@gmail.com wrote:


This is working on the live hosted site, but on my local install of iis and
cf it isn't.

I have ses urls like this:

http://mysitedotcom/item-section/item-name-1034/index.cfm

The directories item-section and item-name-1034 do not exist, so it
should invoke the Application.cfc onMissingTemplate function, which is set
up to serve the proper dynamic page.

However on my local setup, I am getting this iis error:

HTTP Error 404.0 - Not Found
Detailed Error Information:
 Module   IIS Web Core Notification   MapRequestHandler Handler
cfmHandler Error
Code   0x80070002
Requested URL
http://mysitedotcom:80/site_mysubsite_com/items/item-name-1034/index.cfm
Physical
Path   C:\wwwroot\site_mysite_com\item-section\item-name-1034\index.cfm
Logon
Method   Anonymous Logon User   Anonymous
It's like CF is not even getting to see the missing template error before
IIS steps in.  I tried setting Application.cfc as the error page for 404
errors but no dice.  How can I make CF take priority and handle the 404
error?

Thank you.




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


Re: CF 404 handler non being invoked on IIS

2015-02-09 Thread Russ Michaels

ok I thought I saw him say earlier on he was using url rewrite, maybe I was
mistaken

On Tue, Feb 10, 2015 at 1:30 AM, Matt Robertson websitema...@gmail.com
wrote:


 Url rewrite in IIS may not even be involved here, and need not be.   Prior
 to win2k8 the standard way to handle Cf 404 and 'fakeURL' 404's was to tell
 IIS not to 'check to see if file exists' in the .cfm mapping.  From there
 CF server's 404 handler did whatever you wanted it to.  To retain the same
 capability with dynamic urls i had to jump thru the hoops described above
 in win2k8. Current method of individual site 404 handlers is a pain but
 more flexible.

 On Monday, February 9, 2015, Russ Michaels r...@michaels.me.uk wrote:

 
  I deal with many sites that have non existent pages which use URL REWRITE
  to redirect them.
  The usual reason is that the url rewrite rules are not working, or even
  that the url rewrite module is not installed.
  Have you tried a very simple rule to test of that is working ok ?
 
 
  On Mon, Feb 9, 2015 at 9:47 PM, Mark Spence markpence...@gmail.com
  javascript:; wrote:
 
  
   Matt,
   Thank you for the link.  I am working through the first step below:
  
   *Step 1:*
   Configure a Missing Template Handler in CF Administrator. Mine is
 global
  to
   the server and kept in the ColdFusion webroot - which is separate from
  the
   IIS web root and whose default location is c:\ColdFusion9\wwwroot. This
   global template is 404handler.cfm and contains the following simple
 code,
   which you can expand upon:
  
   h1404/h1pPage Not Found/pcfheader
   statuscode=404
   statustext=Not Found
  
   At this point, visit your web site and execute a bad ColdFusion url:
   *http://[domain]/bogus.cfm*. You will see both the IIS remote error
   screen/banner followed by your ColdFusion error screen. Check the
 header
   and it is a 404. This next step will solve the dual display problem.
  
  
   When I visit the bogus page, I still just get the standard detailed iis
  404
   page, without the cf page that I created.  I have tried it both with
 and
   without the Enable HTTP status codes.  I can't figure out what I am
  doing
   wrong.  This is on a windows 8 machine.  Any ideas?  Thank you for the
   help.
  
  
  
 
 

 

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


Re: CF 404 handler non being invoked on IIS

2015-02-09 Thread Russ Michaels

I deal with many sites that have non existent pages which use URL REWRITE
to redirect them.
The usual reason is that the url rewrite rules are not working, or even
that the url rewrite module is not installed.
Have you tried a very simple rule to test of that is working ok ?


On Mon, Feb 9, 2015 at 9:47 PM, Mark Spence markpence...@gmail.com wrote:


 Matt,
 Thank you for the link.  I am working through the first step below:

 *Step 1:*
 Configure a Missing Template Handler in CF Administrator. Mine is global to
 the server and kept in the ColdFusion webroot - which is separate from the
 IIS web root and whose default location is c:\ColdFusion9\wwwroot. This
 global template is 404handler.cfm and contains the following simple code,
 which you can expand upon:

 h1404/h1pPage Not Found/pcfheader
 statuscode=404
 statustext=Not Found

 At this point, visit your web site and execute a bad ColdFusion url:
 *http://[domain]/bogus.cfm*. You will see both the IIS remote error
 screen/banner followed by your ColdFusion error screen. Check the header
 and it is a 404. This next step will solve the dual display problem.


 When I visit the bogus page, I still just get the standard detailed iis 404
 page, without the cf page that I created.  I have tried it both with and
 without the Enable HTTP status codes.  I can't figure out what I am doing
 wrong.  This is on a windows 8 machine.  Any ideas?  Thank you for the
 help.


 

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


Re: problem getting coldfusion and iis running together

2015-02-08 Thread Russ Michaels

You need to make sure that the handler path on your site giving the error
is added to cgi restrictions and set to allow.


On Sat, Feb 7, 2015 at 23:04 PM, Mark Spence markpence...@gmail.com wrote:


Thank you for the reply.  I googled the error code and found this thread:
http://forums.iis.net/t/1150673.aspx?Am+getting+the+error+0x800704ec+in+webpage+while+calling+the+perl+script

I looked in the ISAPI and CGI restrictions and there is an entry under
tomcat_Default Web Site with the path pointing to
   C:\ColdFusion11\config\wsconfig\1\isapi_redirect.dll

Any ideas?

Thank you.
Detailed Error Information:
 Module   IsapiModule Notification   ExecuteRequestHandler Handler
   mod_rewrite Error Code   0x800704ec
Requested URL   http://127.0.0.1:80/jakarta/isapi_redirect.dll Physical Path
   C:\ColdFusion11\config\wsconfig\1\isapi_redirect.dll Logon Method
   Anonymous Logon User   Anonymous




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


Re: problem getting coldfusion and iis running together

2015-02-08 Thread Russ Michaels

I assume you actuaLLY CHECKED the cfm handler to make sure that is the
actual path ?

use the web config tool to enable and disable CF again on all sites, this
should also fix the cgi rescriptions.


On Sun, Feb 8, 2015 at 2:24 PM, Mark Spence markpence...@gmail.com wrote:


 Under the top level of IIS manager, under ISAPI and CGI restrictions,
 there was what I thought to be the proper entry.

 I went to the website in question and removed the inherited entry and added
 an explicit entry for
C:\ColdFusion11\config\wsconfig\1\isapi_redirect.dllbut it still does
 not work.

 Sorry to be so much trouble.  I just would like to get this to work.

 On Sun, Feb 8, 2015 at 2:27 AM, Russ Michaels r...@michaels.me.uk wrote:

 
  You need to make sure that the handler path on your site giving the error
  is added to cgi restrictions and set to allow.
 
 
  On Sat, Feb 7, 2015 at 23:04 PM, Mark Spence markpence...@gmail.com
  wrote:
 
 
  Thank you for the reply.  I googled the error code and found this thread:
 
 
 http://forums.iis.net/t/1150673.aspx?Am+getting+the+error+0x800704ec+in+webpage+while+calling+the+perl+script
 
  I looked in the ISAPI and CGI restrictions and there is an entry under
  tomcat_Default Web Site with the path pointing to
 C:\ColdFusion11\config\wsconfig\1\isapi_redirect.dll
 
  Any ideas?
 
  Thank you.
  Detailed Error Information:
   Module   IsapiModule Notification   ExecuteRequestHandler Handler
 mod_rewrite Error Code   0x800704ec
  Requested URL   http://127.0.0.1:80/jakarta/isapi_redirect.dll Physical
  Path
 C:\ColdFusion11\config\wsconfig\1\isapi_redirect.dll Logon Method
 Anonymous Logon User   Anonymous
 
 
 
 
 

 

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


Re: problem getting coldfusion and iis running together

2015-02-07 Thread Russ Michaels

firstly you do not want to allow unspecified modules, you simply  need to
allow the ColdFusion handler.

have you tried enabling detailed errors so you can actually see what is
causing the 500 internal server  ?


On Sat, Feb 7, 2015 at 7:46 PM, Mark Spence markpence...@gmail.com wrote:


 Sorry, this is both a IIS and ColdFusion question, so I wasn't sure where
 to ask.  Hopefully someone here can help me.  I am just getting started
 with CF and am helping someone with a site so please bear with me.  I am
 trying to get my local dev environment set up.


 I had IIS and ColdFusion running ok.  I imported some rules from a
 .htaccess file and it seemed to work ok, the pages from the subdirectory
 were being served based upon host name.  However, once I did so, I started
 getting this error when trying to access the Coldfusion Administrator
 located at:

 http://127.0.0.1/CFIDE/administrator/index.cfm


 I got this error:
 HTTP Error 404.2 - Not FoundThe page you are requesting cannot be served
 because of the ISAPI and CGI Restriction list settings on the Web server.

 I thought it might be because of the rules imported so I disabled them all
 but no dice.  I also went to the settings for the ISAPI and CGI
 Restrictions and clicked on Edit Feature Settings and clicked Allow
 unspecified CGI modules and Allow unspecified ISAPI modules.

 After doing so, the error changed to:
 HTTP Error 500.0 - Internal Server ErrorThere is a problem with the
 resource you are looking for, so it cannot be displayed.

 I am not sure what else to try.

 Thank you for any help.


 

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


Re: Solr Suggestions

2015-02-05 Thread Russ Michaels

one thing to bear in mind, if you are using shared hositng. If any customer
on the server deletes their collection (i.e. deletes the files or folders)
this completely breaks SOLR for everyone else.
for this reason I would avoid using SOLR unless it will be running on
dedicated hosting.


On Wed, Feb 4, 2015 at 6:27 PM, Mary Jo Sminkey mary...@cfwebstore.com
wrote:


 I'm working on an integration with Solr specifically to use it to help
 lookup word suggestions for our searches. However, the cfsearch docs are
 definitely driving me nuts. First, the type attribute doesn't seem to
 work at all in CF10, even though it's clearly included in the documentation
 for that version. Using it though just throws errors. Not that there is
 very useful information on how to use it, anyway.

 The one I'm frustrated with though is the status fields. They are supposed
 to include a keywords struct and keywordScore when the suggestions criteria
 is met, but I have never seen these show up even when I am getting
 suggestions. It would be very helpful to have, since this is why we are
 implementing Solr in the first place. but I'm baffled as to how you get
 these to come up. If they are no longer included, as seems to be the case
 with the type attribute, it would be nice if Adobe actually updated the
 docs to include that information (I know, pie in the sky for us to actually
 have accurate docs!)


 Mary Jo


 

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


Re: Iif() Evaluation Weirdness

2015-02-03 Thread Russ Michaels

If you are going to use a variable that doesn't exist then using this
method will cause you issues as cf will still try to evaluate both sides of
it even if false.

There are ways round it using nested evaluate and de statements, but
frankly it just becomes messy and unreadable, I used to do this myself.
You are better off just using cfif or switch statement instead.


On Tue, Feb 3, 2015 at 19:32 PM, Mosh Teitelbaum mosh.teitelb...@evoch.com
wrote:


All:

I've run into a problem that I could use some new eyes on... I have a
function inside a CFC that accepts a query (importData) and a series of
indicators (nicknameInd) that indicate if the value from the query should
be used (indicator = 1) or not (indicator = 0).  In the below code, the
first argument in the IIF() function evaluates to false (both conditions
are false) so only the third argument, De(), should be evaluated.
However, for some reason, both the second and third arguments are being
evaluated and I'm getting an error message that Element NICKNAME is
undefined in IMPORTDATA. Because importData.nickname is not defined.

cfset variables.nickname = Iif( (arguments.nicknameInd NEQ 0) AND
(IsDefined(importData.nickname)), De(importData.Nickname), De())

I've replaced both the second and third arguments with debugging code that
showed that they are both being evaluated, regardless of the condition in
the first argument.  Not sure why that is though given that they're both
wrapped in DE() functions.

Any suggestions?

Thanks.

--
Mosh Teitelbaum





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


Re: Iif() Evaluation Weirdness

2015-02-03 Thread Russ Michaels

Well if you want to try it out then try using nested evaluate(de(''))
You can also achieve same using nested quotes like de('stuff') to avoid
evaluation,
But it just gets messy imho
Iif() has its uses for simple inline evaluations, such as select lists or
dynamic style classes but beyond that I think it just makes for better code
not to do it inline.


On Wed, Feb 4, 2015 at 0:21 AM, Mosh Teitelbaum mosh.teitelb...@evoch.com
wrote:


Thanks Russ (and Dave).

That's the route I ended up going to.  Kind of annoying as I think the
Iif() method produces cleaner code (and I had already written it) but it is
what it is.

--
Mosh Teitelbaum

Russ Michaels wrote
 If you are going to use a variable that doesn't exist then using this
method will cause you issues as cf will still try to evaluate both sides of
it even if false.

 There are ways round it using nested evaluate and de statements, but
frankly it just becomes messy and unreadable, I used to do this myself.
 You are better off just using cfif or switch statement instead.




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


Re: Cannot access session variables in a cfc

2015-01-29 Thread Russ Michaels

I'll add for the sake of brevity, please don't put application wide cfcs in
session scope, as a hosting provider I have seen this kill a server. 5000
users = 5000 instances of the cfc.

In most cases using a mapping solves the issues you have with cf not
finding the cfc.


On Thu, Jan 29, 2015 at 17:00 PM, Scott Stewart webmas...@sstwebworks.com
wrote:


Some of the dangers to this approach include:  the amount of memory
allocated to the JVM. If you stuff alot of data into the Application scope,
it persists in the JVM allocated memory and it's not available to the rest
of the system/application.

You really can't change data in the Application scope without having to
reload it.

I generally use the Application scope for application wide CFC
instantiation, the and not actual application wide data.

Just my $.02

sas

On Thu, Jan 29, 2015 at 11:53 AM, John Pullam jpul...@mcleansystems.com
javascript:;
wrote:


 For what it's worth, the approach of storing a global data item in the
 application scope seems to be legit according to the documentation. Here's
 what it said in the CF10 doc:

 Application variables are a convenient place to store information that all
 pages of your application might need, no matter which client is running
 that application. Using application variables, an application could, for
 example, initialize itself when the first user accesses any page of that
 application. This information can then remain available indefinitely,
 thereby avoiding the overhead of repeated initialization.

 Because the data stored in application variables is available to all pages
 of an application, and remains available until a specific period of
 inactivity passes or the ColdFusion server shuts down, application
 variables are convenient for application-global, persistent data.

 However, because all clients running an application see the same set of
 application variables, these variables are not appropriate for
 client-specific or session-specific information. To target variables for
 specific clients, use client or session variables.





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


Re: WebServices and HTTP/1.1

2015-01-27 Thread Russ Michaels

I suspect this is due to the Apache Axis version you are using. Axis 1 uses
http 1.0 and axis 2 uses http 1.1
I do not know which version CF10/11 use by default, but here is how to
switch version to test this theory
http://milanchandnacf.blogspot.in/2012/07/axis-2-and-axis-1-compatibility-issues.html

There should also be a config option some in Axis to set it to use http/1.1
by default if it is not doing so, but you can also specify this in the
headers, although I am not sure exactly what the syntax is for doing this
from CF.

On Wed, Jan 28, 2015 at 12:04 AM, Ricardo Russon ricardo.rus...@gmail.com
wrote:


 We have been using a web service of a merchant provider, and they have
 informed us that they will cease to support connections using HTTP/1.0. And
 must update our system to use HTTP/1.1.

 Our testing with them has shown that the calls we are making via
 CreateObject(webservice,...) is being transmitted via HTTP/1.0 for both
 CF9 and CF11.

 We are yet to confirm CF10, but will assume for the time being that it is
 also the case.

 Is there any way we can control this? Either programatically or
 environmentally (CF/IIS/Other)?

 Looking over these links doesn't seem to provide an answer.


 http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6978.html
 http://axis.apache.org/axis/java/reference.html#WSDL2JavaReference

 Any advice would be greatly appreciated.

 Ricardo.


 

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


Re: ckeditor in CF 11?

2015-01-16 Thread Russ Michaels

The problem with using the bundled version as it can easily become out of
date and you are relying on the CFIDE folder again, which is somehting best
avoided. There was a well known security hole in previous version which got
abused big time for upload files to ColdFusion servers.

it is much better to use a standalone version inside your site really,
which you can easily update and patch without breaking anything else.

On Fri, Jan 16, 2015 at 3:30 PM, Nick Gleason n.glea...@citysoft.com
wrote:


 Hi Folks,

 I have a question about ckeditor.  We use it in our CMS, but have not used
 the version bundled with CF before.

 I have a couple of questions that I am hoping folks here can answer:

 1. Is ckeditor included in CF 11?

 2. If so, have people had good experiences with it (we've used it for a
 while - but not the CF bundled version - and have generally liked it)?

 3. If the CF bundled version is customized / forked, are there then risks
 of
 the forks being over-written in the context of an upgrade?

 4. Are there licensing issues with the CF bundled version?  In other words,
 if you use the free version from cksource in a commercial product, there is
 typically a license fee.  If you use the CF bundled version in a commercial
 product, is there still a licensing fee?  Or is that waived in the context
 of using CF server?

 Thanks in advance for your thoughts.

 Best,

 Nick





 

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


Re: ckeditor in CF 11?

2015-01-16 Thread Russ Michaels

IF being the operative word here. And you should know as well as I that
is usually not the case.
We have a person on this very list, who likes to tell us about her 15+
years experience in IT and security expertise, but her CF server was about
as insecure as can be, and her cfadmin was hackable in seconds.

On Fri, Jan 16, 2015 at 7:41 PM, Dave Watts dwa...@figleaf.com wrote:


 It looks like your other questions have been answered already, so I'll
 just answer this one.

  4. Are there licensing issues with the CF bundled version?  In other
 words,
  if you use the free version from cksource in a commercial product, there
 is
  typically a license fee.  If you use the CF bundled version in a
 commercial
  product, is there still a licensing fee?  Or is that waived in the
 context
  of using CF server?

 No, there are no additional licensing fees to any components included
 in CF Server.

 One point in response to Russ: if you properly secure your server,
 there really isn't a problem with relying on the CFIDE folder. Of
 course, it's not easy to properly secure your server, and if that's
 the case for you, you should certainly follow Russ' advice. He's also
 correct about the bundled version being out of date.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) 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/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359988
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Russ Michaels

I would avoid IsValid() it is not reliable and has been blogged about.
try this
https://github.com/teamcfadvance/ValidateThis


On Thu, Jan 15, 2015 at 2:48 PM, Rob Voyle robvo...@voyle.com wrote:


 Hi Folks

 Using CF11
  isValid(email,name@gmail) is returning a Yes

 Am I missing something or is this a bug. As far as I know CF9 would have
 returned NO

 Rob


 Robert J. Voyle, Psy.D.
 Director, Clergy Leadership Institute
 For Coaching and Training in Appreciative Inquiry
 http://www.clergyleadership.com/
 503-647-2378 or 503-647-2382


 

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


Re: CF Builder 3

2015-01-14 Thread Russ Michaels

because it was FREE and used to come on CD with Dreamweaver and CF I believe

On Wed, Jan 14, 2015 at 4:11 AM, Andrew Scott andr...@andyscott.id.au
wrote:


 I can never understand why Homesite was so popular, it's bigger brother was
 the better of the two. Which was Studio. But as it is old and ancient and
 not being updated any more, feel free to use 20 year old software.

 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+:  http://plus.google.com/113032480415921517411


 On Wed, Jan 14, 2015 at 10:45 AM, Rob Voyle robvo...@voyle.com wrote:

 
  Hi Aaron
 
  After much frustration I found that you need to select wrap search in
 the
  options box for the find to work.
 
  Still prefer homesite for project wide find and replace when upgrading an
  entire
  site.
 
  Rob
  Robert J. Voyle, Psy.D.
  Director, Clergy Leadership Institute
  For Coaching and Training in Appreciative Inquiry
  Author: Restoring Hope: Appreciative Strategies
  to Resolve Grief and Resentment
  http://www.appreciativeway.com/
  503-647-2378 or 503-647-2382
 
 
  On 13 Jan 2015 at 15:21, Aaron Rouse wrote:
 
  
   I have had horrible luck with the CFBuilder Find.  Just as one
   short
   example, last quarter I was asked to find some emails in a big
   project that
   the support person no longer was available for.  My workstation at
   home has
   CFBuilder on it and it could not find one CFMail tag(or just the
   text
   cfmail) in there.
 
 
 

 

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


Re: CF Builder 3

2015-01-10 Thread Russ Michaels

I have tried out a few editors and stuck with sublime as my general all
round text editor. But the tag/function insight and completion for cfml is
not complete and unless you know every attribute of every tag and function
then you have to resort to docs.
I have to say I still have a preference for Dreamweaver, it still does a
good job even in the code editor.


On Sat, Jan 10, 2015 at 17:52 PM, John M Bliss bliss.j...@gmail.com wrote:


I'll add: while you're checking stuff out, be sure to check out:
http://brackets.io  Has a CFML extension, is super-fast  lightweight, has
great find-and-replace, and has amazing front-end dev tools.

On Sat, Jan 10, 2015 at 12:23 PM, Rob Voyle robvo...@voyle.com
javascript:; wrote:


 Hi Steve
 I use cfbuilder 3 on my local development of applications (Win 7 machine).
 Having migrated from using Homesite (which I still use for its ease of
 extended
 find/replace across entire web projects)

 I am not very impressed with cfbuilder. It could be very useful and has
 some
 promise but I would not pay money for it again, and if you already have a
 template editor you like don't waste your time trying to get a free
version
 working.

 While you can select a range of editor preferences color coding etc. You
 will have
 varying and frustrating results with many preferences not sticking after
 you close
 and reopen the program.

 The syntax error reporting and color coding is insanely erroneous and
 unhelpful.

 Many of these bugs have had multiple bug reports made at Adobe but nothing
 has been done

 The built in FTP is so complex to setup, I gave up and went back to an
 external
 FileZilla program.

 For a relative beginner to the deeper complexity and power of CF (despite
 having
 used it for many years) I found it very difficult to find the settings
 that control
 many of the preferences. Seemed like I am using confusion builder rather
 than
 coldfusion builder

 Rob
 Robert J. Voyle, Psy.D.
 Director, Clergy Leadership Institute
 For Coaching and Training in Appreciative Inquiry
 Author: Restoring Hope: Appreciative Strategies
 to Resolve Grief and Resentment
 http://www.appreciativeway.com/
 503-647-2378 or 503-647-2382






 On 6 Jan 2015 at 18:18, Steve LaBadie wrote:

 
  We just purchased CF 11 and we also received a license for Builder
  3. I don't know anything about the product and wanted to know if it
  something that should be installed. Does it get installed on the
  server or desktop?







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


Re: Chat app (using CF websockets) has stopped working after upgrading to CF11

2015-01-07 Thread Russ Michaels

The master CFIDE must be locked down, otherwise you are opening yourself up
to be hacked.
One of the standard best practices I have documented since CF6 is to make a
copy of the CFIDE with only the minimal required files and to use this as
the vDir in your sites if required. This will then contain nothing
dangerous that can be abused.
It is also fully documented in many places, including the lock down guide
how to lock down only the parts of the CFIDE that need locking down if you
choose to use the original copy on your sites.
Have you tried this ?


On Wed, Jan 7, 2015 at 9:38 AM, Parul Bali parul.sarasw...@gmail.com
wrote:


 Bryon,

 My custom channel listener does extend 'CFIDE.websocket.ChannelListener',
 but if CFIDE's Channel Listener is inaccessible, I get the error that my
 custom ChannelListener is not  a valid ChannelListener handler. So locking
 down of CFIDE is ruled out.

 Thanks

 On Wed, Jan 7, 2015 at 8:45 AM, Parul Bali parul.sarasw...@gmail.com
 wrote:

  Hi Bryon,
 
  I use my own custom channel listener CFC. So that's probably not the
  issue. Thanks for your help.
 
  Hi Jack,
 
  The websockets are enabled in CFAdmin. Thanks.
 
  It was working right before the upgrade to CF11, so wondering if there's
  anything to be kept in mind while upgrading - that I might have missed.
 
  On Wed, Jan 7, 2015 at 4:09 AM, Jack Traynor traynor.j...@gmail.com
  wrote:
 
 
  There is an option in CFAdmin that enables websockets, make sure that is
  still enabled after your upgrade.
 
  On Wed, Jan 7, 2015 at 3:06 AM, Byron Mann byronos...@gmail.com
 wrote:
 
  
   Any chance you locked down the CFIDE on the new install and you are
  using
   the default listener CFIDE\websocket\ChannelListner.cfc?
  
  
  
 
 http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffe.html
  
   I haven't used websockets extensively, so I hope I'm not getting you
 off
   track.
  
  
  
   On Tue, Jan 6, 2015 at 2:00 AM, Parul B parul.sarasw...@gmail.com
  wrote:
  
   
Hi,
   
I recently upgraded to CF 11 and my chat application (which uses
Coldfusion websockets and was earlier working great with CF10 and
  Apache)
has now suddenly stopped working. Even a basic handshake isn't
  happening.
   
I've already tried disconnecting/reconnecting the CF connector.
   
Any pointers in this regard (if anyone has come across this issue
  after
upgrading to CF11) would be highly appreciated.
   
   
  
  
 
 

 

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


Re: Chat app (using CF websockets) has stopped working after upgrading to CF11

2015-01-07 Thread Russ Michaels

ok sorry thought you were saying you could not lock down CFIDE cozz you
used web sockets.

are you able to access the CFC directly via the browser using the cfc
browser?

On Wed, Jan 7, 2015 at 12:44 PM, Parul Bali parul.sarasw...@gmail.com
wrote:


 Thanks Russ, we do follow these practices on Production, but right now am
 testing locally. So was just ruling that out as the issue that might be
 breaking my Websockets' application which suddenly stopped working after
 upgrading to CF11. So was wondering if anyone's faced such Websocket issues
 after upgrading to CF11. Any pointers or troubleshooting tips would be
 appreciated.

 On Wed, Jan 7, 2015 at 11:02 AM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  The master CFIDE must be locked down, otherwise you are opening yourself
 up
  to be hacked.
  One of the standard best practices I have documented since CF6 is to
 make a
  copy of the CFIDE with only the minimal required files and to use this as
  the vDir in your sites if required. This will then contain nothing
  dangerous that can be abused.
  It is also fully documented in many places, including the lock down guide
  how to lock down only the parts of the CFIDE that need locking down if
 you
  choose to use the original copy on your sites.
  Have you tried this ?
 
 
  On Wed, Jan 7, 2015 at 9:38 AM, Parul Bali parul.sarasw...@gmail.com
  wrote:
 
  
   Bryon,
  
   My custom channel listener does extend
 'CFIDE.websocket.ChannelListener',
   but if CFIDE's Channel Listener is inaccessible, I get the error that
 my
   custom ChannelListener is not  a valid ChannelListener handler. So
  locking
   down of CFIDE is ruled out.
  
   Thanks
  
   On Wed, Jan 7, 2015 at 8:45 AM, Parul Bali parul.sarasw...@gmail.com
   wrote:
  
Hi Bryon,
   
I use my own custom channel listener CFC. So that's probably not the
issue. Thanks for your help.
   
Hi Jack,
   
The websockets are enabled in CFAdmin. Thanks.
   
It was working right before the upgrade to CF11, so wondering if
  there's
anything to be kept in mind while upgrading - that I might have
 missed.
   
On Wed, Jan 7, 2015 at 4:09 AM, Jack Traynor traynor.j...@gmail.com
 
wrote:
   
   
There is an option in CFAdmin that enables websockets, make sure
 that
  is
still enabled after your upgrade.
   
On Wed, Jan 7, 2015 at 3:06 AM, Byron Mann byronos...@gmail.com
   wrote:
   

 Any chance you locked down the CFIDE on the new install and you
 are
using
 the default listener CFIDE\websocket\ChannelListner.cfc?



   
  
 
 http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffe.html

 I haven't used websockets extensively, so I hope I'm not getting
 you
   off
 track.



 On Tue, Jan 6, 2015 at 2:00 AM, Parul B 
 parul.sarasw...@gmail.com
wrote:

 
  Hi,
 
  I recently upgraded to CF 11 and my chat application (which uses
  Coldfusion websockets and was earlier working great with CF10
 and
Apache)
  has now suddenly stopped working. Even a basic handshake isn't
happening.
 
  I've already tried disconnecting/reconnecting the CF connector.
 
  Any pointers in this regard (if anyone has come across this
 issue
after
  upgrading to CF11) would be highly appreciated.
 
 


   
   
  
  
 
 

 

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


Re: Chat app (using CF websockets) has stopped working after upgrading to CF11

2015-01-07 Thread Russ Michaels

when you upgraded CF, are you sure the CFIDE got upgraded as well. If you
have it in a non standard place then this would not have happened.
during installation it would have verified the path it was using.
are you using the default one at cfinstall\ cfusion\wwwroot\cfide, if not
then try using this one instead, or taking a copy of it and overwriting
your external copy.

you should also view source on your webpage and check the path to the
javascript files, and make sure you can actually access the file (copy and
paste path to browser or click the link). If it cannot find the file, then
there is your issue.


On Wed, Jan 7, 2015 at 1:20 PM, Parul Bali parul.sarasw...@gmail.com
wrote:


 No worries Russ. Yes, I'm able to access 'CFIDE.websocket.ChannelListener'
 directly using the cfc browser.

 Also, it seems that the cfwebsocket tag isn't creating the javascript
 websocket object at all, because when i try calling the startup functions
 directly thru the console, i get the error that the websocket object is not
 defined. This was never an issue before upgrading to CF11.

 On Wed, Jan 7, 2015 at 1:10 PM, Russ Michaels r...@michaels.me.uk wrote:

 
  ok sorry thought you were saying you could not lock down CFIDE cozz you
  used web sockets.
 
  are you able to access the CFC directly via the browser using the cfc
  browser?
 
  On Wed, Jan 7, 2015 at 12:44 PM, Parul Bali parul.sarasw...@gmail.com
  wrote:
 
  
   Thanks Russ, we do follow these practices on Production, but right now
 am
   testing locally. So was just ruling that out as the issue that might be
   breaking my Websockets' application which suddenly stopped working
 after
   upgrading to CF11. So was wondering if anyone's faced such Websocket
  issues
   after upgrading to CF11. Any pointers or troubleshooting tips would be
   appreciated.
  
   On Wed, Jan 7, 2015 at 11:02 AM, Russ Michaels r...@michaels.me.uk
   wrote:
  
   
The master CFIDE must be locked down, otherwise you are opening
  yourself
   up
to be hacked.
One of the standard best practices I have documented since CF6 is to
   make a
copy of the CFIDE with only the minimal required files and to use
 this
  as
the vDir in your sites if required. This will then contain nothing
dangerous that can be abused.
It is also fully documented in many places, including the lock down
  guide
how to lock down only the parts of the CFIDE that need locking down
 if
   you
choose to use the original copy on your sites.
Have you tried this ?
   
   
On Wed, Jan 7, 2015 at 9:38 AM, Parul Bali 
 parul.sarasw...@gmail.com
wrote:
   

 Bryon,

 My custom channel listener does extend
   'CFIDE.websocket.ChannelListener',
 but if CFIDE's Channel Listener is inaccessible, I get the error
 that
   my
 custom ChannelListener is not  a valid ChannelListener handler. So
locking
 down of CFIDE is ruled out.

 Thanks

 On Wed, Jan 7, 2015 at 8:45 AM, Parul Bali 
  parul.sarasw...@gmail.com
 wrote:

  Hi Bryon,
 
  I use my own custom channel listener CFC. So that's probably not
  the
  issue. Thanks for your help.
 
  Hi Jack,
 
  The websockets are enabled in CFAdmin. Thanks.
 
  It was working right before the upgrade to CF11, so wondering if
there's
  anything to be kept in mind while upgrading - that I might have
   missed.
 
  On Wed, Jan 7, 2015 at 4:09 AM, Jack Traynor 
  traynor.j...@gmail.com
   
  wrote:
 
 
  There is an option in CFAdmin that enables websockets, make sure
   that
is
  still enabled after your upgrade.
 
  On Wed, Jan 7, 2015 at 3:06 AM, Byron Mann 
 byronos...@gmail.com
 wrote:
 
  
   Any chance you locked down the CFIDE on the new install and
 you
   are
  using
   the default listener CFIDE\websocket\ChannelListner.cfc?
  
  
  
 

   
  
 
 http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffe.html
  
   I haven't used websockets extensively, so I hope I'm not
 getting
   you
 off
   track.
  
  
  
   On Tue, Jan 6, 2015 at 2:00 AM, Parul B 
   parul.sarasw...@gmail.com
  wrote:
  
   
Hi,
   
I recently upgraded to CF 11 and my chat application (which
  uses
Coldfusion websockets and was earlier working great with
 CF10
   and
  Apache)
has now suddenly stopped working. Even a basic handshake
 isn't
  happening.
   
I've already tried disconnecting/reconnecting the CF
  connector.
   
Any pointers in this regard (if anyone has come across this
   issue
  after
upgrading to CF11) would be highly appreciated.
   
   
  
  
 
 


   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion

Re: Moving to Railo

2014-12-28 Thread Russ Michaels

it makes no difference to smarterstats, reading one big log is not harder
than reading 185 separate logs.
Logs will get processed faster in fact.

However running separate sites would makes things better from a web
server/performance and bottleneck perspective as you have less traffic
going through same connector. In the case of IIS, you should put each site
on its own dedicated application pool as well to spread the load and reduce
the potential bottleneck. this helps with Railo as well as the boncode
connector uses asp.net

If all your images are for the same app and are thus the same on every
site, then you should consider using a CDN as well.


On Sun, Dec 28, 2014 at 1:48 PM, Mik Muller ad...@montaguema.net wrote:


 Yes, that was my intention when I hit 100, but got busy. I need to look
 closer at the problem now, though, to see if that would make things faster
 or save memory, and how that matches up against having to re-path every
 page's IMG tag, since every site's file content will now be pushed out one
 folder, ie;

 Currently

 [site root]/images/happyface.jpg

 ... would be moved to...

 [site root]/[siteid]/images/happyface.jpg

 That, and the fact that each site's logs would be pulled into a single log
 folder, forcing SmarterStarts to work harder.

 I started the move last night and will complete it over the next few days.

 Thanks,

 Mik



 At 05:16 PM 12/23/2014, Jochem van Dieten wrote:

  I will be hosting only my own websites, about 210 so far, broken down
 into
  four CF applications, ie; there are 185 sites running one application;
 10
  running another, etc.  I also have about a dozen static HTML sites, so
 I'll
  need IIS on the box.
 
 
 It is a long time ago I worked with IIS and if you are already set on that
 I have no advice for you, but why so many sites? Why not attach 185 HTTP
 hostnames to one site?
 
 --
 Jochem van Dieten
 http://jochem.vandieten.net/

 
 Michael Muller
 Admin, MontagueMA.net Website
 ...a project of MontagueWebWorks.com
 (413) 320-5336
 http://www.MontagueMA.net

 Eschew Obfuscation





 

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


Re: Moving to Railo

2014-12-24 Thread Russ Michaels

the installer is straight forward, if you just want a bog standard install,
then that is all you need to do.
The only tweak you may need is to increase the JVM memory as it is only
256MB by default, which you do via the tomcat service manager on the java
tab.

You should also lock down the railo server admin, instructions here:
http://www.michaels.me.uk/post.cfm/locking-down-railo-admin-on-windows-iis

If you use any SES URL's such as index.cfm/somehting/somehting/darkside
Then you may want to read this:
http://www.michaels.me.uk/post.cfm/mangoblog-on-railo
ignore the fact that it is specific to ManageBlog, the content applies to
any kind of URL like that


On Tue, Dec 23, 2014 at 8:49 PM, Mik Muller ad...@montaguema.net wrote:


 Hey all,

 I'm moving my server to a new company who does not offer CF licenses on a
 monthly basis, though they do have some CF experience. The server they
 offered me was too good to pass up*, so I'm going for it.

 I've been using CF9, and rather than buy a new CF license outright (ouch),
 I thought I'd look into Railo, and am looking to the community for advice.

 Anyone here using Railo and have recommendations in terms of installation
 and configuration?  I've been to GetRailo.org and com and find the
 documentation to be a little paltry, especially regarding the installation
 and the best configuration for various situations.

 I will be hosting only my own websites, about 210 so far, broken down into
 four CF applications, ie; there are 185 sites running one application; 10
 running another, etc.  I also have about a dozen static HTML sites, so I'll
 need IIS on the box.

 I've written a manager app for two of the applications to create the IIS
 instance, the folders, the database, the DSN, and the DNS. My guess is I'll
 have to add some code to support the Railo architecture... or maybe not. In
 either case, most new websites, and soon all of them, will be created on my
 server by one of these manager apps.

 Any advice would be appreciated.

 Thanks,

 Mik


 * Two Hex-Core processors, 192GB RAM, 1.8TB SAS RAID5 HD



 
 Michael Muller
 Admin, MontagueMA.net Website
 ...a project of MontagueWebWorks.com
 (413) 320-5336
 http://www.MontagueMA.net

 Eschew Obfuscation





 

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


Re: Bcrypt.class error

2014-12-20 Thread Russ Michaels

Do you have all the cf10 updates installed?
Always worth ruling that out first.


On Fri, Dec 19, 2014 at 19:26 PM, Dean Lawrence dean...@gmail.com wrote:


Well, this ended up not working, as it failed again first thing this
morning. I tried re-initing my app and it still did threw the error. What
also found out though, was that instead of rebooting CF, I could get it to
work by renaming the webservice CFC, making a call to the webservice (which
generated and error) and then renaming the CFC back to the original name.
After I did this, the app was able to authenticate again.

So this tells me that the CFC is cached somewhere, but I do not know where.
I tried emptying both the template and component caches from the CF admin,
but this did not resolve the issue. Does anyone know how/where CF would be
caching this and how to programmatically refresh it?

On Thu, Dec 18, 2014 at 2:52 PM, Russ Michaels r...@michaels.me.uk
javascript:; wrote:


 that is a pretty generic error, but as it only happens after a while you
 might solve the problem by caching your object in application scope so it
 doesn;t have to be instan tiated every time.

 application.bcrypt = CreateObject(java, BCrypt);

 obviously check that it exists before creating it , or you are just doing
 the same thing.



--

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* d...@idatatech.com javascript:;
  Programming | Database | Consulting | Training




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


Re: Bcrypt.class error

2014-12-18 Thread Russ Michaels

that is a pretty generic error, but as it only happens after a while you
might solve the problem by caching your object in application scope so it
doesn;t have to be instan tiated every time.

application.bcrypt = CreateObject(java, BCrypt);

obviously check that it exists before creating it , or you are just doing
the same thing.

On Thu, Dec 18, 2014 at 7:36 PM, Dean Lawrence dean...@gmail.com wrote:


 I am using the java bcrypt class library to encrypt passwords on one of my
 sites and it is working fine. However, I am extending the app with a
 webservice and using the same bcrypt library to authenticate logins. This
 works fine for a period of time and then stops working.

 The error that I receive is An exception occurred when executing method
 checkpw.. The error detail is The cause of this exception was that:
 java.lang.NullPointerException.. Even when I start to receive this error,
 I am still able to make the exact same call from within a CF template
 without a problem. But being called from the webservice, I get the error. I
 have tried reinitializing the app to no avail. The only way that I have
 been able to fix the issue is by rebooting CF. I am using ACF 10 and here
 is the code that I am using to call bcrypt.

 component  displayname=Consumer API output=false wsversion=2
 namespace=http://mydomain/;
 {
 variables.bcrypt = CreateObject(java, BCrypt);

 remote struct function authenticate() returnformat=JSON {
 var results = {};
 var memberEmail = ;
 var password = ;
 var token = ;

 results.status = 0;
 results.message = Invalid email or password;

 if (isSOAPRequest()){
 try
 {
 memberEmail = getSOAPRequestHeader(http://mydomain/;,
 memberEmail);
 password = getSOAPRequestHeader(http://mydomain/;,
 password);

 if (isValid(email,memberEmail)){
 Member = entityLoad(Member,{email=memberEmail},true);

 if (NOT isNull(Member)){
 if
 (bcrypt.checkpw(lcase(password),Member.getMemberPassword())){
 results.message = Successfully Authenticated;
 token =
 variables.utility.formStringEncrypt(Member.getMemberID());
 addSOAPResponseHeader(http://mydomain/;,
 token, token, false);
 results.status = 1;
 results.message = Member authenticated;
 } else {
 addSOAPResponseHeader(http://mydomain/;,
 token, token, false);
 }
 } else {
 addSOAPResponseHeader(http://mydomain/;, token,
 token, false);
 }
 } else {
 addSOAPResponseHeader(http://mydomain/;, token,
 token, false);
 }
 }
 catch(Any e)
 {
 results.message = Error processing request.;
 sendError(e);
 }
 } else {
 results.message = Not invoked as a web service;
 }

 return results;
 }
 }

 Any help would be greatly appreciated.

 --

   [image: profile picture]  *Dean Lawrence*
 *President*
 Internet Data Technology
 *Phone:* 888-438-4381 x701
 *Web:* www.idatatech.com
 *Email:* d...@idatatech.com
   Programming | Database | Consulting | Training


 

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


Re: CF11 mail issue

2014-12-17 Thread Russ Michaels

are you use a FQDN for the mail server? if so, try using the IP address
instead and see if that helps. Might be some weird dns caching issue.

On Wed, Dec 17, 2014 at 6:14 AM, Gonzo Rock gonzor...@gmail.com wrote:


 Pressing on I coded up a simple template to send a simple email using
 cfmail ... it's the first user added cfm on the server.

 Executing it I got this for an error in the mail.log file.

 Error,scheduler-1,12/16/14,20:17:08,,javax.mail.AuthenticationFailedException:
 535 No SMTP server defined. Use real server address instead of 127.0.0.1 in
 your account. 

 And this error in the exception.log file

 Error,scheduler-1,12/16/14,20:17:08,,javax.mail.AuthenticationFailedException:
 535 No SMTP server defined. Use real server address instead of 127.0.0.1 in
 your account. 
 javax.mail.AuthenticationFailedException: 535 No SMTP server defined. Use
 real server address instead of 127.0.0.1 in your account.
 at

 com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:826)

   ...etc etc.

 wtf?

 So I look in the neo-mail.xml file and it looks correct... has all the
 expected server id info etc. So I reconfirm the same by looking with the
 CFadmin tool.

 So I use CFAdmin and clear out the cfmail settings and confirm by looking
 at the neo-mail.xml file again.

 Next I add code to the simple template, this time adding in Server=
 smtp-server.ca.rr.com username=user password=pass etc...

 I get the same errors as above.

 So I restart the cfserver.

 And again I get the same errors as above.

 Kerflummoxed.

 On Tue, Dec 16, 2014 at 5:50 PM, Gonzo Rock gonzor...@gmail.com wrote:
 
  Good idea... yes... both machines can initiate a telnet connection in
 that
  it gets to the opening prompt, Welcome to Road Runner... and waits for
  instructions. I type QUIT and the session terminates.
 
  On Tue, Dec 16, 2014 at 5:10 PM, Russ Michaels r...@michaels.me.uk
  wrote:
 
 
  can you telnet into the mail server on port 25 from the cf11 machine ?
 
  On Wed, Dec 17, 2014 at 12:11 AM, Gonzo Rock gonzor...@gmail.com
 wrote:
  
  
   I am setting up a new CF11 server on my network. Have a CF7 running
   currently too. I am having trouble getting the CF11 server to verify a
  mail
   server connection. These are the details:
  
   CF7 is on Win2003 and using: username:pass@mailserver on port 25 for
   CFMail
  
   CF11 is on Win2008 and using the 3 text boxes to define the username,
  pass
   and mailserver on port 25.
  
   CF7 verifies the email server connection and always has. CF11 won't.
  
   Both are on the same network... one at 10.0.0.20 and the other at
  10.0.0.30
   talking to a router at 10.0.0.1 to get outside the lan.
  
   Both machines can traceroute to the mailserver without issue
   Both machines can browse the web
  
   I reinstalled CF in the developer mode thinking something was locking
 it
   up.
   Next I thought it was windows firewall on the CF11 install but turning
  it
   completely off across all three areas, domain, private and public
  doesn't
   help.
  
   Google has not been my friend... just finding the obvious expected
   suggestions.
   Now that I have shot two days doing this I'm not clear on what to try
  next.
   Ideas anyone?
   Thanks,
   Gonzo
  
  
  
 
 

 

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


Re: CF11 mail issue

2014-12-16 Thread Russ Michaels

can you telnet into the mail server on port 25 from the cf11 machine ?

On Wed, Dec 17, 2014 at 12:11 AM, Gonzo Rock gonzor...@gmail.com wrote:


 I am setting up a new CF11 server on my network. Have a CF7 running
 currently too. I am having trouble getting the CF11 server to verify a mail
 server connection. These are the details:

 CF7 is on Win2003 and using: username:pass@mailserver on port 25 for
 CFMail

 CF11 is on Win2008 and using the 3 text boxes to define the username, pass
 and mailserver on port 25.

 CF7 verifies the email server connection and always has. CF11 won't.

 Both are on the same network... one at 10.0.0.20 and the other at 10.0.0.30
 talking to a router at 10.0.0.1 to get outside the lan.

 Both machines can traceroute to the mailserver without issue
 Both machines can browse the web

 I reinstalled CF in the developer mode thinking something was locking it
 up.
 Next I thought it was windows firewall on the CF11 install but turning it
 completely off across all three areas, domain, private and public doesn't
 help.

 Google has not been my friend... just finding the obvious expected
 suggestions.
 Now that I have shot two days doing this I'm not clear on what to try next.
 Ideas anyone?
 Thanks,
 Gonzo


 

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


Re: postParametersLimit in CF11

2014-12-12 Thread Russ Michaels

well you can put it in perspective, the default asp.net setting is 5000,
which is obviously a lot higher than CF's 100
you are probably going to be safe putting it up higher, but you should tell
your client to make sure they have something in place to stop that form
being abused and DOS'ed

On Fri, Dec 12, 2014 at 4:11 PM, Chris 0404tow...@gmail.com wrote:


 Nathan, Russ, thanks for the comments.

 The application with all the post parameters definitely needs a rewrite.
 Our involvement is only in hosting it. The current owners want it to run
 ... and we have to justify why the settings should or should not be
 modified sigh.

 best regards,
 Chris


 On Thu, Dec 11, 2014 at 4:08 PM, Russ Michaels r...@michaels.me.uk
 wrote:
 
 
  Also you need to consider why this limit exits.
  What would happen if your form with 2000 fields was dos attacked for
  example, have you tested it under load?
  If I wanted to take someone's site down, a form like That would be an
 easy
  target.
 
 
  On Thu, Dec 11, 2014 at 18:36 PM, Nathan Strutz str...@gmail.com
 wrote:
 
 
  I'm sorry that I don't have an answer to your question or a solution to
  your problem, but I just have to ask, is it possible that your
 application
  just needs to adapt to what is a fairly standard security practice across
  the industry? It sounds like one of those jokes that ends in just
 because
  you can, it doesn't mean you should. What is this process that forces
 you
  to submit over one thousand form fields in one POST? Perhaps you can
  serialize it into one big string that's parsed out on the server? You say
  it's for importing a spreadsheet - couldn't you import the whole
  spreadsheet file and use cfspreadsheet to do individual fields? I have
  trouble believing a user can even see 1000 items on a single page - did
 you
  set up the whole spreadsheet as a grid with form fields like a1, a2, b1,
  b2? Can you piecemeal it and send partials via ajax, live, as the user
  updates them?
 
  You don't really have to answer, as interesting as it may be, but maybe
 you
  can ask these questions internally and find some better kind of
  architecture to solve the problem. Good luck!
 
  On Thu Dec 11 2014 at 12:31:18 PM Chris 0404tow...@gmail.com
  javascript:;
  wrote:
 
  
   Hi, we see the postParametersLimit (post request parameters) in CF11 is
   100, the same as in CF9. This is from the CF11 Lockdown Guide.
  
   Can anyone confirm the default limit is 100? That seems low, but
 perhaps
   Adobe did not change the hash methods or hash collision resolution
  methods.
  
  
   We set postParametersLimit to 1,100 for CF9, and now have an
 application
   that wants 2,000! This is for regularly importing spreadsheets into a
   database :-(
  
   thank you,
  
   Chris
  
  
  
 
 
 
 

 

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


Re: Creating columns that aren't included in a query result

2014-12-11 Thread Russ Michaels

there are many browser plugins where you can take screenshots and post
online and send a link. Why not use one of those ?


On Thu, Dec 11, 2014 at 3:13 PM, Torrent Girl moniqueb...@gmail.com wrote:


 Steve now my output is off. How do I handle that?

 (I wish I could attach images to my posts)




 Your task shouldn't be to handle values that were not returned from the
 query. You need to think of a way to make sure they are returned. You
 should be able to accomplish that by using case statements in your query.
 Syntax may vary depending on your database, but should be something like
 this (assume you db field is called response):
 
 Sum(case response = 'agree' then 1 else 0 end) as agree,
 Sum(case response = 'disagree' then 1 else 0 end) as disagree,
 Sum(case response = 'strongly agree' then 1 else 0) as strongly_agree
 
 And so on for each possible value. Your resultset will then contain a
 total
 for each possible value, and a 0 if a value wasn't found at all.
 
 
 
 

 

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


Re: postParametersLimit in CF11

2014-12-11 Thread Russ Michaels

Also you need to consider why this limit exits.
What would happen if your form with 2000 fields was dos attacked for
example, have you tested it under load?
If I wanted to take someone's site down, a form like That would be an easy
target.


On Thu, Dec 11, 2014 at 18:36 PM, Nathan Strutz str...@gmail.com wrote:


I'm sorry that I don't have an answer to your question or a solution to
your problem, but I just have to ask, is it possible that your application
just needs to adapt to what is a fairly standard security practice across
the industry? It sounds like one of those jokes that ends in just because
you can, it doesn't mean you should. What is this process that forces you
to submit over one thousand form fields in one POST? Perhaps you can
serialize it into one big string that's parsed out on the server? You say
it's for importing a spreadsheet - couldn't you import the whole
spreadsheet file and use cfspreadsheet to do individual fields? I have
trouble believing a user can even see 1000 items on a single page - did you
set up the whole spreadsheet as a grid with form fields like a1, a2, b1,
b2? Can you piecemeal it and send partials via ajax, live, as the user
updates them?

You don't really have to answer, as interesting as it may be, but maybe you
can ask these questions internally and find some better kind of
architecture to solve the problem. Good luck!

On Thu Dec 11 2014 at 12:31:18 PM Chris 0404tow...@gmail.com javascript:;
wrote:


 Hi, we see the postParametersLimit (post request parameters) in CF11 is
 100, the same as in CF9. This is from the CF11 Lockdown Guide.

 Can anyone confirm the default limit is 100? That seems low, but perhaps
 Adobe did not change the hash methods or hash collision resolution
methods.


 We set postParametersLimit to 1,100 for CF9, and now have an application
 that wants 2,000! This is for regularly importing spreadsheets into a
 database :-(

 thank you,

 Chris






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


Re: cfmail causing problems for our server

2014-12-10 Thread Russ Michaels

if it is just bulk SMTP you need then www.mandrill.com allows 12,000 per
month for free.
For something more advanced try www.sendgrid.com, they also offer an API
which allows you to send emails without using CFMAIL or SMTP which has its
benefits.

If you want an actual mailing list manager then mailchimp.com


On Wed, Dec 10, 2014 at 6:23 PM, Dave Long d...@northgoods.com wrote:


 My customer's site allows interested visitors to subscribe to intermittent
 e-mail notifications regarding his annual event. My hosting provider tells
 me that use of cfmail to contact his 5,000+ mailing list is triggering
 blacklisting when we use it to notify subscribers of event changes and
 additions. He (the hosting provider) insists we use a third party e-mail
 service instead.

 Can anyone recommended such a service that can be trusted not to resell the
 DB?

 Thank you.

 Dave Long
 NorthGoods Merchant Services




 

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


Re: CF 11 Admin Panel

2014-12-10 Thread Russ Michaels

the lockdown guide is not perfect and in my experience just following the
guide exactly does cause problems, so you do need to really know what you
are doing on the server with permissions to cover the bits it doesn't tell
you.

I do not follow it myself, I have my own process, so I cannot tell you
exactly where it fails. The best bet would be to test CF after each step
and see which one is buggering it up for you.

The bare minimum  bits you MUST do is


   1. run CF under a separate user account which only has access to the
   folders that CF needs access to. So CF itself, the folder where the
   websites are store, OS temp folders, the temp folder of the user under
   which CF is now running (windows only requires this I think)
   2. make sure the internal cf web server is not enabled
   3. lock down the cfadmin so that it is not publicly accessible from any
   website.
   Personally I do this by using IP address restrictions so the entire
   default website where cfadmin resides is only accessible via localhost and
   via our secure VPN.
   4. make a copy of the CFIDE with only the files that your site requires
   and use this for the Vdir. Ideally you should avoid using any CF features
   that require the CFIDE anyway, as they all pretty much suck and you will
   not find many in the community who wont say the same. So this is any of the
   UI tags, flash forms, CFFORM tags etc, there are better alternatives.
   Avoiding the CFIDE will also most likely make your site Railo compatible
   too.
   5.


On Wed, Dec 10, 2014 at 3:30 PM, Steve LaBadie slaba...@po-box.esu.edu
wrote:


 Thanks for the link Russ

 After I did the install I went ahead and did the updates and it crash CF.
 I had to uninstall and re-install. Any ideas or advice?

 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edu



 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Tuesday, December 09, 2014 9:27 AM
 To: cf-talk
 Subject: Re: CF 11 Admin Panel



 http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf11/cf11-lockdown-guide.pdf


 On Tue, Dec 9, 2014 at 1:24 PM, Steve LaBadie slaba...@po-box.esu.edu
 wrote:

 
  We have just come out of the dark ages from a Window 2003 server with
  CF
  MX7 to Windows 2012 R2 with CF11 standard. I just completed the
  install and want to know if someone could point me in the right direct
  for best practices for setting up the Admin Panel.
 
  Steve LaBadie, Web Manager
  East Stroudsburg University
  570-422-3999
  slaba...@esu.edumailto:slaba...@esu.edu
 
  [facebook-16x16]http://www.facebook.com/eaststroudsburguniversity
  [twitter-16x16] http://twitter.com/esuniversity   [youtube-16x16] 
  http://www.youtube.com/user/esuedu
 
 
 
 



 

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


Re: Creating columns that aren't included in a query result

2014-12-10 Thread Russ Michaels

why do you need the 2nd loop rather than simply outputting the value of the
query column from the main loop?

On Thu, Dec 11, 2014 at 12:02 AM, Torrent Girl moniqueb...@gmail.com
wrote:


 I am hoping I can explain this correctly.

 I have a table which houses responses to a survey.

 The columns can have any of the following values:

 Agree,Disagree,Neither Agree nor Disagree,Strongly Agree,Strongly Disagree

 I have a table with the headers equal to all of the values above.

 I have a 2nd row that loops through the query and adds a cell in the row
 for each value:

 EX: td#query.value#/td

 Here is my problem:

 There are times when not all of the values exists, so I don't have enough
 of the dynamic cells in the row. EX: I have a header called Agree but the
 value agree is not returned from the query so it messes up the row.

 My question is how can I create a fake column from the query OR create
 an empty cell in the row if a value doesn't exist?

 NOTE: The values don't exist so I can test for existence if that makes
 sense.

 Thanks in advance.


 

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


Re: Creating columns that aren't included in a query result

2014-12-10 Thread Russ Michaels

can you show us the actualy query, as a query shouldn't return nothing, it
should return 0 if the count is 0
The only instance where you should get nothing is if there are no rows of
data returned

On Thu, Dec 11, 2014 at 12:23 AM, Torrent Girl moniqueb...@gmail.com
wrote:


 Not quite. The value returned in a COUNT of the number of each response
 (sorry I should have said that earlier.

 So, it no one answered disagree it is not returned, but in the loop I
 want it represented as 0.




 If I understand correctly
 
 Select response1 from [table]
 
 The resulting Query can equal 'response1' == 'Agree' or 'Disagree' or
 'Neither Agree nor Disagree' or 'Strongly Agree' or 'Strongly Disagree'
 
 Then you loop over the results from the query and (I am guessing here) you
 want to place an 'X' in the box under the correct header?
 
 Simplest I can think of would be
 
 cfoutput query=[qname]
tr
cfswitch expression=#[qname].response1#
cfcase value=Agree
tdX/tdtd/tdtd/tdtd/tdtd/td
/cfcase
cfcase value=Disagree
td/tdtdX/tdtd/tdtd/tdtd/td
/cfcase
cfcase value=Neither Agree nor Disagree
td/tdtd/tdtdX/tdtd/tdtd/td
/cfcase
cfcase value=Strongly Agree
td/tdtd/tdtd/tdtdX/tdtd/td
/cfcase
cfcase value=Strongly Disagree
td/tdtd/tdtd/tdtd/tdtdX/td
/cfcase
/cfswitch
/tr
 /cfoutput
 
 
 --
 William Seiter
 
 I am hoping I can explain this correctly.
 
 I have a table which houses responses to a survey.
 
 The columns can have any of the following values:
 
 Agree,Disagree,Neither Agree nor Disagree,Strongly Agree,Strongly Disagree
 
 I have a table with the headers equal to all of the values above.
 
 I have a 2nd row that loops through the query and adds a cell in the row
 for
 each value:
 
 EX: td#query.value#/td
 
 Here is my problem:
 
 There are times when not all of the values exists, so I don't have enough
 of
 the dynamic cells in the row. EX: I have a header called Agree but the
 value agree is not returned from the query so it messes up the row.
 
 My question is how can I create a fake column from the query OR create
 an
 empty cell in the row if a value doesn't exist?
 
 NOTE: The values don't exist so I can test for existence if that makes
 sense.
 
 Thanks in advance.

 

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


Re: CF 11 Admin Panel

2014-12-09 Thread Russ Michaels

http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf11/cf11-lockdown-guide.pdf


On Tue, Dec 9, 2014 at 1:24 PM, Steve LaBadie slaba...@po-box.esu.edu
wrote:


 We have just come out of the dark ages from a Window 2003 server with CF
 MX7 to Windows 2012 R2 with CF11 standard. I just completed the install and
 want to know if someone could point me in the right direct for best
 practices for setting up the Admin Panel.

 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edumailto:slaba...@esu.edu

 [facebook-16x16]http://www.facebook.com/eaststroudsburguniversity
 [twitter-16x16] http://twitter.com/esuniversity   [youtube-16x16] 
 http://www.youtube.com/user/esuedu



 

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


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Russ Michaels

no, you install FR onto your Railo or CF server, and it integrates with it
by installing an FR JAR file.
If you follow the manual installation instructions you will get a better
idea how it works,

On Tue, Dec 2, 2014 at 5:25 AM, Don danfar...@hotmail.com wrote:


 There is absolutely no restrictions whatsoever on where FR can be
 installed, it would be pretty useless if that was the case, you can
 install
 it on any supported OS, FR does not know or care what you are using that
 machine for.

 So how does that work then? You point FR to a domain? i thought it needed
 more a intimate connection with the server its introspecting.

 

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


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Russ Michaels

FR is indeed meant to run on a production server, and I was not saying
otherwise.
But you can also install it on dev to help you with the debugging and load
testing as well.

I think you are incorrectly assuming that FusionReactor is a debugging and
load testing tool, which is not the case. FR is basically a monitor app for
CF, it doesn't just fix stuff by itself, other than killing requests which
hang around too long.
to clarify by debugging I mean as in the cf debugger
by load testing I mean tools such as these
http://carehart.org/cf411/#loadtest


On Tue, Dec 2, 2014 at 6:52 PM, Money Pit websitema...@gmail.com wrote:


 Russ Michaels wrote:
  doing debugging and load testing on a live production server is generally
 a
  bad idea.

 On general principles, sure... although I'd say that a diagnostic reporter
 like F-R belongs first and foremost on a production box.

 To the OP... it sounds like you are stuck, so how good is your error
 reporting?  Assuming errors are being thrown at all (you said the server
 slowed which doesn't necessarily mean its erroring) are you capturing them
 for review?  If not you should put something in to troll and see what comes
 up.  Maybe something unexpected is hanging up threads?

 If error trapping is out, what about timing the execution of pages and
 seeing who the hogs are?

 variables.CFMstart=gettickcount();
 ... stuff ...
 variables.CFMTook=int(gettickcount()-variables.CFMstart);

 Put start in Application, stop in OnRequestEnd and output to a very small
 db record that also includes, say, cgi.script_name and cgi.query_string.
 Leave it up for an hour or three and see what it finds.

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


 

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


Re: how to diagnose a potential bottleneck

2014-12-01 Thread Russ Michaels

doing debugging and load testing on a live production server is generally a
bad idea.
You are meant to do this in a dev or staging environment, usually you do
this before going live to emulate production environment and traffic and to
find any issues
There is absolutely no restrictions whatsoever on where FR can be
installed, it would be pretty useless if that was the case, you can install
it on any supported OS, FR does not know or care what you are using that
machine for.






On Mon, Dec 1, 2014 at 9:56 PM, Money Pit websitema...@gmail.com wrote:


 Russ Michaels wrote:

  You don't do it on the host, you do it locally

 Huh?  The F-R installs I have are installed directly on the CF server.  I
 am aware of the Enterprise Edition's ability to monitor multiple servers
 but haven't explored it.  Don't see anything on this in a quick scan of the
 site and docs.

 To the OP:  I too would *strongly* recommend use of Fusion-Reactor,
 although if on a shared host another site can trash you at any time and all
 the diagnostics in the world won't help you.  Perhaps your first move
 should be getting off a shared platform and moving to an inexpensive CF VPS
 like whats at Viviotech.

 --Matt--


 

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


Re: how to diagnose a potential bottleneck

2014-11-28 Thread Russ Michaels

You don't do it on the host, you do it locally


On Fri, Nov 28, 2014 at 18:01 PM, Don danfar...@hotmail.com wrote:


I suggest installing fusionReactor and monitoring your local cfserver.
Run some performance/load testing on the app and see what happens, it
should you what pages are having issues
Run cfdebugger on those pages

Russ, on our host installing this is not possible right now.

is there anything else you can recommend doing? the issue at present seems
random



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


Re: how to diagnose a potential bottleneck

2014-11-27 Thread Russ Michaels

I suggest installing fusionReactor and monitoring your local cfserver.
Run some performance/load testing on the app and see what happens, it
should you what pages are having issues
Run cfdebugger on those pages

On Fri, Nov 28, 2014 at 2:03 AM, Don danfar...@hotmail.com wrote:


 Got this custom e-commerce app that is basically going down daily.

 Seems to run fine again upon server restart, but eventually it goes down
 to a crawl.

 This started happening after some patches to Coldfusion 11 were
 implemented. Host says it was rolled back, but problems are persisting.

 I'm seeing a lot use of CFINVOKE accross the application.

 Does anyone have any ideas on where I could start looking at this issue?

 

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


Re: Work Around for SSLv3 Vulnerability?

2014-11-19 Thread Russ Michaels

if you are on a shared server then it would be an issue for others who are
using SOLR, which would then require the host to roll back to 1.6, which
would then cause your problem again.
Judging by the fact that you said you had to convince them to do this, I
assume it is a shared server, otherwise you would have been free to do it
yourself had it been your own server.
Thus why I am suggesting you check this rather than just dismiss it because
it doesn't affect you, as when on a shared server you have to consider
everyone.


On Wed, Nov 19, 2014 at 12:24 AM, Michael Grant mgr...@modus.bz wrote:


 Hi Russ, I don't use SOLR so this isn't an issue for my use case.


 On Tue, Nov 18, 2014 at 11:57 AM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  did you check if SOLR still works after the upgrade ?
 
 
  On Tue, Nov 18, 2014 at 3:00 PM, Michael Grant mgr...@modus.bz wrote:
 
  
   I finally have an update here. After much back and forth and having to
   REALLY make a case for why I was able to convince Newtek to update
 their
  CF
   servers to run Java 1.7 instead of 1.6. This had an immediate positive
   result and the SSL handshake was able to proceed properly with TLS.
  
   Thanks to all that helped.
  
   Mike
  
   On Sat, Nov 1, 2014 at 3:42 PM, Michael Grant mgr...@modus.bz wrote:
  
   
Just a heads up to everyone, I'm still waiting to hear back from
 Newtek
about whether they've reimported the certs and CA cert again. Once I
  have
some news I'll post back. Thanks again everyone for your guidance.
   
   
  
  
 
 

 

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


Re: Work Around for SSLv3 Vulnerability?

2014-11-19 Thread Russ Michaels

no I haven't seen it, I even emailed Adobe about it directly and got no
reply

On Wed, Nov 19, 2014 at 9:49 PM, Michael Grant mgr...@modus.bz wrote:


 I appreciate your feedback Russ. Thank you. From what I've read there does
 seem to be a fix to the broken SOLR collections. Have you seen this?

 On Wed, Nov 19, 2014 at 10:20 AM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  if you are on a shared server then it would be an issue for others who
 are
  using SOLR, which would then require the host to roll back to 1.6, which
  would then cause your problem again.
  Judging by the fact that you said you had to convince them to do this, I
  assume it is a shared server, otherwise you would have been free to do it
  yourself had it been your own server.
  Thus why I am suggesting you check this rather than just dismiss it
 because
  it doesn't affect you, as when on a shared server you have to consider
  everyone.
 
 
  On Wed, Nov 19, 2014 at 12:24 AM, Michael Grant mgr...@modus.bz wrote:
 
  
   Hi Russ, I don't use SOLR so this isn't an issue for my use case.
  
  
   On Tue, Nov 18, 2014 at 11:57 AM, Russ Michaels r...@michaels.me.uk
   wrote:
  
   
did you check if SOLR still works after the upgrade ?
   
   
On Tue, Nov 18, 2014 at 3:00 PM, Michael Grant mgr...@modus.bz
  wrote:
   

 I finally have an update here. After much back and forth and having
  to
 REALLY make a case for why I was able to convince Newtek to update
   their
CF
 servers to run Java 1.7 instead of 1.6. This had an immediate
  positive
 result and the SSL handshake was able to proceed properly with TLS.

 Thanks to all that helped.

 Mike

 On Sat, Nov 1, 2014 at 3:42 PM, Michael Grant mgr...@modus.bz
  wrote:

 
  Just a heads up to everyone, I'm still waiting to hear back from
   Newtek
  about whether they've reimported the certs and CA cert again.
 Once
  I
have
  some news I'll post back. Thanks again everyone for your
 guidance.
 
 


   
   
  
  
 
 

 

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


Re: Work Around for SSLv3 Vulnerability?

2014-11-19 Thread Russ Michaels

were on CF9

On Thu, Nov 20, 2014 at 12:16 AM, Wil Genovese jugg...@trunkful.com wrote:


 This is the Adobe bug report about Solr breaking with Java 1.7.0_51 and
 higher when sandboxes are enabled. This was just fixed in Update 14 for
 CF10.




 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com

 wilg...@trunkful.com
 www.trunkful.com

 On Nov 19, 2014, at 4:28 PM, Russ Michaels r...@michaels.me.uk wrote:

 
  no I haven't seen it, I even emailed Adobe about it directly and got no
  reply
 
  On Wed, Nov 19, 2014 at 9:49 PM, Michael Grant mgr...@modus.bz wrote:
 
 
  I appreciate your feedback Russ. Thank you. From what I've read there
 does
  seem to be a fix to the broken SOLR collections. Have you seen this?
 
  On Wed, Nov 19, 2014 at 10:20 AM, Russ Michaels r...@michaels.me.uk
  wrote:
 
 
  if you are on a shared server then it would be an issue for others who
  are
  using SOLR, which would then require the host to roll back to 1.6,
 which
  would then cause your problem again.
  Judging by the fact that you said you had to convince them to do this,
 I
  assume it is a shared server, otherwise you would have been free to do
 it
  yourself had it been your own server.
  Thus why I am suggesting you check this rather than just dismiss it
  because
  it doesn't affect you, as when on a shared server you have to consider
  everyone.
 
 
  On Wed, Nov 19, 2014 at 12:24 AM, Michael Grant mgr...@modus.bz
 wrote:
 
 
  Hi Russ, I don't use SOLR so this isn't an issue for my use case.
 
 
  On Tue, Nov 18, 2014 at 11:57 AM, Russ Michaels r...@michaels.me.uk
  wrote:
 
 
  did you check if SOLR still works after the upgrade ?
 
 
  On Tue, Nov 18, 2014 at 3:00 PM, Michael Grant mgr...@modus.bz
  wrote:
 
 
  I finally have an update here. After much back and forth and having
  to
  REALLY make a case for why I was able to convince Newtek to update
  their
  CF
  servers to run Java 1.7 instead of 1.6. This had an immediate
  positive
  result and the SSL handshake was able to proceed properly with TLS.
 
  Thanks to all that helped.
 
  Mike
 
  On Sat, Nov 1, 2014 at 3:42 PM, Michael Grant mgr...@modus.bz
  wrote:
 
 
  Just a heads up to everyone, I'm still waiting to hear back from
  Newtek
  about whether they've reimported the certs and CA cert again.
  Once
  I
  have
  some news I'll post back. Thanks again everyone for your
  guidance.
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

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


Re: Work Around for SSLv3 Vulnerability?

2014-11-18 Thread Russ Michaels

did you check if SOLR still works after the upgrade ?


On Tue, Nov 18, 2014 at 3:00 PM, Michael Grant mgr...@modus.bz wrote:


 I finally have an update here. After much back and forth and having to
 REALLY make a case for why I was able to convince Newtek to update their CF
 servers to run Java 1.7 instead of 1.6. This had an immediate positive
 result and the SSL handshake was able to proceed properly with TLS.

 Thanks to all that helped.

 Mike

 On Sat, Nov 1, 2014 at 3:42 PM, Michael Grant mgr...@modus.bz wrote:

 
  Just a heads up to everyone, I'm still waiting to hear back from Newtek
  about whether they've reimported the certs and CA cert again. Once I have
  some news I'll post back. Thanks again everyone for your guidance.
 
 

 

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


Re: Sending SMS

2014-11-18 Thread Russ Michaels

You can do this with most any sms service, they all provide an API. I use
clickatel, very simple api, can be called with a simple http post or get.


On Tue, Nov 18, 2014 at 23:50 PM, Rick Sanders r...@webenergy.ca wrote:


Thanks Bryan,

So it's like online payment. You need a gateway then a payment processor.

-Original Message-
From: Bryan Stevenson [mailto:br...@electricedgesystems.com javascript:;]
Sent: Tuesday, November 18, 2014 7:32 PM
To: cf-talk
Subject: Re: Sending SMS


Hey Rick,

I'd say the answer depends on your situation.

A big determining factor is what carrier are the folks on that you would be
sending to?  I ask because if only one carrier you can go low cost and
failry easy.

If multiple carriers, you may want to consider using an SMS aggregator as
they know how to connect and send SMS messages through all the various
carrier networks (for a fee per text message - those fees vary wildly
depending on the various APIs you have to choose from).  I use Clickatel
for SMS aggregation services in the state of Maryland and I think we are
talking pennies per text (you load account with credits and they get
consumed - can notify as you get low etc).

Once you have the carrier details sorted, then it's HOW you send (there is
an SMS gateway in CF, but you can also just call APIs with say Clickatel
using their HTTP API (one of 3-5 they offer). SOme APIs are meant fo super
high volume - some for lowsome offer different feautures.

So there is a simple primer to aid in some core decision making - I'll keep
an eye on this thread - ask away! ;-)

Take care

-Bryan

*Bryan Stevenson*B.Comm.
President  CEO
Electric Edge Systems Group Inc. - makers of FACTS^(TM)
phone: 250.480.0642
cell: 250.920.8830
e-mail: br...@electricedgesystems.com javascript:; mailto:
br...@electricedgesystems.com javascript:;
web: www.electricedgesystems.com http://www.electricedgesystems.com
and www.fisheryfacts.com http://www.fisheryfacts.com




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


Re: scheduled task save output to a network share

2014-11-12 Thread Russ Michaels

Are you still running cf under the system account? If so then this is why,
and is also insecure.
You need to run cf as a user who has access to the network share.
If you are still running an out of the box install then you should also
follow the lock down guide.


On Wed, Nov 12, 2014 at 9:15 AM, marc -- i...@marcbakker.com wrote:


Hello,

ColdFusion 10,286680 running on a Windows 2012R2 machine.
I want to create a Scheduled Task. The output should be saved to a file on
a network share. The network share is accessible via  Windows explorer:
either using the UNC notation (\\network_share) or via a mapping (F:).

When I enable the option Publish on the Server Settings  Add/Edit
Scheduled Task page the UNC path in the field File is not accepted. Also
using the mapped drive F: is not accepted. Submitting the form gives this
error

“If you want to publish the result of this task, you must use an existing,
valid directory name.”

Using the “Browse Server” button does not give me the directory  - just
drives: A,C and Z. Only C gives access to the C: drive. Clicking the other
two driveletters do nothing.

Is Coldfusion unable to save the result of a scheduled task to a network
share?



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


Re: Is time for a change?

2014-11-11 Thread Russ Michaels

you are using 2 EOL products there which are no longer supported or
updated, CF7 and SQL 2000
Windows Server 2003 is EOL in about 7 months, so you will not get any
updates for that either beyond that date.
If you are hosting this off your ADSL, then that presumably means no
firewall other than the one on the ADSL router.

I'm sorry to inform you that that your server is most definitely
vulnerable, it took me just a few seconds to find your ColdFusion admin,
and just a few more minutes to hack it.
Go look in your ColdFusion  data sources and you will see a a new data
source I just created with a message for you. Hopefully this will prove a
point and show you that you have been lucky until now.
I am not a hacker, so if I can do it this easily, imagine what a real
hacker would do. It is sheer luck that you didn't get hacked already, which
is because it hosts only 3 small low traffic clients,  so no hacker has
come across it so far.

You will be lucky to find any host offering such old EOL software, and
anyone who is still offering that will be putting all the risk and onus on
you regarding security as they would not be able to support such a setup.
I very much doubt you have anything on those old sites that wont run on
Railo though, in fact it will more likely run on Railo than it will on
CF10/11
Your SQL 2000 databases will work fine on SQL Server 2008 or 2012 express
edition which is free.
So the only real cost to you is the VPS itself, which you should get with
Windows server 2012, which will also be free from many hosts



On Tue, Nov 11, 2014 at 3:28 PM, Jenny Gavin-Wear 
jenn...@fasttrackonline.co.uk wrote:


 I'd be interested to know which route you decide to take.

 I stopped taking on new clients about 2 years ago.  I now look after only 3
 and their bandwidth requirements are small.  They've all been with me for a
 very long time and do produce a useful bit of income.

 My setup now is a windows 2003 server with CF7 / SQL 2000.  Old, I know,
 but
 it works and there has been nothing of use to me in the upgrades, certainly
 nothing to make it worth me paying the crazy upgrade costs.  The server
 sits
 in my garage on a business broadband line, not ideal, I know this,
 especially as my garage has been converted into a headshot studio for my
 photography business!

 I don't have time for the major hassle of porting my sites from CF7 to
 whatever CF is on now.  I also integrating one of the sites quite heavily
 into my SmarterMail server, such as automated generation of mail list
 members and I pull the contents of one of the mail lists into an archive
 made available on the website.

 Ideally I'd like to get everything shifted to a VPS, but would I be able to
 run these old applications?  And where could I get an inexpensive yet
 reliable service?

 I'd appreciate any ideas, please.

 -Original Message-
 From: Rick Eidson [mailto:cfh...@kchost.net]
 Sent: 08 November 2014 01:48
 To: cf-talk
 Subject: RE: Is time for a change?


 Oh I know all about the email hosting.. .Before I moved to Hostek I had a
 T1
 line into my basement. Did all my own hosting, I had 2 server cabinets with
 all Dells...(I still have them) pretty good setup. I started my company
 with
 that and then the T1 became outdated and very expensive.  I used ArgoSoft
 Mail Server, actually really liked it but the SPAM and Blacklist were a
 nightmare. But back then my company was bigger with closer to 100
 domains/clients. I formed a partnership with another person who pretty much
 screwed me over. We split up the company (lost a lot of clients in the
 breakup) and I formed Eidson Empire, LLC. and moved to Hostek for my
 provider.

 I still not sure what I am going to do.. I think the VPS will be more than
 I
 can afford right now. Maybe if I land about 10 more clients I can justify
 it.

 Rick



 

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


Re: IIS 8.5 truncating file download

2014-11-10 Thread Russ Michaels

Try setting the maxAllowedContentLength in your web.config


On Mon, Nov 10, 2014 at 2:44 AM, John Blayter jblay...@gmail.com wrote:


Yes there is a mismatch on the Content-Length variable. I tried setting it
manually without any luck.

cfset variables.temporaryFilePath = C:\inetpub\wwwroot\MyPDF.pdf
cfheader name=Content-Length
value=#getFileInfo(variables.temporaryFilePath).size#/
cfheader name=X-Content-Length
value=#getFileInfo(variables.temporaryFilePath).size#/

There are no entries in the Output Caching at the global or website level

I would check the response headers for any hints, you may be getting a
mismatch with the expected content length.
Also, take a look at this setting in IIS and see if disabling it helps:
http://screencast.com/t/H03SiWuabri
If so, then you may just need to tweak the value.







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


Re: Scheduled Tasks Error

2014-11-10 Thread Russ Michaels

is this a new feature in CF10/11 to install the tasks in DB ?

On Mon, Nov 10, 2014 at 1:37 PM, Byron Mann byronos...@gmail.com wrote:


 I've seen this before when the CF service suddenly terminates. Could be the
 service terminated during an update to the xml file rendering it empty. A
 subsequent restart of CF may have created a backup of the xml file before
 stopping, rendering the bak file empty as well.

 We moved to clustered configuration for scheduled tasks which keeps all the
 tasks in a database instead of a file. This has been really nice, since we
 have 12 instance running for all our internals.

 I think the only issue we have seen is the next run time not being updated
 appropriately. I believe this has only happened once or twice in a few
 years.

 ~Byron



 On Mon, Nov 10, 2014 at 8:26 AM, John M Bliss bliss.j...@gmail.com
 wrote:

 
  Only by restoring from backup. No clue as to root-cause / preventing it
  from happening again.
 
  On Sun, Nov 9, 2014 at 6:37 PM, Sebastian Powell bas...@gmail.com
 wrote:
 
  
   [crickets]  :-)
   
   
   
   
   
   
   
   --
   John Bliss - http://www.linkedin.com/in/jbliss
  
   I am experiencing the same issue on CF 11,  neo-cron.xml all the
   scedheuled task vanished. and its an empty file.  Did you manage to
  resolve
   this?
  
  
 
 

 

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


Re: Scheduled Tasks Error

2014-11-10 Thread Russ Michaels

cool, it was about time.
I haven't really bothered with CF since  CF9 since I use Railo for
everything now.

On Mon, Nov 10, 2014 at 2:11 PM, Byron Mann byronos...@gmail.com wrote:


 This was a new feature implemented in CF10.  There were a ton of
 improvements to scheduling for that release.


 http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d31851899e53a51353e870493-8000.html

 On Mon, Nov 10, 2014 at 9:08 AM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  is this a new feature in CF10/11 to install the tasks in DB ?
 
  On Mon, Nov 10, 2014 at 1:37 PM, Byron Mann byronos...@gmail.com
 wrote:
 
  
   I've seen this before when the CF service suddenly terminates. Could be
  the
   service terminated during an update to the xml file rendering it
 empty. A
   subsequent restart of CF may have created a backup of the xml file
 before
   stopping, rendering the bak file empty as well.
  
   We moved to clustered configuration for scheduled tasks which keeps all
  the
   tasks in a database instead of a file. This has been really nice, since
  we
   have 12 instance running for all our internals.
  
   I think the only issue we have seen is the next run time not being
  updated
   appropriately. I believe this has only happened once or twice in a few
   years.
  
   ~Byron
  
  
  
   On Mon, Nov 10, 2014 at 8:26 AM, John M Bliss bliss.j...@gmail.com
   wrote:
  
   
Only by restoring from backup. No clue as to root-cause / preventing
 it
from happening again.
   
On Sun, Nov 9, 2014 at 6:37 PM, Sebastian Powell bas...@gmail.com
   wrote:
   

 [crickets]  :-)
 
 
 
 
 
 
 
 --
 John Bliss - http://www.linkedin.com/in/jbliss

 I am experiencing the same issue on CF 11,  neo-cron.xml all the
 scedheuled task vanished. and its an empty file.  Did you manage to
resolve
 this?


   
   
  
  
 
 

 

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


Re: Redirects

2014-11-10 Thread Russ Michaels

Is there a specific reason you are not using url rewrite?


On Mon, Nov 10, 2014 at 21:17 PM, Steve LaBadie slaba...@po-box.esu.edu
wrote:


The Unix box (www) is going away and the www4 (windows box) will be renamed
www. I need to  be able to recreate the directory without making a mess out
of the new server directory structure. I thought about creating a www
folder and putting all of the redirects/forwards in it. Is this possible?

Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
slaba...@esu.edu javascript:;




-Original Message-
From: Jon Clausen [mailto:jon_clau...@silowebworks.com javascript:;]
Sent: Monday, November 10, 2014 4:04 PM
To: cf-talk
Subject: Re: Redirects


Then use the Linux mod_rewrite redirect below on the current www box and
you should be good to go.  Since you've got Linux on www, you could also
install NGINX (which makes a great HTTP proxy server) or use Apache to
proxy traffic to ww4 while maintaining the www in the URL.  You'll need
to enable some IIS settings to allow for proxying and set a www handler
on that machine, but once you do, that's pretty much it.

Apache Example with mod_proxy:

Location /
ProxyPass http://www4.esu.edu
ProxyPassReverse http://www4.esu.edu
SetEnv force-proxy-request-1.0 1
Order allow,deny
Allow from all
/Location

NGINX proxy example:

server {
listen   80;
server_name  esu.edu www.esu.edu;
access_log  /var/log/nginx/esu.edu.access.log  main;

location / {
proxy_pass http://www4.esu.edu:80;
include /etc/nginx/proxy.conf;
}
}


Jon


On Nov 10, 2014, at 3:54 PM, Steve LaBadie slaba...@po-box.esu.edu
javascript:; wrote:


 www4 is a windows box

 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edu javascript:;




 -Original Message-
 From: Jon Clausen [mailto:jon_clau...@silowebworks.com javascript:;]
 Sent: Monday, November 10, 2014 3:54 PM
 To: cf-talk
 Subject: Re: Redirects


 Is the current www4 a Linux or Windows machine?  I would suggest
handling those at the web server level, with a 303 status code to let the
search engines know the redirect is temporary, rather than through the
application - with the exception of perhaps some dynamic redirects that
need to be changed on-the-fly.  Much more efficiently handled at the web
server level.

 Linux redirect to ww4 example:

 RewriteCond %{HTTP_HOST} ^www\.esu\.edu [NC] RewriteRule ^(.*)
http://ww4.esu.edu$1 [L,R=307]


 Windows IIS web.config redirect example:

 rule name=Redirect www2www4 temp stopProcessing=true
   match url=^(.*)$ ignoreCase=false /
   conditions logicalGrouping=MatchAll
   add input={HTTP_HOST} pattern=^(.*\.)www\.esu\.edu$
ignoreCase=true negate=true /
   /conditions
   action type=Redirect url=http://ww4.esu.edu/{R:1};
redirectType=Temporary / /rule

 HTH,
 Jon



 On Nov 10, 2014, at 3:39 PM, Steve LaBadie slaba...@po-box.esu.edu
javascript:; wrote:


 We are currently using a meta date redirect from a UNIX box. The
redirects currently sit on www and the production server sit at www4. We
are taking down www so the redirects have to be recreated on our new
production server which will be taking www.

 Current redirect structure:
 HTML
 BODY
 META HTTP-EQUIV=REFRESH
 CONTENT=1;URL=http://www4.esu.edu/about/offices/police/index.cfm;
 /BODY
 /HTML

 When the user types in www.esu.edu/policehttp://www.esu.edu/police it
takes you to the correct page. We use this format to avoid long URLs on
marketing pieces.

 Can someone give me directions for best practices using CF. The new
production server currently runs CF9 but looking to upgrade to CF11.


 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edu javascript:;mailto:slaba...@esu.edu javascript:;

 [facebook-16x16]http://www.facebook.com/eaststroudsburguniversity
[twitter-16x16] http://twitter.com/esuniversity   [youtube-16x16] 
http://www.youtube.com/user/esuedu













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


Re: Redirects

2014-11-10 Thread Russ Michaels

I would suggest doing so now then as it is a more efficient solution than
using meta refresh tags.


On Mon, Nov 10, 2014 at 21:22 PM, Steve LaBadie slaba...@po-box.esu.edu
wrote:


I didn't give it any thought.

Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
slaba...@esu.edu javascript:;




-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk javascript:;]
Sent: Monday, November 10, 2014 4:21 PM
To: cf-talk
Subject: Re: Redirects


Is there a specific reason you are not using url rewrite?


On Mon, Nov 10, 2014 at 21:17 PM, Steve LaBadie slaba...@po-box.esu.edu
javascript:;
wrote:


The Unix box (www) is going away and the www4 (windows box) will be renamed
www. I need to  be able to recreate the directory without making a mess out
of the new server directory structure. I thought about creating a www
folder and putting all of the redirects/forwards in it. Is this possible?

Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
slaba...@esu.edu javascript:; javascript:;




-Original Message-
From: Jon Clausen [mailto:jon_clau...@silowebworks.com javascript:;
javascript:;]
Sent: Monday, November 10, 2014 4:04 PM
To: cf-talk
Subject: Re: Redirects


Then use the Linux mod_rewrite redirect below on the current www box and
you should be good to go.  Since you've got Linux on www, you could also
install NGINX (which makes a great HTTP proxy server) or use Apache to
proxy traffic to ww4 while maintaining the www in the URL.  You'll need
to enable some IIS settings to allow for proxying and set a www handler
on that machine, but once you do, that's pretty much it.

Apache Example with mod_proxy:

Location /
ProxyPass http://www4.esu.edu
ProxyPassReverse http://www4.esu.edu
SetEnv force-proxy-request-1.0 1
Order allow,deny
Allow from all
/Location

NGINX proxy example:

server {
listen   80;
server_name  esu.edu www.esu.edu;
access_log  /var/log/nginx/esu.edu.access.log  main;

location / {
proxy_pass http://www4.esu.edu:80;
include /etc/nginx/proxy.conf;
}
}


Jon


On Nov 10, 2014, at 3:54 PM, Steve LaBadie slaba...@po-box.esu.edu
javascript:; javascript:; wrote:


 www4 is a windows box

 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edu javascript:; javascript:;




 -Original Message-
 From: Jon Clausen [mailto:jon_clau...@silowebworks.com javascript:;
javascript:;]
 Sent: Monday, November 10, 2014 3:54 PM
 To: cf-talk
 Subject: Re: Redirects


 Is the current www4 a Linux or Windows machine?  I would suggest
handling those at the web server level, with a 303 status code to let the
search engines know the redirect is temporary, rather than through the
application - with the exception of perhaps some dynamic redirects that
need to be changed on-the-fly.  Much more efficiently handled at the web
server level.

 Linux redirect to ww4 example:

 RewriteCond %{HTTP_HOST} ^www\.esu\.edu [NC] RewriteRule ^(.*)
http://ww4.esu.edu$1 [L,R=307]


 Windows IIS web.config redirect example:

 rule name=Redirect www2www4 temp stopProcessing=true
   match url=^(.*)$ ignoreCase=false /
   conditions logicalGrouping=MatchAll
   add input={HTTP_HOST} pattern=^(.*\.)www\.esu\.edu$
ignoreCase=true negate=true /
   /conditions
   action type=Redirect url=http://ww4.esu.edu/{R:1};
redirectType=Temporary / /rule

 HTH,
 Jon



 On Nov 10, 2014, at 3:39 PM, Steve LaBadie slaba...@po-box.esu.edu
javascript:;
javascript:; wrote:


 We are currently using a meta date redirect from a UNIX box. The
redirects currently sit on www and the production server sit at www4. We
are taking down www so the redirects have to be recreated on our new
production server which will be taking www.

 Current redirect structure:
 HTML
 BODY
 META HTTP-EQUIV=REFRESH
 CONTENT=1;URL=http://www4.esu.edu/about/offices/police/index.cfm;
 /BODY
 /HTML

 When the user types in www.esu.edu/policehttp://www.esu.edu/police
 it
takes you to the correct page. We use this format to avoid long URLs on
marketing pieces.

 Can someone give me directions for best practices using CF. The new
production server currently runs CF9 but looking to upgrade to CF11.


 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edu javascript:; javascript:;mailto:slaba...@esu.edu
javascript:;
 javascript:;

 [facebook-16x16]http://www.facebook.com/eaststroudsburguniversity
[twitter-16x16] http://twitter.com/esuniversity   [youtube-16x16] 
http://www.youtube.com/user/esuedu

















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

Re: IIS 8.5 truncating file download

2014-11-09 Thread Russ Michaels

I would check the response headers for any hints, you may be getting a
mismatch with the expected content length.
Also, take a look at this setting in IIS and see if disabling it helps:
http://screencast.com/t/H03SiWuabri
If so, then you may just need to tweak the value.

On Sun, Nov 9, 2014 at 5:17 PM, John Blayter jblay...@gmail.com wrote:


 I am doing a server migration to IIS 8.5 and CF10 and having some issues
 delivering PDF files. I tried the code using the built in web server and it
 works without issue so I know the issue is in IIS somewhere. Basically what
 happens is it truncates the PDF file to the first 749 bytes. I have
 disabled the compression in IIS and still having issues.

 cfheader name=Content-Disposition value=attachment;filename=MyPDF.pdf
 cfcontent type=application/pdf reset=yes
 file=C:\inetpub\wwwroot\MyPDF deleteFile=no

 

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


Re: Scheduled Tasks Error

2014-11-09 Thread Russ Michaels

if you just restore that file from your backups, then everything should be
good again :-)

On Sun, Nov 9, 2014 at 11:37 PM, Sebastian Powell bas...@gmail.com wrote:


 [crickets]  :-)
 
 
 
 
 
 
 
 --
 John Bliss - http://www.linkedin.com/in/jbliss

 I am experiencing the same issue on CF 11,  neo-cron.xml all the
 scedheuled task vanished. and its an empty file.  Did you manage to resolve
 this?

 

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


Re: Is time for a change?

2014-11-07 Thread Russ Michaels

what often happens is that some clients will have a couple of issues and
will suddenly forget how many years of GREAT service they have had and
threaten to leave at the drop of hat.
So if you have been happen with them till now, then at least talk to them
about your issues.

You did not mention whether you have dedicated or shared hosting.
If you have shared hosting, then please take the time to read this:
http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not-suited-to-shared-hosting
These problems are likely even worse with CF10 and 11

If you have dedicated hosting then you probably just need some expert fine
tuning, if you are not able to do it yourself, then ask your host, or try
an external resource such as www.carehart.org, or there are people here
that could assist you performance tuning your server.
I can certainly help you with Windows servers.



On Fri, Nov 7, 2014 at 7:28 PM, Eric Roberts 
ow...@threeravensconsulting.com wrote:


 I have been using them for several years with a number of clients and
 haven't had any issues.

 -Original Message-
 From: Rick Eidson [mailto:cfh...@kchost.net]
 Sent: Friday, November 07, 2014 1:16 PM
 To: cf-talk
 Subject: Is time for a change?


 Anyone using Hostek?  I have been with them for. well a long time.  But in
 the last year it seems there have been more problems than ever.  I really
 hate the idea of moving all my clients but I am wondering if in the long
 run
 will I be better off.



 Any thoughts?



 Rick






 

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


Re: Is time for a change?

2014-11-07 Thread Russ Michaels

Ideally you need 1 VPs for each service, web db and mail, plus you would
need a smartermail license, unless hostek are a bundle provider in which
case you can get a free 250 user license with the VPS.
Running a mail server is way more work than people realise though, it is
not just keeping it running, it is deal with spam, spoofing, back scatter,
black listing, spf and domain key issues and more.
One alternative is to use zohomail which is free for basic service.
At the end of the day shared hosting is like going to the $1 store in
comparison, so you get what you pay for.



On Sat, Nov 8, 2014 at 0:26 AM, Rick Eidson cfh...@kchost.net wrote:


Lots of great responses... Like I said I really hate the idea of moving. The
VPS sounds interesting and I believe Hostek offers that as well as
dedicated.

I have a pretty large SQL Server database with them now for my largest
client and its probably going to grow. I only have about 25 domains 1 of
them is on a Linux server the rest are all Windows CF servers. I am also
getting ready to add another one.

I guess I can check into it and see what cost would be... the last thing I
need to do is increase my overhead. Right now I am paying Hostek about
$130/m for just the basic CF hosting for the 25 domains not counting the
adons and database cost.

I would also want to make the transition as seamless as
possible...preferably my clients know nothing about the move.

Does VPS handle everything? MSSQL Database, SmarterMail or just the websites
with Coldfusion?

I guess a lot of these questions I should be asking Hostek...


Rick

-Original Message-
From: Money Pit [mailto:websitema...@gmail.com javascript:;]
Sent: Friday, November 07, 2014 6:02 PM
To: cf-talk
Subject: Re: Is time for a change?


Could not agree more with Russ' comments on CF hosting in his blog.  I'll
never go back to shared hosting.  I've got a couple of Viviotech VPS' that
I'm pretty happy with.  One runs my personal stuff and old web site from
when I was a developer.  Another runs about 30 low-traffic sites that work
with my business.  A VPS is a great step up if you aren't ready to take the
plunge and pay for a full-on server.  Insofar as full-on servers are
concerned, nothing can match the hardware that you get at Cybercon, but then
again you are also expected to pretty much be self-sufficient, there.

Think about doing a VPS instead of shared hosting.  Just for starters you
get to keep all the hosting fees.






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


Re: cfqueryparam EncodeForHTML

2014-11-04 Thread Russ Michaels

what you really need is a Web Application Firewall which will clean all
form and url params and strip out anything dodgy.
There are plenty of generic web server WAF's, or if you want a CF specific
solution then try FuseGuard.


On Tue, Nov 4, 2014 at 5:26 PM,  wrote:


  Like querying malicious data and using it in another
 cfquery without cfqueryparam.

 As an extra safety feature, if your application does not use multiSQL
 statements at all, and depending on the type of database engine used, you
 could also streatly deactivate the multi statement facility.
 If you're using an Access database, you don't even have to deactivate it:
 there is NO multi statement facility.


 

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


Re: Work Around for SSLv3 Vulnerability?

2014-10-31 Thread Russ Michaels

if upgrading to Java 7 solves the issue, do also note that this also breaks
SOLR on CF9, or rather CF can no longer communicate with SOLR, so none of
your colelctions will be accessible.
I have contacted Adobe about this, but as usual no response, and with CF9
EOL pending I doubt they ever will.

On Fri, Oct 31, 2014 at 2:52 PM, Pete Freitag p...@foundeo.com wrote:


 The SSL handshake handled by the JVM (though there might be some config
 that takes place in the CF engine, not sure), Java 6 supports only TLS 1.0,
 java 7 adds support for TLS 1.1 and 1.2. The actual crypto parts of it is
 handled by the JCE (java cryptography engine) which if you are running
 Enterprise is RSA Bafe CryptoJ.

 That other thing that comes into play is the SSL cipher suite support, so
 it is possible that the JVM and the server cant' find a protocol and cipher
 suite that they both support.

 There are also some JVM arguments you can use to tell the JVM which
 protocols to use, here is the reference doc for Java7:

 http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html#Customization
 you might try setting -Dhttps.protocols=TLSv1 not sure if that will help, I
 think the CF engine *may* overrides the property (in some versions of CF).



 --
 Pete Freitag - Adobe Community Professional
 http://foundeo.com/ - ColdFusion Consulting  Products
 http://hackmycf.com - Is your ColdFusion Server Secure?
 http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10
 minutes


 On Thu, Oct 30, 2014 at 9:07 PM, Michael Grant mgr...@modus.bz wrote:

 
  I'll try that with them, thank you SO much.
 
 

 

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


Re: Alternative to shared SMTP server

2014-10-30 Thread Russ Michaels

We use and recommend send grid


On Thu, Oct 30, 2014 at 8:22 AM, Kevin Parker tras...@internode.on.net
wrote:


Has anyone had any experience using Send Grid (or even something else) with
CF - just looking for other options for a site rather than using the shared
mail server.


++
Kevin Parker

++





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


Re: Alternative to shared SMTP server

2014-10-30 Thread Russ Michaels

Send grid et al does have a lot of useful extra features you won't get from
a plain smtp server so depends what you need.
The bounce tracking and reporting is very handy.


On Thu, Oct 30, 2014 at 13:11 PM, Byron Mann byronos...@gmail.com wrote:


You could also do something like a small linux EC2 instance and run Postfix
which based on your data transfer would probably be free as well.

http://aws.amazon.com/free/

I think with Amazon SES you can send something like 2000 emails per day at
no cost.

~Byron




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


Re: Adobe is just a spammer now

2014-10-23 Thread Russ Michaels

its not just Adobe, Java does this as well with their never ending daily
updates.
Sometimes there has been no option to NOT install the other crapware it
wants to put on my computer. It almost seems as though they intentionally
exclude the opt out option because they know people are so used to having
to install this update they will just click through without thinking about
it, which I have done a couple of times.

On Thu, Oct 23, 2014 at 10:55 PM, Mike K afpwebwo...@gmail.com wrote:


 Jenny, thank you for your contribution.  I hate to disagree with you, but
 since I knew the flash installer was going to try to force McAfee on me as
 it did last time  (and really made a mess of my Norton - I had to reinstall
 that too as a result), I was looking for the checkbox or button so I could
 decline to install it. .

 And it didnt appear.   I had no choice to not install McAfee.

 I think there are different versions of the installer,  or it offers the
 choice in some circumstances and not in others.But i DID NOT have the
 choice to decline installing McAfee.





 On Fri, Oct 24, 2014 at 1:42 AM, Jenny Gavin-Wear 
 jenn...@fasttrackonline.co.uk wrote:

 
  Yes you were.  It's just not very obvious.  It's in the middle of the top
  area of the screen.
 
  Regardless, it should default to unclicked.  I wrote to Adobe about this
  and
  got a prompt reply promising a change.  No change made, no change
 accepted.
  But when have Adobe ever listened to user feedback?
 
  -Original Message-
  From: Mike K [mailto:afpwebwo...@gmail.com]
  Sent: 18 October 2014 21:08
  To: cf-talk
  Subject: Re: Adobe is just a spammer now
 
 
  You can say whatever you like, Eric but i was given NO OPPORTUNITY TO
  DESELECT the installation of the McAfee product which I definitely DO NOT
  WANT.
 
  I downloaded the flash installer,   then ran the installer,  and it went
  right ahead and installed two items - the flash player and then without
  pause the McAfee crap.
 
  Because of the treatment I received from McAfee a few years back, I
  resolved
  never EVER to do business with McAfee again, and so it's doubly bad that
  Adobe force it on me.
 
 
  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 Sun, Oct 19, 2014 at 3:51 AM, Eric Roberts 
  ow...@threeravensconsulting.com wrote:
 
  
   Yes...you can deselect it...it is a detestable practice that should
   default to not checked rather than checked.
  
   --
 
 
 
 
 

 

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


Re: Urgent issue

2014-10-22 Thread Russ Michaels

Have you checked the connectors have been setup properly?
Have you tried internal web server
Have you check runtime logs
Etc


On Wed, Oct 22, 2014 at 7:59 AM, Sathyanarayanan Ramanathan 
sathya0...@gmail.com wrote:


Dear Phillip,

It is a windows server machine. Now I checked the CF log and it shows CF is
started. But I am not even able to see CF admin page also.

Regards,
Sathya

On Wed, Oct 22, 2014 at 10:53 AM, Sathyanarayanan Ramanathan 
sathya0...@gmail.com javascript:; wrote:

 Now it's showing as Coldfusion service as started. But still I am not able
 to view CF administrator or site.  I am confused.

 Sathya
 On 22 Oct 2014 10:44, Phillip Vector vec...@mostdeadlygame.com
javascript:; wrote:


 If you are running it on a non-windows machine, I would google search
that
 code.

 If it's windows, I would review the system event log.

 On Tue, Oct 21, 2014 at 11:29 PM, Sathyanarayanan Ramanathan 
 sathya0...@gmail.com javascript:; wrote:

 
  Dear All,
 
  Suddenly my Production site is down.
 
  I am getting the below message.
 
  Windows could not start the ColdFusion 9 Application Server on Local
  Computer. For more information, review the System Event Log. If this is
 a
  non-Microsoft service, contact the service vendor, and refer to
  service-specific error code 2
 
  Can anyone please help me on this issue.
 
  Thanks for your time  help.
 
  Regards,
  Sathya
 
 
 





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


Re: IIS 6 suddenly returning connection reset message

2014-10-22 Thread Russ Michaels

It could be your application pool, is it running?
Try creating a new one and set site to use that.


On Wed, Oct 22, 2014 at 0:01 AM, Michael Dinowitz 
mdino...@houseoffusion.com wrote:


I've got an old IIS6 box with CF and iMS on it and all of a sudden the
webserver starts returning The connection was reset messages and refuses
to run any pages. I've seen this before and anytime that it comes up there
is nothing I can do to get IIS working again.
Has anyone seen this and if so, has a solution been found?

Thanks




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


Re: Ruby Gems

2014-10-13 Thread Russ Michaels

I have installed Ruby using Web Platform Installer and not had any issues
with CF.


On Mon, Oct 13, 2014 at 10:26 PM, Richard Steele r...@photoeye.com wrote:


 Hi Dave, All we want to use Ruby for is to compile SASS into CSS for use
 with Zurb Foundation pages used on our Coldfusion websites. Can this be
 done using the same IIS? If not, what is the problem that occurs? Thanks.

 

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


Re: Writing an Apache 404 Handler in CF

2014-10-10 Thread Russ Michaels

Wouldn't url rewriting be better for this?


On Fri, Oct 10, 2014 at 20:46 PM, Robert Glover sled...@gmail.com wrote:


This is as much an Apache question as it is a CF question; I hope this is
acceptable.  I posted it to Serverfault  several days ago and haven't
gotten any response, and it's become a rather critical issue.

-

I've written a custom 404 handler for Apache. The handler looks at the
incoming URL (cgi.request_url), queries a database table, and responds by
redirecting the visitor to the new URL. What should happen:

www.mysite.co.uk gets redirected to www.mysite.com

That much works fine. But when we get to more complex urls:

www.mysite.co.uk/contact.aspx should go to www.mysite.com/contact/

Something (Apache?) is stripping out the contact.aspx portion of it so I
can't tell where to send the user. In fact, what's happening instead is
contact.aspx is replaced with index.cfm (the name of the 404 handler). No
other variables returned in the CGI scope contain the contact.aspx part of
the url.

Of course, we have the domain to be redirected pointed at this server via
DNS, and configured in Apache, since the simple versions of the URL work
fine.

Is there a configuration setting or something to get it to stop stripping
out the rest of the url? Thanks!

Rob



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


Re: CF11 Licensing - 2 servers behind load balancer

2014-10-09 Thread Russ Michaels

that would only apply if you are using professional edition, or each VM
exceeds their number of cpu cores/speed on enterprise license.

if you have enterprise and your 2 vm's are within the license restrictions,
then the person at Adobe who told you that obviously doesn;t understand
their own licensing, which is proof enough that it is crap and confusing.


On Thu, Oct 9, 2014 at 7:10 PM, Bobby bo...@acoderslife.com wrote:


 That零 not what Adobe is telling us. They want a license per virtual
 machine, not per host.


 On 10/2/14, 3:22 PM, Russ Michaels r...@michaels.me.uk wrote:

 
 as they are virtual, if you have enterprise license then you are covered
 as
 long as you are within the CPU/core requirements.
 
 On Thu, Oct 2, 2014 at 8:15 PM, Dan LeGate d...@legeek.com wrote:
 
 
  Okay, if I have a single site, being run on two or more virtual (vmware)
  servers behind a load balancer, does each server need a license?  Or
  does one license cover the site?
 
  Thanks!
 
 
 
 

 

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


Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Russ Michaels

or just get all the email addresses from excel and send them over to a
tored procedure as a list to process in one go.

On Thu, Oct 9, 2014 at 7:22 PM, Dean Lawrence dean...@gmail.com wrote:


 Les,

 I think that it would probably be more efficient if you imported all the
 records into a temp table and then did an insert into the main email table
 based upon a join query that only includes records from the temp table that
 are not in the main email table. You could then do a similar insert into
 the category relationship table, but update the query to use the new id
 value that was created by the insert into the main email table. Both of
 these queries could be included in a single stored procedure and executed
 with a single request from ColdFusion.

 On Thu, Oct 9, 2014 at 12:30 PM, Les Mizzell lesm...@bellsouth.net
 wrote:

 
  I've got an application that imports email list from Excel sheets.
  Mostly working fine, but I've got one spot where I'd like to optimize
  things if I could.
 
  Once the data is imported I run two queries against each email address:
  1. see if the email address is already in the group in question
  2. see if this person has already unsubscribed from this list ---
 
  If both of those return no records, and I've already run some other
  validation making sure entered info is valid, I add everything to an
 array:
 
  cfset mailREC[CurrentRow][1] = email /
  cfset mailREC[CurrentRow][2] = fname /
  cfset mailREC[CurrentRow][3] = lname /
  cfset mailREC[CurrentRow][4] = other /
 
  Now the problem ...
  I need to do two inserts
 - first to enter the info into the email database
 - second to capture the ID from the first insert, and put that into a
  relational table that assigns that address to the specified group.
  I removed cfqueryparam from the below to make it more compact...
 
  So, I loop through my array and enter all the records..
 
  loop..
 cfquery name=insertEMAIL
   SET NOCOUNT ON
. remainder of insert code
   SET NOCOUNT OFF
   SELECT @@IDENTITY AS fromLISTID
   /cfquery
 
 cfquery name=insertGROUP 
 INSERT INTO nl_catREL ( groups_id, email_id )
  VALUES ( #req.thisGROUPID#, #insertLIST.fromLISTID# )
  /cfquery
  /loop..
 
  The problem is, some of these spreadsheets and have up to 5,000 or more
  email addresses.
  That means, just for the insert, two queries for each address = 10,000
  queries.
  If it was just one insert query, no big deal, as I could loop inside the
  query tag itself and reduce it to one call. It's the two combined that
  are giving me a headache. The application IS working the way it is, but
  shove a 15,000 email list into it, and it obviously chokes.
 
  Is there a better way to set up my two insert queries above so it's not
  making two calls for every single address?
 
 
 
 

 

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


  1   2   3   4   5   6   7   8   9   10   >