Re: Apache and ColdFusion Trouble

2009-05-05 Thread Tom Chiverton
On Tuesday 05 May 2009, Jason Slack wrote: I stopped apache and changed jrun.xml to use port 80 and I am broken again. You set JRun to listen on port 80, the same port as Apache ? That's not going to work :-) Everything i do it CF and cgi, so do I even need apache? JRun can't run CGI's, but

steve.lichtenberg has invited you to Spokeo

2009-05-05 Thread steve . lichtenberg
Hi cf-talk,br/br/ steve.lichtenb...@gmail.com has invited you to try Spokeo, which finds your friends' updates across the Web. Your friends are already using Spokeo to follow you on Web Results. Try Spokeo today to find what your friends are doing across 30 different social networks! Click

Re: Apache and ColdFusion Trouble

2009-05-05 Thread Steven Erat - Webapper Services
On Tue, May 5, 2009 at 6:06 AM, Tom Chiverton tom.chiver...@halliwells.comwrote: On Tuesday 05 May 2009, Jason Slack wrote: if I could get CF on port 80 would this nor work using the built-in web-server? Certainly - JRun is a full-on J2EE application server. The built-in JRun

Embedded colour profile killing server

2009-05-05 Thread Adrian Lynch
I'm trying to work on an image with CF8. Doing a simple ImageRead() on one particular image causes the server to restart. This is happening on two servers which I'm told have more than enough memory. The image is 372KB, so nothing to worry about there. When I open it up in GIMP, I get asked

Server just.... stops?

2009-05-05 Thread Justin Scott
We have an occasional issue with CF where the server just stops responding at random times and the CF application service has to be stopped and restarted. We're on CF 8.0.1 on Windows 2003 Server. Pretty standard setup. All of the logs show everything normal, then the next entries are server

RE: Server just.... stops?

2009-05-05 Thread Adrian Lynch
Got the same thing happening to us but we know what's causing it, damned images! Do you know what's being run just before it dies? Adrian -Original Message- From: Justin Scott [mailto:jscott-li...@gravityfree.com] Sent: 05 May 2009 15:54 To: cf-talk Subject: Server just stops?

Re: Apache and ColdFusion Trouble

2009-05-05 Thread Jason Slack
Hi Tom, Anyone available to ssh in and fix? As is everyone I am a bit strapped and trying to get this worming to launch my LLC live, but I can afford something... -Jason On Tuesday 05 May 2009, Jason Slack wrote: I stopped apache and changed jrun.xml to use port 80 and I am broken

RE: Server just.... stops?

2009-05-05 Thread Justin Scott
Got the same thing happening to us but we know what's causing it, damned images! Do you know what's being run just before it dies? No, unfortunately. The servers in question have a single application running on them with the same code base, so no active development or anyone doing testing,

Re: steve.lichtenberg has invited you to Spokeo

2009-05-05 Thread Michael Dinowitz
Please do not send general social networking requests to the lists. If there is someone you want to connect with, let them know directly. General requests like this can be lost on your specific target. Thanks -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) President: House of Fusion

Re: Session variable wierdness

2009-05-05 Thread Michael Reick
Argh. keep forgetting to kill my default signature before sending to this list and then wondering why my post never appears. Ben, Great info on that page. Whilst I'm not dealing with framesets, I'm dealing with included cfm templates that do some a/v conversion (i.e. take a while), so I'm

Getting a count from a group in cfquery

2009-05-05 Thread Les Mizzell
What I'm trying to get: cfoutput query=thisLOG group=groupID / #thisCOUNT# emails sent on #thisLOG.emailDATE# cfoutput #thisLOG.emailADDRESS#br /cfoutput /cfoutput thisCOUNT above would be the number of emails in a particular group Here's what I want to do in my query - but

(ot) Java Question

2009-05-05 Thread Ciliotta, Mario
Hi all, I have been asked to convert a JAVA/JSP application over to CF and I absolutly lost as to what this section of code is trying to do. The original developer, along with knowledge and documentation of the application are long gone. I am especially confused on this section of code:

Re: Getting a count from a group in cfquery

2009-05-05 Thread Greg Morphis
probably a couple ways to do this.. in Oracle I'd use the over partition by analytic function. SELECT COUNT(groupID) over (partition by groupID) as thisCOUNT, emailID, emailADDRESS, emailDATE, groupID FROM log_email WHERE emailID = cfqueryparam value=#trim(url.emailID)#

RE: Getting a count from a group in cfquery

2009-05-05 Thread Adrian Lynch
You need to include the other columns in your SELECT in your GROUP BY clause. Adrian -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: 05 May 2009 16:56 To: cf-talk Subject: Getting a count from a group in cfquery What I'm trying to get: cfoutput

Re: (ot) Java Question

2009-05-05 Thread Barney Boisvert
Looks like it's converting inStr to XML, doing a quasi-XPath query to pull out the text of the first PRE tag within the BODY tag, and then splitting it into a Java array based on space characters. The regex used for the .split() call is kind of silly, just + would have been sufficient. I don't

Re: Server just.... stops?

2009-05-05 Thread Dan Crouch
So nothing in the log about unresponsive threads where it is hitting the limit and just restarting itself? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Server just.... stops?

2009-05-05 Thread Dan Crouch
We have an occasional issue with CF where the server just stops responding at random times and the CF application service has to be stopped and restarted. We're on CF 8.0.1 on Windows 2003 Server. Pretty standard setup. All of the logs show everything normal, then the next entries are server

RE: (ot) Java Question

2009-05-05 Thread brad
Yeah, Googling XMLPassing doesn't really come up with much. Look in your classpath and see where the XMLPassing class is defined. You may find a link to a project page with some documentation on how it works. Even better would be to find the documentation for what this portion of the program

Re: (ot) Java Question

2009-05-05 Thread James White
Hi all, I have been asked to convert a JAVA/JSP application over to CF and I absolutly lost as to what this section of code is trying to do. The original developer, along with knowledge and documentation of the application are long gone. I am especially confused on this section of

Re: Getting a count from a group in cfquery

2009-05-05 Thread Les Mizzell
Adrian Lynch wrote: You need to include the other columns in your SELECT in your GROUP BY clause. When I do that, the group count is always 1 I'm using a second query right now, but there's got to be a more compact way... -Original Message- From: Les Mizzell

unable to log in via DB auth

2009-05-05 Thread Joe Tseng
I have an app that currently authenticates against an AD and I'm updating it to also look in a database for users as well. My code currently is as follows: cflogin cfif IsDefined(Form.task) and Form.task eq login cfset theusername=#Form.strUsername# cfset

File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
All: A former client just contacted me asking for help. Apparently they are no longer able to upload files to their website via HTML forms. The code was written 6 (?) years ago on CF5/IIS/Win2000 using CFFILE. It used to work (for 5+ years) but all of a sudden does not. They are now

Re: File upload suddenly stops working

2009-05-05 Thread Matt Robertson
A Windows security update would seem to be one of the usual suspects when it comes to mysterious behavioral changes. Just a shot in the dark. I had a blowup today myself on some longstanding code but it was a CFX based issue. -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com

RE: File upload suddenly stops working

2009-05-05 Thread Andy Matthews
I just had an issue with my host the other day that sounds similar. I was trying to login to my CMS, and the action page for the login form blew up. It kept telling me that form.username doesn't exist. When I tried to dump the form scope it was empty...bizarre. It fixed itself in a few hours,

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Andy: This problem has been going for at least several weeks so it doesn't appear as if it's going to fix itself. Another problem is that they apparently haven't had the need to upload something for a (long) while so we don't have any good sense of when the uploads stopped working. We just

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Matt: Have you heard of any security updates that would affect CF5 in this way? -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Matt Robertson wrote: A Windows security update would seem to be one of the usual suspects when it comes to mysterious behavioral changes.

Detect a 301 redirect

2009-05-05 Thread Ian Skinner
Is there any easy way to detect that a page is being served because of a 301 redirect to it? We have reorganized some of our site so we have put 301 redirects in place for old URLs that people may use. But the powers that be do not want a completely silent redirect for users who may be using

Re: Embedded colour profile killing server

2009-05-05 Thread Pete Freitag
Adrian, I haven't seen this issue, but I am curious if you have the CFImage hotfix for CF 8.0.1 installed, maybe that would help? http://kb2.adobe.com/cps/403/kb403411.html -- Pete Freitag http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My Blog Firewall for

RE: Detect a 301 redirect

2009-05-05 Thread Andy Matthews
Well, a 301 redirect sort of means that the original file isn't there any more right. So that should be triggered via your 404 handler. You could intercept at that point and display message, along with the new location. andy -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com]

Re: Detect a 301 redirect

2009-05-05 Thread Ian Skinner
Andy Matthews wrote: Well, a 301 redirect sort of means that the original file isn't there any more right. So that should be triggered via your 404 handler. You could intercept at that point and display message, along with the new location. andy Not quite. We have the 301 redirects in

Re: directorywatcher event gateway...doesn't work for me

2009-05-05 Thread Yuliang Ruan
anyone? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive:

RE: Detect a 301 redirect

2009-05-05 Thread Mosh Teitelbaum
Ian: You could append a URL variable to the redirect URL that indicates the URL the redirect came from. In other words, something like: CFLOCATION URL=newUrl.cfm?oldUrl=oldUrl.cfm STATUSCODE=301 The new page would simply have to check for the oldUrl variable in the URL scope. -- Mosh

Coldfusion 8 localHost, DreamWeaver CS4, CSS Caching problem

2009-05-05 Thread Dawn Sekel
Has anyone else had this problem and solved it? Scenario is this: I have Adobe Creative Suite Standard CS4 installed on my Windows Vista laptop. I also have Coldfusion 8,0,1,195765 Developer edition installed. Then when saving a htm or cfm file in DreamWeaver while also displaying it on

Re: Detect a 301 redirect

2009-05-05 Thread Eric Cobb
Perhaps your users could land on the original page, which displays a message telling them they are being redirected, then after 5 seconds (or whatever) the 301 redirect kicks in and moves them to the new page. This could easily be done with a cfheader/sleep/cflocation combo. Thanks, Eric

Re: Detect a 301 redirect

2009-05-05 Thread Matt Robertson
CF matters aside, isn't anything but a silent, server-side redirect going to do very very bad things to your SEO and existing link placement? -- -...@robertson-- Janitor, The Robertson Team mysecretbase.com ~| Adobe®

Re: File upload suddenly stops working

2009-05-05 Thread Matt Robertson
Matt: Have you heard of any security updates that would affect CF5 in this way? No not at all. I was just throwing out a potential culprit, as in if I haven't changed anything, what could have changed automatically on me? Another potential for change then, is the browser itself. Thats

Re: Detect a 301 redirect

2009-05-05 Thread Ian Skinner
Mosh Teitelbaum wrote: Ian: You could append a URL variable to the redirect URL that indicates the URL the redirect came from. In other words, something like: CFLOCATION URL=newUrl.cfm?oldUrl=oldUrl.cfm STATUSCODE=301 I thought of that idea but I have not got it to work yet. OK, I

Re: Detect a 301 redirect

2009-05-05 Thread Cutter (CFRelated)
Do you know what one of these pages is? Maybe you could do a GetHttpRequestData() call and introspect the headers key of the return struct. Maybe something there will give you what you need. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer

Re: Detect a 301 redirect

2009-05-05 Thread James White
Well, a 301 redirect sort of means that the original file isn't there any more right. So that should be triggered via your 404 handler. You could intercept at that point and display message, along with the new location. andy Is there any easy way to detect that a page is being served because

RE: File upload suddenly stops working

2009-05-05 Thread Al Musella, DPM
It might be the security settings on the disk where the temp file is stored, or in the directory you ultimately save it to. Maybe somebody at the hosting place decided to tighten up security. ~| Adobe® ColdFusion® 8

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Al Musella, DPM wrote: It might be the security settings on the disk where the temp file is stored, or in the directory you ultimately save it to. Maybe somebody at the hosting place decided to tighten up security. Yeah, I mentioned that to the hosting company's tech guys. They checked and

RE: File upload suddenly stops working

2009-05-05 Thread Mosh Teitelbaum
Matt Robertson wrote: No not at all. I was just throwing out a potential culprit, as in if I haven't changed anything, what could have changed automatically on me? The problem here is that more than just some patches has changed except the code and, from my understanding, the version of CF

Re: Coldfusion 8 localHost, DreamWeaver CS4, CSS Caching problem

2009-05-05 Thread Casey Dougall
On Tue, May 5, 2009 at 5:33 PM, Dawn Sekel dse...@ciber.com wrote: Has anyone else had this problem and solved it? Scenario is this: I have Adobe Creative Suite Standard CS4 installed on my Windows Vista laptop. I also have Coldfusion 8,0,1,195765 Developer edition installed. Then when

Re: Coldfusion 8 localHost, DreamWeaver CS4, CSS Caching problem

2009-05-05 Thread Casey Dougall
On Tue, May 5, 2009 at 5:27 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: For example this is how I setup my sites, and it works every time.. Main coldfusion / iis directory C:\inetpub\wwwroot Scripts for site: project1 C:\inetpub\wwwroot\project1 Host File Modifcations

RE: Embedded colour profile killing server

2009-05-05 Thread Adrian Lynch
I think we were up-to-date at work, looking at my local dev machine I'm on 8,0,0,176276. I've just installed CF 8.0.1 cumulative hot fix 1 but the version in CF admin is still the same. So too is a dump of the SERVER scope. Any ideas why this might happen? I followed the instructions here:

Re: Coldfusion 8 localHost, DreamWeaver CS4, CSS Caching problem

2009-05-05 Thread Dawn Sekel
Thank you! I wasn't using IIS -- I was using the CF server version. I will try your suggestion! Dawnthea On Tue, May 5, 2009 at 5:27 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: Forgot this one - also under Testing Server settings make sure URL prefix is http://project1 now

RE: Detect a 301 redirect

2009-05-05 Thread Andy Matthews
Can't remember, are you using IIS or Apache? I know that in Apache you can define an actual file for each specific server code. So you could have a 301.cfm which gets registered in the web server. That file gets triggered any time the server returns that error. I would assume that IIS has the

RE: Server just.... stops?

2009-05-05 Thread Justin Scott
So nothing in the log about unresponsive threads where it is hitting the limit and just restarting itself? Right, essentially the server just stops responding to requests and our monitoring system waits a couple of minutes and then restarts the coldfusion application service. It comes back

RE: Server just.... stops?

2009-05-05 Thread Josh Nathanson
Are you running the CF8 server monitoring in production? At my old place of business, we had random crashes that left no trace of evidence as to their cause. We turned off server monitoring and they stopped happening. Not 100% sure that was the cause, but it did seem to stop the random

Re: Embedded colour profile killing server

2009-05-05 Thread James Holmes
You need to install CF 8.01 before you can install its hotfixes. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/5/6 Adrian Lynch cont...@adrianlynch.co.uk: I think we were up-to-date at work, looking at my local dev machine I'm on 8,0,0,176276. I've

RE: Server just.... stops?

2009-05-05 Thread Justin Scott
Are you running the CF8 server monitoring in production? No, this is a ColdFusion standard edition license, so no integrated monitoring. We do have an older version of FusionReactor running on it though. -- Justin Scott | GravityFree Member of the Technical Staff 1960 Stickney Point Road,

Re: Getting a count from a group in cfquery

2009-05-05 Thread Azadi Saryev
you can also do it cf-only way: cfquery ... SELECT emailID, emailADDRESS, emailDATE, groupID FROM log_email WHERE emailID = cfqueryparam value=#trim(url.emailID)# cfsqltype=CF_SQL_INTEGER / ORDER BY emailDATE DESC /cfquery cfoutput query=thisLOG group=emailDATE