Re: CFFUNCTION - Any thoughts??

2003-12-01 Thread CF Lists
Massimo,
I found the version 1.2 on your site (Wish I could read italian, looks like 
a great site) and it doesn't seem to work on my 6.0/linux. Works on 
6.1/Windows though. Any ideas?

Greg

>From: "Massimo, Tiziana e Federica" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: CFFUNCTION - Any thoughts??
>Date: Mon, 1 Dec 2003 21:57:55 +0100
>
> > Did this CFC require you to install anything extra (i.e. Java SDK or
> > JRE) on your RH9 machine? I had tried this particular CFC before,
> > which is when I discovered I was missing the javax library altogether.
>
>Earlier version (1.2) were designed to work on top of CF 6.0 and JRE 1.3,
>starting from 1.6 it uses a different set of Java APIs, taking advantage of
>JRE 1.4 installed alongside CF 6.1.
>
>I never tested it on a Unix box, so I have no idea if it may work on your
>enviroiment or not... All you can do is to give it a try
>
>
>Massimo Foti
>Certified Dreamweaver MX Developer
>Certified Advanced ColdFusion MX Developer
>http://www.massimocorner.com/
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFFUNCTION - Any thoughts??

2003-12-01 Thread CF Lists
Massimo,
Would you be able to share the older version for those of us stuck on 6.0?

Greg

>From: "Massimo, Tiziana e Federica" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: CFFUNCTION - Any thoughts??
>Date: Mon, 1 Dec 2003 21:57:55 +0100
>
> > Did this CFC require you to install anything extra (i.e. Java SDK or
> > JRE) on your RH9 machine? I had tried this particular CFC before,
> > which is when I discovered I was missing the javax library altogether.
>
>Earlier version (1.2) were designed to work on top of CF 6.0 and JRE 1.3,
>starting from 1.6 it uses a different set of Java APIs, taking advantage of
>JRE 1.4 installed alongside CF 6.1.
>
>I never tested it on a Unix box, so I have no idea if it may work on your
>enviroiment or not... All you can do is to give it a try
>
>
>Massimo Foti
>Certified Dreamweaver MX Developer
>Certified Advanced ColdFusion MX Developer
>http://www.massimocorner.com/
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFFUNCTION - Any thoughts??

2003-12-01 Thread CF Lists
Bryan,
I tried this on windows and just get "-1" for height and width. (CF 6.1 
Ent.) Any ideas?

  
  
  
CreateObject("java","javax.swing.ImageIcon").init(ARGUMENTS.FileLoc)>
  
  
  




ImageInfo.ImgWidth #ImageInfo.ImgWidth#
ImageInfo.ImgHeight #ImageInfo.ImgHeight#


>From: "Bryan Stevenson" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: CFFUNCTION - Any thoughts??
>Date: Fri, 28 Nov 2003 16:20:46 -0800
>
>Hey All,
>
>Below is a CFFUNCTION to check an image's size:
>
>   
>
> 
> 
> 
>CreateObject("java","javax.swing.ImageIcon").init(#ARGUMENTS.FileLoc#)>
>
> 
> 
>
> 
>
>   
>
>It works fine on Windows but bails on Linux RedHat 9.0 with CFMX 6.1
>Enterprise installed.  There error is below.  It appears to be having an
>issue instantiating the object abovebut I'm unsure as to whyany
>thoughts??
>
>ERROR DETAILS:
>   struct
>   Detail An exception occurred when instantiating a java object. The
>cause of this exception was that: .
>   Message Object Instantiation Exception.
>   RootCause struct
> Cause struct
>   Message [empty string]
>   StackTrace java.lang.NoClassDefFoundError at
>java.lang.Class.forName0(Native Method) at
>java.lang.Class.forName(Class.java:141) at
>java.awt.Toolkit$2.run(Toolkit.java:748) at
>java.security.AccessController.doPrivileged(Native Method) at
>java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739) at
>javax.swing.ImageIcon.(ImageIcon.java:81) at
>javax.swing.ImageIcon.(ImageIcon.java:107) at
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
>sorImpl.java:39) at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
>torAccessorImpl.java:27) at
>java.lang.reflect.Constructor.newInstance(Constructor.java:274) at
>coldfusion.runtime.java.JavaProxy.CreateObject(JavaProxy.java:128) at
>coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:56) at
>coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1622) at
>cfutility2ecfc1211421247$funcIMAGESIZE.runFunction(/var/www/pmcfcs/utility.c
>fc:53) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:338) at
>coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:286) at
>coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:
>250) at
>coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:53)
>at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:203) at
>coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:359) at
>coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196) at
>coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:139) at
>coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1582) at
>coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:327) at
>coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1872) at
>cfleg_photo_maint2ecfm1369148617.runPage(/var/www/html/secure/includes/leg_p
>hoto_maint.cfm:62) at
>coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at
>coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at
>coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1871) at
>cfindex2ecfm1722994938.runPage(/var/www/html/secure/index.cfm:48) at
>coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at
>coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at
>coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62) at
>coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107) at
>coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
>at coldfusion.filter.PathFilter.invoke(PathFilter.java:80) at
>coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at
>coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at
>coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence
>Filter.java:28) at
>coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35) at
>coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43) at
>coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at
>coldfusion.CfmServlet.service(CfmServlet.java:105) at
>coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at
>jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at
>jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at
>jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252) 
>at
>jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) 
>at
>jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
>at
>jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
>) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>   TagContext array
> 1 struct
>   COLUMN 0
>   I

ImageMagick/MagickTag

2003-11-26 Thread CF Lists
Has anyone used imagemagick or magicktag to write text on an image? This 
doesn't work.

	inputtype="file"
	inputfile="/usr/var/www/html/greg/banner.gif"
	outputType="file"
	outputFile="/usr/var/www/html/greg/greg.gif"
  debug="No"
  timeout="5">
  


Nor this:
  

Tried this also:

arguments="/usr/var/www/html/greg/banner.gif -draw text 10,30 'GREG' 
/usr/var/www/html/greg/greg.gif"
timeout="5">


And this:

arguments="/usr/var/www/html/greg/banner.gif -draw text 10,30 GREG> 
/usr/var/www/html/greg/greg.gif"
timeout="5">



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFLogin

2003-11-25 Thread CF Lists
Okay, this is going to sound dumb to some of you but how can you do this 
WITHOUT using a DB?

Greg

>From: "Raymond Camden" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: CFLogin
>Date: Tue, 25 Nov 2003 08:56:06 -0600
>
>There is always a fine line between doing too little and doing too much. I
>think cflogin hits the sweet spot myself. By NOT forcing you to use a db, 
>it
>allows you to easily switch your authentication methods without having to
>update your entire site. Also do not forget that the security system can be
>tied to CFCs as well with the use of the roles attribute.
>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFLogin

2003-11-25 Thread CF Lists
I guess I was expecting more from cflogin. I thought it was going to do 
everything for you. You'd think there would be built-in security tables if 
there are built in functions to validate users.

>From: "Raymond Camden" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: CFLogin
>Date: Tue, 25 Nov 2003 08:22:42 -0600
>
>Just as a warning, I've seen wierd issues when I used  above my
> block. This never had any issues in 6.0, but I noticed an oddity
>under 6.1 with it where (I believe) getAuthUser was NOT returning "" after
>the cflogout. I don't remember the exact details, but I solved it by moving
>my logout _after_ the cflogin block, and just using a cflocation to reload
>the current page and force the login.
>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFLogin

2003-11-25 Thread CF Lists
How about a show of hands of people using CFLogin? I've been trying to get 
my head around it for a few days now. I did a tutorial on EasyCFM and got 
MORE confused. Anyone like it? Anyone want to take a shot at explaining it? 
I'm still not sure what MM gave us. A "container"? We still have to provide 
tables to store the username/pw and the roles? HELP!


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ImageMagick

2003-11-21 Thread CF Lists
Oops, meant 5.9Meg. Anyways. I'm getting some of the commands to work like 
-border, but can't figure out the -draw command. Anyone have an example?

>From: Brook Davies <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: ImageMagick
>Date: Fri, 21 Nov 2003 11:09:05 -0800
>
>A 5.9Gig zip file? Damn! Thats one big ass zip file!
>
>At 10:45 AM 11/21/2003, you wrote:
> >Can someone steer me in the right direction to lear to use ImageMagick? 
>I've
> >been using MagickTag to resize images without any trouble, but I want to 
>do
> >some more things with imagemagick like write text on images, and combine
> >images. Documentation is slim that I can find. I've downloaded a 5.9Gig
> >ImageMagick-5.5.7-11.zip but have no idea where to start installing it.
> >Thanks.
> >
> >
> >--
> >[
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




ImageMagick

2003-11-21 Thread CF Lists
Can someone steer me in the right direction to lear to use ImageMagick? I've 
been using MagickTag to resize images without any trouble, but I want to do 
some more things with imagemagick like write text on images, and combine 
images. Documentation is slim that I can find. I've downloaded a 5.9Gig 
ImageMagick-5.5.7-11.zip but have no idea where to start installing it. 
Thanks.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SESConverter

2003-11-14 Thread CF Lists
I've been reading about the sesConverter at Fusium.com and wondered what 
other's experience was using it, preferrably with fusebox. I have a FB2 site 
a client wants better reporting/search engine ability on.

After looking into the sesConverter I didn't understand the reason/value of 
having the "dummy" filename on the url. What is this dummy file? Do you 
actually create a file with searchable content or is it just so the stats 
app will have something to display?

TIA


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]