RE: (ot) javascript problem

2008-07-09 Thread Stephens, Larry V
On Tue, Jul 8, 2008 at 6:42 AM, Stephens, Larry V wrote:
 I'm using a DHTML javascript menu (from DynamicDrive) that works fine in 
 Mozilla (shows no errors in the error console). The sample works fine in IE 
 but my revision (no


Thanks again for all the suggestions.

I figured it out by taking the working page and inserting the non-working 
script piece by piece. This code allows sub-menus and the doc either didn't say 
or I missed what elements were required with a sub-menu. After the first entry 
in a menu tree some elements become optional in successive elements at the same 
level. Everytime you add a sub-level those optional elements become required 
for the first entry of the sub level:

Menu1(1, 2, 3, 4, 5)
Menu2(1, 2, 3)
Menu3(1, 2, 3)
Menu3_1(1, 2, 3, 4 5)

Etc.

Turns out I had a sub-menu where I left out the ,4, 5 in the first entry. For 
whatever reason it still displayed fine in Mozilla and just threw warnings but 
it choked and died in IE. As soon as I fixed that all began working again.

I will add that the tools I mentioned earlier for debugging IE were a great 
help.


Larry V. Stephens
Indiana University
Office of Risk Management
[EMAIL PROTECTED]
812-855-9758




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: Galleon Forum - Ray Camden's Forum project

2008-07-09 Thread Raymond Camden
Thanks to all for the tech support yesterday. I was out all day.
coldfusion.developer - please let us know if things are good for you
now.

On Tue, Jul 8, 2008 at 3:09 PM, Ian Skinner [EMAIL PROTECTED] wrote:
 Dominic Watson wrote:
 Also, if the datasource named 'Galleon' is not being found - perhaps
 the problem is that the datasource does not exist, ie. it is not setup
 correctly in your CF admin...

 Dominic


-- 
===
Raymond Camden, VP of Software Dev, Broadchoice

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: problem with .net integration

2008-07-09 Thread Rick Root
Thanks Dave, I'll give that a try when I get a chance.

If that's the only way to install .net integration *AFTER* the fact on
a multi-server installation, Adobe needs to do something about that!

Rick

On Tue, Jul 8, 2008 at 7:44 PM, Dave Watts [EMAIL PROTECTED] wrote:
 HOWEVER, it requires that you install to a specific instance of CF.
 If you're running multi-server it won't install to all instances.
 That's really lame.

 After installing it to the Cfusion instance it seems to work.

 So I ran the installer 2 more times for the other two
 instances (they are clustered).. but still no luck.

 the documentation for the .net installer:

 ...

 mentions this:

 The ColdFusion installer puts the .NET Integration software
 in the cf_root\jnbridge directory. If you install the
 ColdFusion multiserver configuration or the J2EE
 configuration, you can specify the directory in which to
 install the .NET Integration software. 

 Which doesn't really help at all especially since after
 running the installer three times there is no jnbridge
 folder in any of my instances.

 The jnbridge directory only exists in a standalone server install. In a
 multiserver install, it will go to c:\coldfusion8dotnetservice instead, by
 default.

 When you reran the installer multiple times, did it let you choose different
 directories? If you haven't tried that, go ahead and try it. My guess,
 though, is that it still won't work, because each install will overwrite the
 previously defined service information.

 So, here's what I'd try:

 1. Install it and hook it to one instance.
 2. Edit the service registry key
 (HKLM\System\CurrentControlSet\Services\ColdFusion 8 .NET Service) to change
 the service name to something unique.
 3. Install it again to a different directory, hooking it to a different
 instance.
 4. Edit that registry key.
 5. Repeat steps 3 and 4 as needed.

 Let me know how that works. I haven't tried it.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


SP's AND cfqueryparam?

2008-07-09 Thread Will Tomlinson
Are you safe just using stored procedures alone, or do you always need to 
couple them with cfqueryparam?

Do you always cfqueryparam everything, no exceptions?

Thanks,
Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: SP's AND cfqueryparam?

2008-07-09 Thread Eric Cobb
 Do you always cfqueryparam everything, no exceptions?

Yep!

 Are you safe just using stored procedures alone, or do you always need 
to couple them with cfqueryparam?

If you're going to use stored procedures, use the cfstoredproc tag with 
cfprocparams.


Thanks,

Eric


Will Tomlinson wrote:
 Are you safe just using stored procedures alone, or do you always need to 
 couple them with cfqueryparam?
 
 Do you always cfqueryparam everything, no exceptions?
 
 Thanks,
 Will 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: SP's AND cfqueryparam?

2008-07-09 Thread Ian Rutherford
cfprocparam takes the place of cfqueryparam in stored procedures. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: SP's AND cfqueryparam?

2008-07-09 Thread Dominic Watson
 cfprocparam takes the place of cfqueryparam in stored procedures.

Unless you are using regular cfquery like so (in which case, yes -
always use cfqueryparam!):

cfquery name=foo datasource=bar
   exec sp_myStoredProc cfqueryparam value=#foo# c.
/cfquery

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


shared scope question

2008-07-09 Thread Leitch, Oblio
I apologize for the newbie question; brain is mush today.  I have a
function in the application scope that returns info about the request.
Such as application.getAgent() might return Mozilla... It's my
understanding that that, though the function resides in shared space, it
is executing within a page context and so will only return that
context's info.  Simultaneous calls will not mix results.  Correct?

This email message may contain privileged and/or confidential information. If 
you are not the intended recipient(s), you are hereby notified that any 
dissemination, distribution, or copying of this email message is strictly 
prohibited. If you have received this message in error, please immediately 
notify the sender and delete this email message from your computer.

CAUTION: The Agency of Human Services cannot ensure the confidentiality or 
security of email transmissions.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: shared scope question

2008-07-09 Thread Barney Boisvert
The function lives in the application scope, but that's just the
actual code of the function.  Each time it runs it accesses it's
environment, and that environmental access determines if there will be
any context issues.  If you only access the form, url, cgi, and
request scopes, you're fine.  If you access session, application, or
server, you can run into problems.

cheers,
barneyb

On Wed, Jul 9, 2008 at 8:41 AM, Leitch, Oblio
[EMAIL PROTECTED] wrote:
 I apologize for the newbie question; brain is mush today.  I have a
 function in the application scope that returns info about the request.
 Such as application.getAgent() might return Mozilla... It's my
 understanding that that, though the function resides in shared space, it
 is executing within a page context and so will only return that
 context's info.  Simultaneous calls will not mix results.  Correct?

 This email message may contain privileged and/or confidential information. If 
 you are not the intended recipient(s), you are hereby notified that any 
 dissemination, distribution, or copying of this email message is strictly 
 prohibited. If you have received this message in error, please immediately 
 notify the sender and delete this email message from your computer.

 CAUTION: The Agency of Human Services cannot ensure the confidentiality or 
 security of email transmissions.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


JVM auto-restart on Out of Memory error?

2008-07-09 Thread Chris Norloff
I'd like to set our JVMs to automatically restart when we get a Java out of
memory error. I believe I had this before at another job, but now can't find
the JVM options for this (CFMX 7.02, JVM 1.4.2_11, on Windows 2003 Server).

Sun describes some great options, but they're on later JVM versions. I may
be able to use -XX:OnError=cmd args;cmd args for running user commands
on fatal error, but I was wondering what other possibilities there are.

Thank you,
Chris




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: List Comparison

2008-07-09 Thread Kamru Miah
Thanks to all those to responded.

The ListDiff and ListInCommon UFDs seems to have solved my problem:)

Kamru
 Could some one please advise me how to compare two lists of Ids 
 (oldList, newList) and decide which Ids have been added or deleted (in 
 the newList compared to oldList) but ignore any item that are 
 unchanged? Many thanks, Kamru 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Long running ColdFusion process and JVM Garbage collection.

2008-07-09 Thread Ian Skinner
Is there anyway to encourage a ColdFusion server to run garbage 
collection during a long running, memory intensive process?

I have a process to create many, many reports.  A single report is no 
big deal and does not even make a blip on the server.  But the process 
needs to make hundreds and hundreds of them.  The process just consumes 
more and more memory as each report is created and written to a file, 
until eventually the server fails.

Is there anyway to control this so that the server can take a break and 
clean up resources consumed by already created reports before moving on.

I've tried putting pauses in the loop with the sleep() function, using 
multiple threads, nothing seems to work.

Ian

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


RE: Long running ColdFusion process and JVM Garbage collection.

2008-07-09 Thread Brad Wood
You can run Garbage Collection like this:

cfset runtime = CreateObject(java, java.lang.Runtime).getRuntime()
cfset runtime.gc()

YMMV

~Brad

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2008 11:29 AM
To: CF-Talk
Subject: Long running ColdFusion process and JVM Garbage collection.

Is there anyway to encourage a ColdFusion server to run garbage 
collection during a long running, memory intensive process?

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


CFLayout / Transparency

2008-07-09 Thread Michael Fisher
Hi,

I am running CF8 and have a question with respect to background transparency on 
CFLayouts. I came across a way to set the background to transparent if im using 
type=tabs but not type=Border. 

For cflayout type=Tabs the code is:

style
   .x-tabs-strip-wrap {
   background-color:transparent;
   }
/style

Does anybody know the css that is related to type=border or how to set the 
background to transparent / alpha:0?

Thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: List Comparison

2008-07-09 Thread Larry Lyons
 Could some one please advise me how to compare two lists of Ids 
 (oldList, newList) and decide which Ids have been added or deleted (in 
 the newList compared to oldList) but ignore any item that are 
 unchanged? Many thanks, Kamru 

You might try this approach, taken from Rupesh Kumar's blog 
(http://coldfused.blogspot.com/2007/01/extend-cf-native-objects-harnessing.html).
 BTRW he's one of the Adobe engineers in India.

First convert both lists to arrays using the list to array function, then use 
the equals method that's a part of CFMX's java base, as in

!--- convert your lists to arrays ---
cfset array1 = ListToArray(1,2,3,4,5,6,7,8) /
cfset array2 = ListToArray(2,3,4,5) /
cfset array3 = ListToArray(1,2,3,4,5,6,7,8) /

!--- Are the arrays equal? ---
cfoutput
   array1 equals array2 : #array1.equals(array2)#br /
   array1 equals array3 : #array1.equals(array3)#br /
/cfoutput

Then to find out what items are different between two list you can use the 
removeAll method, as in:

!--- Duplicate the first array we don't mess it up ---
cfset dupArray1 = Duplicate(array1) / 

!--- Remove any common items between the two arrays (and lists)---
cfset dupArray1.removeAll(array2) 

!--- convert the array back to a list and report ---
Items in array1 not in array2: cfoutput#arrayToList(dupArray1)#

hth,
larry 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Extract text from webpage content using cfhttp

2008-07-09 Thread Anthony Webb
I need to index web page contents for doing verity (or similar) searching.  I'd 
like to insert just the text that a web page returns and not any of the other 
stuff (like html, JS, CSS, images, etc)  

I noticed that cfhttp.filecontent returns the entire contents of the page, 
anyone have a good way to get at just the text?

Also, I am storing the results in a mysql database and was anticipating using 
the text data type, I assume that is the best way to go? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


RE: Extract text from webpage content using cfhttp

2008-07-09 Thread Andy Matthews
There's a built function at CFLib.org which will strip HTML tags:
http://cflib.org/udf/stripHTML

You could do a quick regex to get just the contents of the body tag, then
run that string through the StripHTML function. That'll give you any text
contained within HTML tags like p, div, etc.

At that point you could do whatever you liked with the result.


andy

-Original Message-
From: Anthony Webb [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2008 12:04 PM
To: CF-Talk
Subject: Extract text from webpage content using cfhttp

I need to index web page contents for doing verity (or similar) searching.
I'd like to insert just the text that a web page returns and not any of the
other stuff (like html, JS, CSS, images, etc)  

I noticed that cfhttp.filecontent returns the entire contents of the page,
anyone have a good way to get at just the text?

Also, I am storing the results in a mysql database and was anticipating
using the text data type, I assume that is the best way to go? 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: Extract text from webpage content using cfhttp

2008-07-09 Thread Larry Lyons
Michael Dinowitz has a great presentation/tutorial on how to do exactly that. 
http://www.houseoffusion.com/httpagent.ppt

hth,
larry

 I need to index web page contents for doing verity (or similar) 
 searching.  I'd like to insert just the text that a web page returns 
 and not any of the other stuff (like html, JS, CSS, images, etc)  
 
 I noticed that cfhttp.filecontent returns the entire contents of the 
 page, anyone have a good way to get at just the text?
 
 Also, I am storing the results in a mysql database and was 
 anticipating using the text data type, I assume that is the best way 
 to go? 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: Extract text from webpage content using cfhttp

2008-07-09 Thread Anthony Webb
Thanks for the tip I will have a look at doing this using some regex.

I did find this excellent sud tutorial on extracting text for indexing from 
html.  I really wish there was something equivalent in a nice cfc, because 
there is ton here that I really never considered.

http://nadeausoftware.com/articles/2008/04/php_tip_how_extract_keywords_web_page
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: Extract text from webpage content using cfhttp

2008-07-09 Thread Anthony Webb
I'm not so set on extracting specific elements from a page, more about indexing 
all the actual text on a page to index and show our users pages like their 
search term.  Search engines do this extraction and analysis on web pages. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: CF DNS Cache

2008-07-09 Thread Sherif Abdou
not meant to take over this thread but i am guessing that cf does cache DNS 
since i get aggregated by adobe feeds and ever since i moved my hosting I have 
to manually ping it inorder for it to update. if i switch back to my old host 
then it works fine.



- Original Message 
From: Brad Wood [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, July 8, 2008 5:01:27 PM
Subject: RE: CF DNS Cache

Hmm, looks like I was wrong.  Java does cache DNS.  Furthermore, it
appears to ignore TTL values.

Here's a page talking about it:
http://www.rgagnon.com/javadetails/java-0445.html

I'm not sure exactly how that all translates to CF though.

~Brad

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 08, 2008 4:55 PM
To: CF-Talk
Subject: RE: CF DNS Cache

I don't know that CF caches DNS, but I bet the OS probably does.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


RE: CF DNS Cache

2008-07-09 Thread Brad Wood
I don't think that would make a difference.  
You could ping an aggregator all day long, but if they are caching the
IP address your domain USED to point to, it still wouldn't pick up your
current feed.

The only way I can think of that would work is if you were manually
pinging them with a URL that used your IP address instead of a hostname
like http://123.123.123.123/rss.cfm.

Perhaps your RSS is located in a different place now and you haven't
updated your ping URLs in your blog software.

Or alternatively, the aggregator uses a separate server to do their
automated aggregating, and the server that responds to pings is a
different one.  i.e. The regularly scheduled aggregating still has your
old IP cached, but the ping URL hits an entirely different server which
doesn't have it cached.  

~Brad

-Original Message-
From: Sherif Abdou [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2008 2:41 PM
To: CF-Talk
Subject: Re: CF DNS Cache

not meant to take over this thread but i am guessing that cf does cache
DNS since i get aggregated by adobe feeds and ever since i moved my
hosting I have to manually ping it inorder for it to update. if i switch
back to my old host then it works fine.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


The error occurred on line -1

2008-07-09 Thread David Critchley
Index: 2, Size: 2 null 
The error occurred on line -1

This is the error I seem to be getting since I upgraded to CF8. Any ideas? I 
can't seem to nail it down. I've read a ton of posts online (Everywhere) and I 
can't seem to replicate it either. Our server has been crashing and we've been 
seeing this a randomly on different pages.
We haven't done any hotfixes on our server (very careful about this). So if 
someone could provide me with some info on this error, that would be great.
Thanks in advance. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: The error occurred on line -1

2008-07-09 Thread Brian Kotek
Well before you do anything else I would upgrade to 8.01 along with the
latest hotfixes. You might as well be sure that it isn't something that has
been fixed before you spend more time on it.

On Wed, Jul 9, 2008 at 5:36 PM, David Critchley [EMAIL PROTECTED]
wrote:

 Index: 2, Size: 2 null
 The error occurred on line -1

 This is the error I seem to be getting since I upgraded to CF8. Any ideas?
 I can't seem to nail it down. I've read a ton of posts online (Everywhere)
 and I can't seem to replicate it either. Our server has been crashing and
 we've been seeing this a randomly on different pages.
 We haven't done any hotfixes on our server (very careful about this). So if
 someone could provide me with some info on this error, that would be great.
 Thanks in advance.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: simple select query not working

2008-07-09 Thread Richard White
thanks for all your help

ben nadal managed to identify the problem as being the column types and using 
the following casting worked fine:

CAST(qu_82_tb_89_split_0_split_T_Ht AS DECIMAL) = CAST(142.2 AS DECIMAL) 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: The error occurred on line -1

2008-07-09 Thread David Critchley
Well before you do anything else I would upgrade to 8.01 along with the
latest hotfixes. You might as well be sure that it isn't something that has
been fixed before you spend more time on it.




We are upgrading to 8.0.1 now. Hopefully this addresses the problem, if not I 
will post back here again. I didn't see any additional hotfixes, so I assume 
there haven't been any since the release of 8.0.1


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


RE: The error occurred on line -1

2008-07-09 Thread Brad Wood
I sure hope it fixes your problem.  If not, you'll have problems
Googling for that error number.  :)

http://www.codersrevolution.com/index.cfm/2008/7/9/The-Side-of-the-Net-G
oogle-wont-show-you

~Brad

-Original Message-
From: David Critchley [mailto:[EMAIL PROTECTED] 


We are upgrading to 8.0.1 now. Hopefully this addresses the problem, 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


PHP CF 8 on Linux

2008-07-09 Thread Colman, Richard
Does anyone know if there are issues running PHP and CF8, under Apache,
on the same machine running CentOS. I am about to set this up on a
production server, and do not have a gbox to test on first.
 
Rick Colman

 
 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: PHP CF 8 on Linux

2008-07-09 Thread Barney Boisvert
I've got that exact environment running without issue in a few
different places, both physical and virtual.  Works like a champ.

cheers,
barneyb

On Wed, Jul 9, 2008 at 4:47 PM, Colman, Richard [EMAIL PROTECTED] wrote:
 Does anyone know if there are issues running PHP and CF8, under Apache,
 on the same machine running CentOS. I am about to set this up on a
 production server, and do not have a gbox to test on first.

 Rick Colman





 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: PHP CF 8 on Linux

2008-07-09 Thread Sherif Abdou
Well I did have an issue in the fact that i could not get cf-amf-polling to 
work no matter what id id. http://mysitename.com/flex2gateway never gave me 
that blank screen nor any of the server monitoring stuff worked. I suggest you 
install coldfusion first then Php and make sure the server monitor works. I 
gave up after 1 month and just went to a windows server. Also, for some reason 
i could not get it to take the Serial Number. 



- Original Message 
From: Barney Boisvert [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, July 9, 2008 6:52:09 PM
Subject: Re: PHP  CF 8 on Linux

I've got that exact environment running without issue in a few
different places, both physical and virtual.  Works like a champ.

cheers,
barneyb

On Wed, Jul 9, 2008 at 4:47 PM, Colman, Richard [EMAIL PROTECTED] wrote:
 Does anyone know if there are issues running PHP and CF8, under Apache,
 on the same machine running CentOS. I am about to set this up on a
 production server, and do not have a gbox to test on first.

 Rick Colman





 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


RE: Extract text from webpage content using cfhttp

2008-07-09 Thread Bobby Hartsfield
If you are creating the templates that are generating the HTML then you can
make it very easy on yourself by wrapping the text blocks in some kind of
marker that you can find in the cfhttp.filecontent later. Maybe wrap it in
something like !- [BEGIN TEXT TO GRAB] -- This is the text you want
indexed !-- [END TEXT TO GRAB] --

Then in cffile.filecontent, search for blocks of text between the two
comment blocks.

-Original Message-
From: Anthony Webb [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2008 1:04 PM
To: CF-Talk
Subject: Extract text from webpage content using cfhttp

I need to index web page contents for doing verity (or similar) searching.
I'd like to insert just the text that a web page returns and not any of the
other stuff (like html, JS, CSS, images, etc)  

I noticed that cfhttp.filecontent returns the entire contents of the page,
anyone have a good way to get at just the text?

Also, I am storing the results in a mysql database and was anticipating
using the text data type, I assume that is the best way to go? 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: JVM auto-restart on Out of Memory error?

2008-07-09 Thread Rick Root
So umm... why are you running out of memory?  Perhaps you could
resolve that issue and not have to worry about restarting the JVM,
which would cause problems for your users.

I just went through hell trying to PREVENT coldfusion from restarting
all the time due to memory problems...

Rick


On Wed, Jul 9, 2008 at 12:00 PM, Chris Norloff [EMAIL PROTECTED] wrote:
 I'd like to set our JVMs to automatically restart when we get a Java out of
 memory error. I believe I had this before at another job, but now can't find
 the JVM options for this (CFMX 7.02, JVM 1.4.2_11, on Windows 2003 Server).

 Sun describes some great options, but they're on later JVM versions. I may
 be able to use -XX:OnError=cmd args;cmd args for running user commands
 on fatal error, but I was wondering what other possibilities there are.

 Thank you,
 Chris




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: PHP CF 8 on Linux

2008-07-09 Thread denstar
Ditto!

On Wed, Jul 9, 2008 at 5:52 PM, Barney Boisvert wrote:
 I've got that exact environment running without issue in a few
 different places, both physical and virtual.  Works like a champ.

 cheers,
 barneyb

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: Extract text from webpage content using cfhttp

2008-07-09 Thread denstar
I wrote a website 'ripper' that I'll release someday... it's nice.

But it sounds like you're not doing anything as complex as what I was
doing, you may just use...

hmm... I can't find it right now, but there's a java class that does a
pretty good job of converting HTML to plain text.

If that's your only requirement, (although how would you highlight and
whatnot if you didn't have the rest?  It would look funky, I mean)
there are several ways to transform- oh, an XSL or something!  That's
really easy too.

Assuming the content is sorta basically well-formed, which would make
an ass outta me for doing, were I to do so.

Because it hardly ever is.

-- 
well, it is much better these days.  Thank you code generators!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: PHP CF 8 on Linux

2008-07-09 Thread Gerald Guido
Thrice. Working on getting Railo 3 beta and Apache Tom Cat to do the same.
Got it working on Winders... Centos is next.

~G~


On Wed, Jul 9, 2008 at 9:25 PM, denstar [EMAIL PROTECTED] wrote:

 Ditto!

 On Wed, Jul 9, 2008 at 5:52 PM, Barney Boisvert wrote:
  I've got that exact environment running without issue in a few
  different places, both physical and virtual.  Works like a champ.
 
  cheers,
  barneyb

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: The error occurred on line -1

2008-07-09 Thread James Holmes
There are plenty of post 8.01 hotfixes:

http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402604

On Thu, Jul 10, 2008 at 6:55 AM, David Critchley [EMAIL PROTECTED] wrote:
 We are upgrading to 8.0.1 now. Hopefully this addresses the problem, if not I 
 will post back here again. I didn't see any additional hotfixes, so I assume 
 there haven't been any since the release of 8.0.1


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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