Mac - Oracle - CF

2012-01-19 Thread Gerald Weir
Hello, I know this is stretching the forum topic a bit but I'm a CF Developer that finds himself switching back to Oracle DB after using SQL Server for several years. I'm trying to install Oracle (10g) on my new Mac Book Pro with Lion OS and running into problems with the requirement that

CFImage tag error on GIF file but not JPEG

2011-08-09 Thread Gerald Weir
Hello, We're running ColdFusion9 on Linux. We have one page in our CMS that uses CFImage tag to get the dimensions of an uploaded GIF graphic so that it can return an error message to the user if the dimensions are not correct. The tag looks like this: cfimage action=info

Re: CFImage tag error on GIF file but not JPEG

2011-08-09 Thread Gerald Weir
Claude, I love it when the answer turns out to be something really basic - especially after I've spent hours trying to figure it out. Turns out that the GIF file must not be valid. I've just started working on a Mac and a colleague suggested that if I need a test graphic just make one using

Re: cffunction - initialize query as empty string or QueryNew

2011-08-04 Thread Gerald Weir
Thank you Ray and Peter for your answers/clarification on this question. It's clear now and every helpful. Jerry ~| Order the Adobe Coldfusion Anthology now!

cffunction - initialize query as empty string or QueryNew

2011-08-03 Thread Gerald Weir
Hello, We are discussing the proper way to initialize a query in a cffunction. Does it make a significant difference to use QueryNew rather than (empty string) as in the following: cfcomponent cffunction name=test access=public returntype=query output=false .this? cfset var

Re: cffunction - initialize query as empty string or QueryNew

2011-08-03 Thread Gerald Weir
Leigh, Peter, Thanks for your comments. All makes sense to me. If I can ask one follow-up on Peter's answer though. I've recently started to work on CF9 and was using my cffunction techniques from the CF8 days. i.e., cfset var local = StructNew() cfset local.myVar1 = cfset local.myVar2 =

Re: cffunction - initialize query as empty string or QueryNew

2011-08-03 Thread Gerald Weir
Peter, great examples, really helpful. In a nutshell, if I get it, in CF9 you do not need to use: cfset var local = StructNew() / because you are going to define your vars as: local.myVar1 and local.myVar2 and the local structure is already defined by default. You refer to your vars

Clearing session vars and cookies from subdomain

2011-07-08 Thread Gerald Weir
Hello, We have 3 sites. I'll call them www, abc, and xyz. I have a cookie that is a domain cookie and has a userid as a value. I have written code for each site that uses onSessionStart and onRequestStart to check for the cookie so that when users travel between the 3 sites they will be

Check for and removing some cookiees

2011-06-23 Thread Gerald Weir
Hello All, I think this would be easy but seems not. We have a main site at www.oursite.com and then we have 2 subdomains. We'll call them: second.oursite.com and third.oursite.com. A person visits our main site at www.oursite.com and we set these two cookies: cfcookie name=TestWWW

Re: onSessionEnd not working as expected

2011-06-23 Thread Gerald Weir
Dan, Thanks (belatedly) this worked. Jerry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: onSessionEnd not working as expected

2011-06-17 Thread Gerald Weir
First, my apologies to all if this is a duplicate post. I seem to be having trouble posting. Anyway, Hello All, Thanks for your input. Ray, you are correct in that I needed to pass in the session scope variables correctly. In my original post it is clear that a) I was not passing in

onSessionEnd not working as expected

2011-06-15 Thread Gerald Weir
I have read many posts by people who have problems with onSessionEnd. This is my first conversion of application.cfm to application.cfc and the onSessionEnd is not working with the CFFunction I am trying to invoke. I guess what's hanging this up is how to properly call the component from the

Re: onSessionEnd not working as expected

2011-06-15 Thread Gerald Weir
Just for testing I moved my CFC with the real code to write the session.array to the database up to the root level so that I could identify the component as component=jobState. That way I could test the CFC itself without worrying about the location. So, calling the real component/method

Anyone experienced with urlrewrite by Tuckey - question about rule that fails

2010-08-10 Thread Gerald Weir
Hello, I'm having a problem with a rule. We just updated the framework of our ColdFusion website. We've been using urlrewrite with CF and IIS for several years now. I wrote a new reduced set of rules that uses a broader regEx to allow url's that have multiple parameters to be properly

Re: CFHTTP Problem - is file type extension required?

2009-06-05 Thread Gerald Weir
Dave and Brad, Thanks a bunch for your attention to this matter. I finally got to speak with the author of the web service and he told me that the web service is expecting a web connection with cookie and session ID on the client side. I see Brad noted that a cookie could be part of the

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
Hello all, I've tried using cfhttpparam and it hasn't helped. The only thing that I can think of at this moment is that CF's CFHTTP doesn't properly format the request if a doc-type suffix is not present. So, since I have the following:

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
Hello Dave, It's been a long time since I've received your advice, glad to see you're still at it and helping out. Unfortunately, it clearly doesn't work. I can - and have - repeatedly called the page using that URL from a browser and it works. It's a pretty simple request and returns very

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
I'll include the whole get-go here and see if anyone sees anything else. The server was disconnected accidentally for the last 2 hours so I got behind on my posts. Here is the URL and the result from a browser: http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
Dave, Is this what you need? I'm beginning to think that it is a security setting on the web service itself. Like an access setting in a cffunction. I'm not sure how the web service is constructed - it's not CFM. -

CFHTTP Problem - maybe with URL

2009-06-03 Thread Gerald Weir
Hello, Running CF8 on Win2003/IIS. I have the following simple code to check a value from another server: cfhttp method=get URL= http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat; throwonerror=yes cfset theContent = #cfhttp.FileContent# cfoutput

Re: CFHTTP Problem - maybe with URL

2009-06-03 Thread Gerald Weir
Francois, I guess it's not clear that the code I included beginning with HTMLHEAD is the correct response using the URL using a browser. I'm thinking now that possibly because the other server is not a CF server I may need to use cfhttpparam. I do not use this on several cfhttp-based

Source location for javascripts and why it doesn't work

2009-02-15 Thread Gerald Weir
Hello, We are running CF8 on Windows Servers. I am working on adding PowerReviews to our website pages and having inconsistent results with the way the javascripts are (or aren't) working. The reason I mention source location is because I know that to solve some other problems we have had

Javascript not executing in Ajax panel of web site

2008-12-29 Thread Gerald Weir
Hello, We have added a recently viewed items panel to the right side of our website. In this panel we simply loop through the array of viewed items and present them stacked up in the panel. The code for rendering the list of items is in a separate CF template that is placed using an Ajax

RE: Need Include to be first thing after BODY tag

2008-03-26 Thread Gerald Weir
Gerald, Ian, and Jerry, thanks for the suggestions. Let me try them out this morning and I'll try to remember to report back which does the trick. Thanks much, Jerry -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 5:52 PM To: CF-Talk

Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Weir
Hello, I'm working on a project to change the web analysis tags on our CF8 site. Currently we use onrequestend.cfm to tell the rendered page to include the analysis javascripts at the end of the file and then put in the /body tag. We are changing brands and the javascripts must be included

RE: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Weir
Yes, they want it directly after the body tag. Their claim is that the want to be sure to count the page in the event that a user clicks away to another page before the current page is fully loaded. p.s. I hope this goes to the correct place - mailing list - as I don't see my own question on

RE: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Weir
to find a way to do it on every page, without having to actually write it into every page? Jerry On Tue, Mar 25, 2008 at 4:24 PM, Gerald Weir [EMAIL PROTECTED] wrote: Yes, they want it directly after the body tag. Their claim is that the want to be sure to count the page in the event that a user

Re: CFADMINAPI and ServiceFactory

2008-02-12 Thread Gerald Weir
, for example, there is a setMySQL5. If you read the docs, it says it supports create and edit. On Feb 11, 2008 12:47 PM, Gerald Weir [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

Re: CFADMINAPI and ServiceFactory

2008-02-11 Thread Gerald Weir
will be displayed. On Feb 11, 2008 10:44 AM, Gerald Weir [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

CFADMINAPI and ServiceFactory

2008-02-11 Thread Gerald Weir
Hello, We have just upgraded to CF8 from CF6. We are running CF8 on Windows 2003 servers with a SQLServer 2000 DB in a 3-tier environment. Is there a CFADMINAPI equivalent for the following code: cfscript factory=CreateObject(java,coldfusion.server.ServiceFactory);

Truncated pages causing big headache

2007-04-25 Thread Gerald Weir
Hello, We are a large e-commerce site that is experiencing a big problem. We are running CF MX6.1 on Jrun4 with Updater 6. We run F5's BigIp up front of a 7 web server, 5 CFMX server hardware set up. We are experiencing sporadic truncated pages being downloaded to our clients. The pages start

Re: Truncated pages causing big headache

2007-04-25 Thread Gerald Weir
methods show the problem. -Cameron On 4/25/07, Gerald Weir [EMAIL PROTECTED] wrote: ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW

Jrun unable to see CF Site after Hot Fix

2007-04-25 Thread Gerald Weir
Hi, I've just run a Jrun4 hot fix to try to address the issue of cflocation causing some web pages to be truncated. Last night before I went home I tested many pages on our site to be sure that the hot fix hadn't broken anything and everything looked fine. This morning I came in and when we

cflocation sporadic file truncation on Jrun4, cannot install hotfix

2007-04-24 Thread Gerald Weir
Hi, We are running CF MX6.1 on Jrun4 with Updater 6. We are experiencing sporadic truncated pages being downloaded to our clients. The pages start properly but break and some code is exposed. I am not asking about this question in particular but rather the Hot Fix for this JRun issue which is

Re: cflocation sporadic file truncation on Jrun4, cannot install hotfix

2007-04-24 Thread Gerald Weir
Hi Dave, I've seen your name on the boards here many times. Thanks for taking the time to answer my question. I have tried everything I can think of and that certainly never occurred to me. My browser definitely renames the file as wsconfig.zip and there is already a file in the D:/Jrun4/lib

multiple items with qty in form problem

2006-12-28 Thread Gerald Weir
Hello, We need a form that is a bit different from the examples I've been able to find so far. I am querying the db to get a list of all the products for this page and I want it to look like this to the consumer (some numbers are same for first 4 digits but then change for different size):

cfstoredprocedure hangs on OUT parameter from Oracle 9i

2006-11-02 Thread Gerald Weir
Hello folks, I'm running CF MX6.1 on Win2003 and running against Oracle 9i DB on HPUX 11.11. Database connection is via oracle JDBC thin driver. An Oracle developer wrote a stored procedure for us that is 17 pages long in very small type and I am having a hard time with it. The purpose is to

how can query input to DB 4 times in 1 second

2006-09-27 Thread Gerald Weir
Hello, We're running CFMX 6.1 on Win2003 Servers with Oracle 8.0.3 DB on UNIX. We have free projects available on our website in exchange for a consumer signing up for our email newsletter. Somewhere along the way between almost 2 years ago and just recently I made some kind of change that

Re: how can query input to DB 4 times in 1 second

2006-09-27 Thread Gerald Weir
Hi loathe, I've considered that and the problem is in the last paragraph of my original post. That is I'm inputting into a db table that drives another application and I'm leary about changing anything in the constraints that may affect the way the other application interacts with it. It has

Re: how can query input to DB 4 times in 1 second

2006-09-27 Thread Gerald Weir
/updates to that table? Jon On Sep 27, 2006, at 11:17 AM, Gerald Weir wrote: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four

Re: how can query input to DB 4 times in 1 second

2006-09-27 Thread Gerald Weir
may take a bit longer, isn't under lock if you have concurrent users. cftransaction allows you to rollback in the event of a failure you designate. It doesn't, however lock anything. Jon On Sep 27, 2006, at 12:56 PM, Gerald Weir wrote

Faulting application error fixes not working

2006-09-26 Thread Gerald Weir
Hello, I'm having a problem that I've read lots of posts on but only one answer. First from Michael Dinowitz and then by James Smith. James makes a change to Michael's recommendation and I've tried both but neither one works for me. I am updated to jre1.5.0_06 and have tried both methods

Re: Faulting application error fixes not working

2006-09-26 Thread Gerald Weir
Sorry, left out that the ORIGINAL error I'm troubleshooting is: Faulting application jrun.exe, version 4.0.0.63824, faulting module jvm.dll, version 0.0.0.0, fault address 0x00152132. As discussed in: http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:34516 Jerry

Re: Faulting application error fixes not working

2006-09-26 Thread Gerald Weir
Hello Dave, Thanks for your feedback. I don't know as much about the JVM as I probably should but it sure seems counter-intuitive to go BACK to a previous version. In a way it makes some logical sense since I don't believe that I had the problem for a long time and then I started seeing it.

Re: Faulting application error fixes not working

2006-09-26 Thread Gerald Weir
I thought of something after I posted my thanks comment to Dave. I am confused: On the server I have updated to Java 2 platform standard edition: Version 1.5.0 (build 1.5.0_06-b05). When I look into the System Information page of CF Adminstrator I see: Java Version 1.4.2 Java Home:

Re: Faulting application error fixes not working

2006-09-26 Thread Gerald Weir
Dave, I understand what you are saying but it appears that I'm a bit confused. When I installed CF it came with it's own JVM. This is in the folder called C:\CFusionMX\runtime\jre and the CF administrator is pointed to it. It was presumably version 1.4.2_ etc. Over time I downloaded and

Re: Faulting application error fixes not working

2006-09-26 Thread Gerald Weir
originally installed as part of the CF installation? That is the one in the C:\CFusionMX\runtime\jre folder?? The 1.4.2 JVM is now up to _12 I think and it seems that it would make sense to update as far as possible within the 1.4 family. Thanks, Jerry On 9/26/06, Gerald Weir [EMAIL PROTECTED] wrote

Seeking Advice on U.K. version of our U.S. website

2006-09-24 Thread Gerald Weir
than having to rely completely on a third party to take that which has already been coded for our site and re-code it in php or jsp, or whatever. Thanks very much in advance, Gerald Weir Simplicity Pattern Co. Website Manager

Re: Seeking Advice on U.K. version of our U.S. website

2006-09-24 Thread Gerald Weir
Big Mad Kev, I understand your idea - even through the flu-induced haze. Hope your feeling better. Thing is like Jochem pointed out we want the shopping cart/e-commerce side to be taken care of by the U.K. office. In other words, they will be doing the fulfillment, not the U.S. so it's