Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
Hello, I have this call: cfset APPLICATION.objects.db = CreateObject('component','components.db').init(dsn_users='users',dsn_guestbook=guestbook,dsn_irama=irama,maxStringLength=25) This is the method definition: cffunction name=init access=public output=no returntype=any cfargument

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread James Holmes
Try putting cfset THIS.DSN = StructNew() before the other variable assignments. On Sun, Apr 20, 2008 at 5:14 PM, marc -- [EMAIL PROTECTED] wrote: Hello, I have this call: cfset APPLICATION.objects.db =

Re: ColdFusion 8.0 clustering - quick question.

2008-04-20 Thread Maureen Barger
I think one requirement for session replication is to turn on J2EE sessions - do you have that on? On Sat, April 19, 2008 13:30, WebSite CFtalk wrote: Hello, I'm struggling with a cluster setup. (IIS6/CF8, 2 servers with 2 instances each) The problem is session replication - tons of errors

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
If that was the problem an error would be thrown at the line where THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
If that was the problem an error would be thrown at the line where THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

CFchart and IE

2008-04-20 Thread Jenny Gavin-Wear
I'm having a problem with charts not displaying in IE and I saw there is a hotfix. Has anyone here had experience of using this hotfix? Did you have any side effects? TIA, Jenny ~| Adobe® ColdFusion® 8 software 8 is the most

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread James Holmes
Did you reset the Application scope afterwards? On Sun, Apr 20, 2008 at 7:23 PM, marc -- [EMAIL PROTECTED] wrote: If that was the problem an error would be thrown at the line where THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.

Re: ColdFusion 8.0 clustering - quick question.

2008-04-20 Thread Matthew Williams
You also need to name your instances uniquely. Even if you just copied the ear/war file, the instance names in the Enterprise Admin (JRun admin) cannot match. Just another thing to check. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
Oops, sorry for the doubleposting... I thought I'd add the line that produces the actual error: cffunction name=getRequests access=public returntype=struct cfargument name=orderby required=false default=dateaccess cfargument name=orderdir required=false default=DESC

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread Dominic Watson
cfquery name=qLog datasource=#VARIABLES.dsn.users# That says, VARIABLES.dsn.users, not THIS.dsn.users correct? They are two different scopes. The VARIABLES scope is private to the component, the this scope is public. Chances are you want to set everything in the VARIABLES scope rather than

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
Ok, that was the problem! Just before where I do a call to the function in the cfc I did a cfinvoke and called on the resultvar of that operation. The init() method had not been invoked. I did this because Godaddy is not supporting Createobject() so I had to rewrite parts of the app and

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread Will Tomlinson
marc, I always init() my cfc's like this: cffunction name=init access=public returntype=someDAO output=false hint=Returns an instance of the CFC initialized with the correct settings. cfargument name=dsn cfset variables.dsn = arguments.dsn cfreturn this /cffunction VARIABLES.dsn

RE: ColdFusion 8.0 clustering - quick question.

2008-04-20 Thread WebSite CFtalk
Yes, It's on, I've been through every setting on the servers that I can think of - and everything I've found on different blogs. Have also tried to tweak TCP settings as described on some forums: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/c

Re: ColdFusion 8.0 clustering - quick question.

2008-04-20 Thread AJ Mercer
we have unique ports per server (that is port 8301 8302 is used on two server), but we are having issues adding a third server to the cluster - I too would be interested in hearing a authoritative view on this question. On Sun, Apr 20, 2008 at 1:30 AM, WebSite CFtalk [EMAIL PROTECTED] wrote:

Need to pass multiple value from a CFC - stuck

2008-04-20 Thread coldfusion . developer
All, To see the cfdump, first go to ... http://209.41.164.253/store_finder/application/zip.cfm or see cfdump below I need to pass the zipcodes info from a cfc to another query that looks up stores that contain these zip codes. I need multiple value returned from the CFC that creates this

Re: Need to pass multiple value from a CFC - stuck

2008-04-20 Thread Dominic Watson
I need to pass the zipcodes info from a cfc to another query that looks up stores that contain these zip codes. I need multiple value returned from the CFC that creates this result. How do I do this? When I try to return the cfc values for zip I get a single zip code. How do I get all the

RE: Need to pass multiple value from a CFC - stuck

2008-04-20 Thread Jim Davis
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, April 20, 2008 11:33 AM To: CF-Talk Subject: Need to pass multiple value from a CFC - stuck All, To see the cfdump, first go to ... http://209.41.164.253/store_finder/application/zip.cfm or see

Re: Firebug not playing nice

2008-04-20 Thread Don L
Is this an issue with FireBug or FireFox? Rey... Good question. I tend to think on the FireBug side (disabling it everything works fine) but can't nail it down yet. Will try to find FireFox related forum for a solution as well. Thks.

Re: Accessing SSIS package

2008-04-20 Thread Bob Clingan
Happy Saturday! I created an SSIS package and deployed it to my SQL Server, but what I am trying to figure out is how to trigger it using ColdFusion. Do I need to create an SP or a trigger to do this? I know in the past with DTS packages we would use the CFOBJECT tag to invoke it. Thanks, Bruce

Re: Accessing SSIS package

2008-04-20 Thread Bob Clingan
You should be able to run it using CFEXECUTE to run an app called DTEXEC.exe. Check out the docs here: http://msdn2.microsoft.com/en-us/library/ms162810.aspx --Bob Happy Saturday! I created an SSIS package and deployed it to my SQL Server, but what I am trying to figure out is how to trigger

Re: Accessing SSIS package

2008-04-20 Thread Bruce Sorge
Thanks Bob. Bruce On Sun, Apr 20, 2008 at 10:25 AM, Bob Clingan wrote: You should be able to run it using CFEXECUTE to run an app called DTEXEC.exe. Check out the docs here: http://msdn2.microsoft.com/en-us/library/ms162810.aspx --Bob

Grouping emails by domain

2008-04-20 Thread Michael Muller
I've been having trouble sending opt-in posts to a local university. They cite that each post on my website results in 250 unique smtp sessions to their mail server, and that they'd prefer one session per post. This is a reasonable request, and would probably help with Yahoo and AOL, as well as

Remove everything but numbers and letters from a string

2008-04-20 Thread Steve Sequenzia
I am trying to figure out how to remove all characters from a string besides numbers, letters and spaces. Can anyone point me in the right direction. Thanks in advance for any help. ~| Adobe® ColdFusion® 8 software 8 is the

Re: Remove everything but numbers and letters from a string

2008-04-20 Thread Mike Chabot
ReReplace() would work. -Mike Chabot On Sun, Apr 20, 2008 at 4:57 PM, Steve Sequenzia [EMAIL PROTECTED] wrote: I am trying to figure out how to remove all characters from a string besides numbers, letters and spaces. Can anyone point me in the right direction. Thanks in advance for any

Re: Remove everything but numbers and letters from a string

2008-04-20 Thread Mike Chabot
The regex to use would look like this [A-Za-z0-9 ] -Mike Chabot On Sun, Apr 20, 2008 at 5:17 PM, Mike Chabot [EMAIL PROTECTED] wrote: ReReplace() would work. -Mike Chabot On Sun, Apr 20, 2008 at 4:57 PM, Steve Sequenzia [EMAIL PROTECTED] wrote: I am trying to figure out how to remove all

RE: Remove everything but numbers and letters from a string

2008-04-20 Thread Bobby Hartsfield
rereplace(str, '[^\w ]', '', 'all') -or- rereplace(str, '[^a-zA-Z0-9 ]', '', 'all') -or- rereplace(str, '[^[:alnum:] ]', '', 'all') ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Steve Sequenzia [mailto:[EMAIL PROTECTED]

Re: Remove everything but numbers and letters from a string

2008-04-20 Thread Steve Sequenzia
Thanks for the help. I am trying to do it like this: cfset d2 = rereplace(lcase(d1) , '[A-Za-z0-9 ]', '','all') / but (understandably) it is doing the reverse of what I want. It is replacing all the numbers and letters. How do I change it so it only picks characters that are not numbers and

Re: Remove everything but numbers and letters from a string

2008-04-20 Thread Steve Sequenzia
Got it now. Thanks guys for the help. I am trying to figure out how to remove all characters from a string besides numbers, letters and spaces. Can anyone point me in the right direction. Thanks in advance for any help.

RE: Remove everything but numbers and letters from a string

2008-04-20 Thread Bobby Hartsfield
Actually that regex says to replace all of the characters that the poster wants to keep. It should be [^A-Za-z0-9 ] or one of the others that I posted ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Mike Chabot