Hi All,
I migrated my CFMX6.1 application to CF8 on my local dev machine and getting
the following error.
Cannot declare local variable cfcatch twice. Local variables cannot have the
same names as parameters or other local variables.
Please let me know how it can be resolved.
Thanks!
Can we see your code?
-Original Message-
From: SANJEEV SINGLA [mailto:planetsanj...@gmail.com]
Sent: 19 August 2009 07:43
To: cf-talk
Subject: Cannot declare local variable cfcatch twice
Hi All,
I migrated my CFMX6.1 application to CF8 on my local dev machine and
getting
Thanks for the reply. reading my question back it did not make much sense, so
you did well to work out what I was on about lol!
I'd go with a query unless you have a particular reason not to.
no reason, that would be the way I would normally do it, however if I wanted to
try and keep this
Hi all,
I have a few questions about an issue that is occuring at my office. We have
several ColdFusion boxes and we often invoke web services. It has been my
experience that ColdFusion 8 generates stub class files when a web service is
invoked. However, we just recently began running into a
I would suspect the WSDL file and examine it first. If the WSDL file is
missing some node then perhaps the compiler is creating path information but
has not methods to stub out.
-mark
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
Using a query doesn't mean you aren't programming in an OO fashion.
You can keep your encapsulation while still returning a query or you
could turn the query into an array of objects as you desire.
In your adminUserService you could have a method called
GetAllAdminUsers that calls
Agreed. Indeed, a cfquery object *is* an object. I find the cfquery object
is particular perfect for views because it is read-only in terms of
interacting with the source of the data.
I personally use the IBO approach and release the query object when ready to
output the data - but that's just
The code would certainly help pinpoint exactly where the issue lies, but as
the error message indicates, it is caused by the fact that somewhere in your
code a variable is declared twice within a function. This can be caused by
several factors. Here are a couple of examples that will do it.
This question was cross posted at the same time and answered on cfaussies'
group almost immediately.
But was not followed through with.
On Wed, Aug 19, 2009 at 3:04 PM, Matt Quackenbush quackfu...@gmail.comwrote:
The code would certainly help pinpoint exactly where the issue lies, but as
the
Hey all,
I'm trying to replace a hyperlink and just display the text. I need to
remove the a href=http://www.google.ca;www.google.ca
http://www.google.ca%3c/a /a from text within fckeditor and just display
the text www.google.ca I tried finding a setting for the editor so it
doesn't
Try this:
cfset ad = reReplace(form.addesc, (/?a[^]*), , all) /
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Leigh,
Thanks for that information. Exactly what I needed!!!
I had got it working in the meantime by doing this:
1. creating a small file from Winhex that only contained 1 NULL character.
2. Using CFFILE to read this into a variable
3. Replacing all occurrences from the Hex data with that
Just so you know, this is what that expression is doing:
/ - literal string
? - zero or one
a - literal string
[^] - character set which says everything BUT
* - zero or more times
- literal string
So the expression says
1) Look for a
2) With zero or one /
3) Followed by a
4) Any character
I've moved on to an open source cfml engine, don't know what caused the
following odd behavior, that is, my cfajaxproxy tag no longer works for an
inline data editing function (meaning, it does not do database update for a set
of data) while the same code works for ms sql server 2005 express
Railo or OpenBD? Do they support cfajaxproxy yet?
-Original Message-
From: Don L [mailto:do...@yahoo.com]
Sent: 19 August 2009 22:42
To: cf-talk
Subject: ajax cfc not working for Access DB -- odd stuff
I've moved on to an open source cfml engine, don't know what caused the
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
Hello Andy Jason,
Thank you so much, this worked well. I wasn't sure of the syntax so this
really helped.
Kind regards,
Rick
-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com]
Sent: August-19-09 6:19 PM
To: cf-talk
Subject: RE: Replacing characters in a string
Railo does... It's written by the community. Andrea Campolonghi writes the
AJAX stuff for Railo. Don't know about OpenBD though...
Gert
-Ursprüngliche Nachricht-
Von: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
Gesendet: Donnerstag, 20. August 2009 00:07
An: cf-talk
Betreff: RE:
I've moved on to an open source cfml engine
Don't ever do that.
Shirley, you jest?
Kind Regards,
Emmit
On Wed, Aug 19, 2009 at 6:29 PM, Dominic Watson
watson.domi...@googlemail.com wrote:
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
Hi Gavin,
I tried this and it works for me. Can you try a couple of things:
- Set ormsettings.logSQL=true in this scope of Application.cfc. Check if the
SQLs are getting generated fine.
- You need not do but still try calling ormflush() after EntitySave() in
postinsert method.
If you still
After looking at this code I am suddenly hungry for pound cake... dunno why???
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
23 matches
Mail list logo