should I not worry about running 'createObject' on the same local.o_program
structure member everytime?
The fact that createObject is INSIDE the loop is precisely why it is
working now and that is good. When you posted your first real code
sample (the second one) with the createObject
So the cfset var local = {} worked fine in our CF8 environment, but CF7 is
complaining about it. Is {} just a CF8 shorthand for struct? I replaced the
{} with StructNew(), and it seems to work. I'm just terrified of screwing this
up and having to chase down some phantom bugs three months
Thanks for the reply! I'm definitely trying to get a handle on this as I don't
want to chase down the repercussions in the future! Thank so much for your
help. It almost makes sense to me now...
should I not worry about running 'createObject' on the same local.
o_program structure
The qpscanner is ok in general but I want something that will only get
me numeric variables that are not in a cfqueryparam.
That is not enough to protect you!
It is not hard to create injection attacks that bypass CF's auto-doubling of
quotes.
qpscanner deliberately errs on the side of
I know it's not enough but the point was that there has to be a
priority in what gets fixed. If there are 300+ query vars to fix,
which do you do first? My solution is to fix the numeric vars first
and then fix everything else after. In the end it all gets done but
until I get to the end, the
Jonathan Price wrote:
Thanks for the reply! I'm definitely trying to get a handle on this as I
don't want to chase down the repercussions in the future! Thank so much for
your help. It almost makes sense to me now...
A useful trick if you are creating your CFC in any persistent scope,
I think there's at least one or two more too. I should really make a
note of them somewhere...
Charlie Arehart's list.
Pretty sure he's got all this listed in a security/similar category.
Yep, here we go:
http://www.carehart.org/cf411/#testing
Please consider how cheap you want to go. Your host is like the
foundation of your business. Would you set up your store on top of a
volcano? Quicksand? Cheap isn't always the way you want to go for
hosts.
On Wed, Jan 13, 2010 at 7:58 PM, Mark Mandel mark.man...@gmail.com wrote:
I've used atoz
Ray,
I appreciate the sentiment, but right now cheap is all I can do
-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com]
Sent: Thursday, January 14, 2010 9:20 AM
To: cf-talk
Subject: Re: hosting
Please consider how cheap you want to go. Your host is like the
http://hostek.com/
Plans start $5
I have hosted with them on a couple of sites. Over all I was pleased. They
have good support for the price. Much better than I expected. They will work
to keep your business (or did with me) They also have CF 9.
HTH
On Thu, Jan 14, 2010 at 9:40 AM, Scott
We also host CF:
http://host.webenergy.ca/plans.htm
Executive Plan is for CF
-Original Message-
From: Gerald Guido [mailto:gerald.gu...@gmail.com]
Sent: January-14-10 11:01 AM
To: cf-talk
Subject: Re: hosting
http://hostek.com/
Plans start $5
I have hosted with them on a couple of
Double-execution of CFML code can happen when people close their
custom tags with a trailing slash, not realizing that the closing
slash causes a second-run of the custom tag. Most commonly
double-execution happens when users double-click submit buttons or
when a user gets frustrated at a slow
Trying to get my head wrapped around the new orm features.not doing well J.
I used an example I got from Manju's blog.trying to get one to many
relationships working. I set up a Contacts.cfc with three one to many cfc's
(emails, addresses, phoneNumbers). Then I created an index.cfm to set
I have a venerable ColdFusion 4.5 server, oh how I look forward to
replacing it with a new server - but that is still some months into the
future.
Anyways, I have not looked at this server in a year. Needed to do
something on it today and find all CFM code on the server, including the
So the cfset var local = {} worked fine in our CF8 environment, but CF7 is
complaining about it. Is {} just a CF8 shorthand for struct? I replaced the
{} with StructNew(), and it seems to work. I'm just terrified of screwing
this up and having to chase down some phantom bugs three months
I'm guessing that would mean the error must be in application.cfc, but it's
pretty simple and I don't see what might be wrong. Could the error be
coming from one of the other cfc's even though index is commented out? Does
Coldfusion attempt to build the map as soon as it see ormenabled =
This is a Solaris 8, Unix installation of ColdFusion 4.5 Professional.
I am not an administrator on this box so I do not have any permissions
to snoop around beyond what can be accessed through a browser. But,
when my support ticket finally gets to such a sysop, I know they are not
going to
Forgive my ignorance, please. What should be different in my
application.cfc?
cfcomponent
cfset this.name = myORMApplication
cfset this.ormenabled = true
cfset this.datasource = OrmTesting
! ORM Setting this tells ORM to drop and create database
cfset this.ormsettings
I installed CF 9 as the Developer edition on my laptop yesterday and every
time I go to the administrator URL, it attempts to complete the
installation/migration/configuration and I get a The request has exceeded
the allowable time limit Tag: cfoutput. I thought there was a way to
disable the
Opps, I responded to the wrong email last time. I got the right one this
time :)
Forgive my ignorance, please. What should be different in my
application.cfc?
cfcomponent
cfset this.name = myORMApplication
cfset this.ormenabled = true
cfset
Forgive my ignorance, please. What should be different in my
application.cfc?
cfset this.ormsettings = dropcreate
cfset this.ormsettings.dbcreate = dropcreate
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small
Hi Mallory,
If you have applied the security hotfix (hf801-77218) it will actually block
any CFM request matching /fckeditor/editor/filemanager/ anywhere in the URI,
unless you add -Dcoldfusion.fckupload=true to your JVM startup arguments.
I have posted details on my blog here:
My question is simple - are there any options other than having the custom tag
file on every server?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Ok, got past last problem (thanks dave) and have uncommented the code on
index.cfm. I followed the example on Manju's blog entitled Coldfusion-ORM:
Define One-to-Many and Many to One Relationships. The article was for one
related table, mine is for three. I used the built-in Apache database.
You could map a network drive on each server to a central custom tag
location and point a coldfusion mapping to it.
On the other end of the spectrum you could use some file-replication
software to keep the files in synch across multiple servers.
~Brad
Original Message
That'll be your problem. If you're trying to use a CFC on ColdFusion 4.5
it's going to fail.
Versions of CF before CF MX didn't support CFCs.
andy
-Original Message-
From: mark [mailto:m...@mdprofinish.com]
Sent: Thursday, January 14, 2010 10:49 AM
To: cf-talk
Subject: RE: For the
Check your adminconfig.xml file. There are several setup/migration settings in
there.
Debbie Morris
-Original Message-
From: Phillip Duba [mailto:phild...@gmail.com]
Sent: Thursday, January 14, 2010 11:51 AM
To: cf-talk
Subject: CF 9 Install/Migration Hangs
I installed CF 9 as the
ids for this class must be manually assigned before calling save(): Emails
Have you defined which property in your components are the primary key?
~Brad
~|
Want to reach the ColdFusion community with something they want?
Andy, that post was supposed to go under the orm beginner thread.
~Brad
Original Message
Subject: RE: For the old time ColdFusion developers on the list.
From: Andy Matthews li...@commadelimited.com
Date: Thu, January 14, 2010 12:26 pm
To: cf-talk cf-talk@houseoffusion.com
On 1/14/2010 10:26 AM, Andy Matthews wrote:
That'll be your problem. If you're trying to use a CFC on ColdFusion 4.5
it's going to fail.
Versions of CF before CF MX didn't support CFCs.
andy
And thus Andy points out why it is such a bad Idea to reply to an
unrelated thread with a
On 1/14/2010 8:40 AM, Dave Watts wrote:
I don't have any insight on what it is, but trying to start it as an
application rather than having it start up by itself might show the
sysop what's going on.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
I have, but I have made several changes to the cfc's, which have not been
reflected in the database. I put ormFlush() at the top of application.cfc,
is there some other way to make sure a new mapping/new database is created?
I have cfset this.ormsettings.dbcreate=dropcreate in application.cfc
I just upgraded from CF7 MX to CF9 and now my stacked bar charts are incorrect.
Here is my query:
SELECT a.account_type, a.dept_num, count(a.ids) AS counter
FROM accounts a
WHERE a.dept_num between 1401 AND 1499
GROUP BY a.account_type,a.dept_num
ORDER
I just upgraded from CF7 MX to CF9 and now my stacked bar charts are
incorrect.
Here is my query:
SELECT a.account_type, a.dept_num, count(a.ids) AS counter
FROM accounts a
WHERE a.dept_num between 1401 AND 1499
GROUP BY a.account_type,a.dept_num
ORDER
I hear that Scott...I just had to go with GoDaddy because I realty can't
afford anything else.
Eric
-Original Message-
From: Scott Stewart [mailto:sstwebwo...@bellsouth.net]
Sent: Thursday, January 14, 2010 8:41 AM
To: cf-talk
Subject: RE: hosting
Ray,
I appreciate the sentiment,
:)
Sorry about that. I was a little surprised about that being there...I
thought surely he knows that already.
:)
-Original Message-
From: Ian Skinner [mailto:h...@ilsweb.com]
Sent: Thursday, January 14, 2010 12:47 PM
To: cf-talk
Subject: Re: For the old time ColdFusion developers on
Hello all,
I am having a dilemma regarding two jQuery plugins: the tableSorter and
tab.
Here is a brief summary of the problem:
1. I have a task list, which is further broken into sub-categories such
as Problems, Maintenance and Requests.
2. I am using the jQuery tab plugin to make
D'oh!
Please ignore question! Apparently just writing the question down on paper
helps clear the thought. Don't know what I was thinking...
I could easily make the table name an attribute to the custom tag and then
do this in my call to the jQuery tableSorter plugin:
script
Here's a thought on what might be going on (and if so, I'm open to suggestions).
Basically, if I'm writing to the badFiles location, I have almost
invariably broken out of a cfloop file=whatever loop before
reaching the end of the file (using cfbreak). Is it possible that
ColdFusion still has a
Basically, if I'm writing to the badFiles location, I have almost
invariably broken out of a cfloop file=whatever loop before
reaching the end of the file (using cfbreak). Is it possible that
ColdFusion still has a lock on the file and, therefore, can't delete
it? (I'm thinking this may be
I vouch for GoDaddy's PHP hosting. I have a couple of PHP projects and happy
endings. I am not sure about CF though.
Regards,
Ravi.
On Thu, Jan 14, 2010 at 3:04 PM, Eric Roberts
ow...@threeravensconsulting.com wrote:
I hear that Scott...I just had to go with GoDaddy because I realty can't
What about firing off another thread to delete it after X amount of time?
Or maybe not deleting it right away, and instead adding the file to a
list, and then moving/deleting the list at the end (maybe with a
sleep() first?)
--
Dogs and philosophers do the greatest good and get the fewest
You have not var'd q_programs - use local.q_programs otherwise every
concurrent request will be overwriting the same variable and you'll
get unpredictable results.
Sean
On Wed, Jan 13, 2010 at 11:35 PM, Jonathan Price
jonat...@imakehthissound.com wrote:
Yeah, we're on CF8 for better or worse.
You have not var'd q_programs
Good catch.
As someone mentioned earlier, all function local variables must var scoped.
That includes things you often forget, like: query names, loop indexes,
etcetera.
~|
Want to
I want to protect my site login. I first want to lock users out after so
many failed login attempts. Lock them out for a specified amount of time. I
also want to require them to click a link from an email that they receive
the first time they login from a computer.
The email verification seems
The email verification seems to get real complicated real fast when I try to
program that completely myself.
Basically, your user table needs at least these two columns:
status: use this signify if an account is pending verification
verificationKey: when the account is created, place a random
46 matches
Mail list logo