Well the part that gets me is that it works fine on my dev box. No errors at
all. 

-----Original Message-----
From: Peterson, Chris 
Sent: Thursday, September 13, 2007 11:12 AM
To: CF-Talk
Subject: RE: Getting error message on one page only

You will get a 'method cannot be found' if you are passing invalid
arguments too it, because CF searches for a method with matching
arguments.  You could have 2 functions:

New(int)

And

New(int, int)

Based on if you invoked them as new(2)  or new(2,2), Coldfusion would
pick different ones to execute.  Make sure the arguments you are passing
match what is required for the function! 


Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288405
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to