Re: How to get directory from full URL?

2002-10-02 Thread Stephen Moretti

 I should probably have a UDF like ListRestReverse() to do that, 'cause
I've
 done it in a number of places... but I don't. :P There might be one on
 cflib.org tho... I haven't checked.


Why???  I'm so confused!!!
Why on earth, how on earth,  do so many people come up with a double
negative for a simple listdeleteat



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



SQL Question - Full-text indexing MS-WORD docs

2002-10-02 Thread Vishal Narayan

My coldfusion web application uses a SQL 2000 DB on Win 2K server. 
Presently, we are storing resumes of registered candidates in our database, 
the table being used has the following design :

USER_ID int 4   
ENTRY_DATE  datetime8   
UPDATE_DATE datetime8   
USER_RESUME text16  

I have a full-text search index on my user_resume column, and my web 
application allows users to perform keyword searches for resumes, so a 
typical query (simplified) may look like this :

select * from resume_table where contains(user_resume, 'keyword')

Previously, resumes could only be uploaded in text form, by submitting from 
a form. Now, I want users to be able to upload resumes as word documents, 
which I will store in a new image column added to the resume_table table. I 
want resumes in both formats to be searchable by full-text indexing.

Firstly, how do I implement full-text indexing on the image column 
containing MS Word documents ?

Secondly, I need to do an integrated search on both text and ms word format 
resumes, with minimal changes to my existing queries. I seem to have 3 
options (in decreasing order by amount of effort involved for me), though I 
am not sure whether all of them will work :

1. Create another full-text index for the image column storing the ms word 
docs. When doing keyword search, use both indexes.

2. Store the word documents in an image column, but do not index them. 
Instead, somehow strip out the text from each document and store it in the 
user_resume column, where it will be part of the existing full-text catalog.

3. Change the user_resume column to type image - let it store both text 
from form submit and uploaded word documents. Rebuild a full-text index on 
this column (Is this possible) ?

I'm not sure about the feasibility of any of these options, or issues that 
may arise. Would like suggestions as to the best alternative of the three, 
or any other option I may have overlooked.

Vishal.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFM Files are Locked?

2002-10-02 Thread Hugo Ahlenius

There is a very useful (free) tool at sysinternals.com that is called
nthandle. I use it frequently. Using that tool you can see list
handles/files and see exactly what application is locking your file.

I use nthandle | less and then it is easy to use less to search the
output. (it requires a less implementation, of course). nthandle | more
would work too.





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFC debug bug...

2002-10-02 Thread Jochem van Dieten

jon hall wrote:
 
 cfset objectOfOurDesire = createObject(component, beaver)

A dirty mind is a joy forever :)


Unpatched CF MX, default JRE:

Debug output:
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | feedTheBeaver( 
grapes, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | feedTheBeaver( 
pears, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | feedTheBeaver( 
sirloin steak, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm
0 ms  0 ms  1  CFC[ C:\CFusionMX\wwwroot\www\beaver.cfc | 
feedTheBeaver(apples, 1) ] from C:\CFusionMX\wwwroot\www\beaver.cfm

On screen output:
You fed the beaver 1 plates of apples
You fed the beaver 1 plates of pears
You fed the beaver 1 plates of grapes
You fed the beaver 1 plates of sirloin steak

The order is wrong (not sure if it is supposed to be chronological but I 
would expect so), but the arguments are right.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: SQL Question - Full-text indexing MS-WORD docs

2002-10-02 Thread Paul Hastings

 Previously, resumes could only be uploaded in text form, by submitting
from
 a form. Now, I want users to be able to upload resumes as word documents,

http://support.microsoft.com/support/sql/content/2000papers/FTS_White%20Pape
r.asp?GSSNB=1

add a char column to hold doc type: .doc (that's DOT
doc),.xls,.ppr,.txt,.htm  to specify that column, if you use the wizard,
there's a 3rd column, document type column to bind that indexed column to
that particular doc type. or i guess you can use the system sp,
sp_fulltext_column as well (as an option for the binding column).



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.393 / Virus Database: 223 - Release Date: 9/30/2002

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: SQL Question - Full-text indexing MS-WORD docs

2002-10-02 Thread Stephen Moretti

Although database management systems now allow you to insert binary objects
into your database, this is not their intended use and are, therefore, not
very good at this!

VERY simple solution.  Store your resumes in a safe place off of the root of
your web server and index them using Verity (CFINDEX) and search the
documents using CFSEARCH.

Verity is a purpose built text retrival engine and, although not the full
(and very expensive) version that you can purchase commercially, does its
job very well.

Doing this will make it a heck of a lot easier to retrieve your documents
that if you have to drag them out of SQL Server and its scalable!

Stephen
- Original Message -
From: Vishal Narayan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 9:48 AM
Subject: SQL Question - Full-text indexing MS-WORD docs


 My coldfusion web application uses a SQL 2000 DB on Win 2K server.
 Presently, we are storing resumes of registered candidates in our
database,
 the table being used has the following design :

 USER_ID int 4
 ENTRY_DATE datetime 8
 UPDATE_DATE datetime 8
 USER_RESUME text 16

 I have a full-text search index on my user_resume column, and my web
 application allows users to perform keyword searches for resumes, so a
 typical query (simplified) may look like this :

 select * from resume_table where contains(user_resume, 'keyword')

 Previously, resumes could only be uploaded in text form, by submitting
from
 a form. Now, I want users to be able to upload resumes as word documents,
 which I will store in a new image column added to the resume_table table.
I
 want resumes in both formats to be searchable by full-text indexing.

 Firstly, how do I implement full-text indexing on the image column
 containing MS Word documents ?

 Secondly, I need to do an integrated search on both text and ms word
format
 resumes, with minimal changes to my existing queries. I seem to have 3
 options (in decreasing order by amount of effort involved for me), though
I
 am not sure whether all of them will work :

 1. Create another full-text index for the image column storing the ms word
 docs. When doing keyword search, use both indexes.

 2. Store the word documents in an image column, but do not index them.
 Instead, somehow strip out the text from each document and store it in the
 user_resume column, where it will be part of the existing full-text
catalog.

 3. Change the user_resume column to type image - let it store both text
 from form submit and uploaded word documents. Rebuild a full-text index on
 this column (Is this possible) ?

 I'm not sure about the feasibility of any of these options, or issues that
 may arise. Would like suggestions as to the best alternative of the three,
 or any other option I may have overlooked.

 Vishal.


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFDJ Readers Choice Awards

2002-10-02 Thread Ken Wilson

And, amazingly, the leading book seems to be one that isn't even published
yet.

Ken

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: SQL Question - Full-text indexing MS-WORD docs

2002-10-02 Thread Paul Hastings

 Although database management systems now allow you to insert binary
objects
 into your database, this is not their intended use and are, therefore, not
 very good at this!

no. sql server is quite good at this. i imagine other big iron dbs are also
adept as well. rumors are that the next major OS released from ms will be
based on some form of sql server holding the filesystem. so at least they
think blobs in a db is a good idea  they think so in a big way.

 VERY simple solution.  Store your resumes in a safe place off of the root
of
 your web server and index them using Verity (CFINDEX) and search the
 documents using CFSEARCH.

duplicate doc name, no search caching, can't join tables, poor performance
compared to sql server, management headaches of x number of files, yadda
yadda yadda.

 Doing this will make it a heck of a lot easier to retrieve your documents
 that if you have to drag them out of SQL Server and its scalable!

nope. its quite scable. one the really big end of the spectrum, ms's
terraserver is built on sql server. on the small to medium sized end, we've
moved all our spatial databases and raster imagery (mainly aerial photos) to
a system built on top of sql server. we beat the crap out of it on a daily
basis. still standing.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.393 / Virus Database: 223 - Release Date: 9/30/2002

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFDJ Readers Choice Awards

2002-10-02 Thread Robertson-Ravo, Neil (REC)

isnt that a surprise?.h

-Original Message-
From: Ken Wilson [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 11:22
To: CF-Talk
Subject: RE: CFDJ Readers Choice Awards


And, amazingly, the leading book seems to be one that isn't even published
yet.

Ken


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



-OT- Javascript - Dynamic Variable Names

2002-10-02 Thread Thane Sherrington

If someone knows of a good Javascript list where I can ask this, let me 
know and I'll go there.  I'm trying to loop in Javascript and create a 
dynamic variable name in each loop (the way I can do a 
variablename#loopvalue# in CF.)  Any idea how I could do this?  I'm trying 
to access form fields, so if there is another way to loop through form 
fields (if they exist as an array for Javascript) that would be fine too.

T

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: SQL Question - Full-text indexing MS-WORD docs

2002-10-02 Thread Jochem van Dieten

Stephen Moretti wrote:
 Although database management systems now allow you to insert binary objects
 into your database, this is not their intended use and are, therefore, not
 very good at this!

Maybe, maybe not. A lot depends on what you are doing exactly, and how 
complete the database implementation is. And I do see a convergence 
between file systems and databases.


 VERY simple solution.  Store your resumes in a safe place off of the root of
 your web server and index them using Verity (CFINDEX) and search the
 documents using CFSEARCH.
 
 Verity is a purpose built text retrival engine and, although not the full
 (and very expensive) version that you can purchase commercially, does its
 job very well.

Maybe, maybe not.

What Verity misses is a lot of the metadata. If you have a collection of 
a few thousand documents and you want to restrict the resultset based on 
some predicates on this metadata, with Verity you would search the 
entire collection and then restrict the results, while in a database you 
would first restrict the documents and then search what is left. And 
even if Verity is 10 times faster, if your predicates reduce the amount 
of documents you have to search by a factor 20 the searching in the 
database is faster (assuming some partial index system is used).
Also, transactional stuff is possible when keeping everything in the 
database.

On the other hand, if it is merely a bunch of product documentation that 
you search by product and you can split the collections until you have a 
collection for each product Verity is probably faster.


Naturally all of this will change soon. With the switch from some binary 
format for Office documents to a XML based format (announced for version 
11) it might very well be that a combination of first doing a 
transformation to strip the bloat and then storing the stripped XML file 
in a native XML db and storing a stylesheet separately might be the best 
way. Maybe one of the XML/XSL guru's can comment on the best way to do 
storage/retrieval/search for this type of documents?

I hope this doesn't just add to the confusion :)

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: -OT- Javascript - Dynamic Variable Names

2002-10-02 Thread Marlon Moyer

www.irt.org is a great resource and here's a link to an answer to your 
question:

http://developer.irt.org/script/809.htm

Marlon

Thane Sherrington wrote:

If someone knows of a good Javascript list where I can ask this, let me 
know and I'll go there.  I'm trying to loop in Javascript and create a 
dynamic variable name in each loop (the way I can do a 
variablename#loopvalue# in CF.)  Any idea how I could do this?  I'm trying 
to access form fields, so if there is another way to loop through form 
fields (if they exist as an array for Javascript) that would be fine too.

T


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Has anyone seen this before? - documented bug?

2002-10-02 Thread Dave Wilson

Hi all,

I've just been checking through our applications after upgrading from CF4.5
to CFMX and came across the following strange error.

Basically I have a template which carries out various calculations to
determine insurance premiums for a vehicle. So my final output variable is
simply called premium - Straightforward enough.

When I run the template using CFMX, I get the following error message:
Complex object types cannot be converted to simple values.
The expression has requested a variable or an intermediate expression result
as a simple value, however, the result cannot be converted to a simple
value. Simple values are strings, numbers, boolean values, and date/time
values. Queries, arrays, and COM objects are examples of complex values.
The most likely cause of the error is that you are trying to use a complex
value as a simple one. For example, you might be trying to use a query
variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an
error in later versions.


Now, when I went through my calculation steps, I found that by changing the
variable name to ins_premium, everything worked fine. So, basically my
question is:

Is premium a reserved word? If so, is it in fact a complex object as
suggested by the error message? Is this documented or should I be submitting
it as a bug report?

TIA,
Dave

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFM Files are Locked?

2002-10-02 Thread Zac Spitzer

[EMAIL PROTECTED] wrote:
 IIS likes to lock files for a little while if they have been recently accessed from 
the web.  

If you wait about 30 mins, they'll be freed.  Annoying.

rename then delete then write a new file always seems to work for me in w2k

z

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: CFM Files are Locked?

2002-10-02 Thread Hugo Ahlenius

or restart IIS, seems less of a hassle compared to waiting 30 mins! :)
(for a non-production machine...)





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Searching with ListFind

2002-10-02 Thread Everett, Al

You can reference a query as a 2-D array.

 -Original Message-
 From: Brian Scandale [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 01, 2002 8:29 PM
 To: CF-Talk
 Subject: RE: Searching with ListFind
 
 
 Yeah, I know... stupid question. ;-(   
 
 I was thinking that there was some internal list ready for 
 use... that I just needed to know what and how to address it.
 
 Brian
 
 At 04:58 PM 10/1/02, you wrote:
 Well, I suppose you don't have to define the list if you 
 don't want to.
 
 cfif ListFind(ValueList(query.colum),value)Do Something 
 Here If test
 value Exists/cfif
  
  
 
 -Original Message-
 From: Brian Scandale [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, October 01, 2002 2:40 PM
 To: CF-Talk
 Subject: Searching with ListFind
 
 I have a query that will return one column perhaps with 3 or 
 four rows. 
 
 I want to check the column for the existence of a specific 
 test value.
 
 I do NOT want to loop over the query checking each value to see if it
 matches the test value because I need to do this on every row output
 from another query... perhaps as many as 300 rows.
 
 --
 I think I want to use:
 
 cfif ListFind(list, value [, delimiters ])Do Something Here If test
 value Exists/cfif 
 
 However... How do I specify the list in the above function?  
 Doesn't a
 query have some predefined list I can use?
 
 
 Or am I forced to first define the list like this?
 
 cfset theList = ValueList(query.column [, delimiter ])
 
 
 Thanks,
 Brian
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Math In MX?

2002-10-02 Thread Everett, Al

Not that this answers your question, but you're unnecessarily using pound
signs.

cfset Answer = CountMale.RecordCount / Responses is more correct.

Scoping your variable wouldn't be a bad idea either.

 -Original Message-
 From: Lee Fuller [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 01, 2002 10:19 PM
 To: CF-Talk
 Subject: Math In MX?
 
 
 Ok.. I'm confused...
 
 If...
 
 #countmale.record# = 379  (which a cfoutput confirms)
 
 And...
 
 #responses# = 1093 (which a cfoutput confirms)
 
 Then how the heck does...
 
 cfset Answer = #CountMale.RecordCount#/#Responses#
 
 End up being 0.0111569031498 ?
 
 The answer is simple math.. And SHOULD be.. 0.346752058554.  
 Which, when
 multiplied by 100 yields the percentage.
 
 Sooo  What am I missing?
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: -OT- Javascript - Dynamic Variable Names

2002-10-02 Thread Thane Sherrington

At 06:40 AM 02/10/02 -0500, Marlon Moyer wrote:
www.irt.org is a great resource and here's a link to an answer to your
question:

Thanks.  That appears to have solved it.

T

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: what do you use for email newsletters ?

2002-10-02 Thread Larry Juncker

We use Infusion MSMail or iMSMail for short.

It works super.

Larry Juncker
Senior Cold fusion Developer
Heartland Communications Group, Inc.
[EMAIL PROTECTED]
(515) 574-2122

CONFIDENTIALITY NOTICE
The information contained in this e-mail is intended only for the use of the
individual or entity to which it is addressed.  This e-mail may contain
information that is privileged, confidential and/or personal.  If the reader
of this message is not the intended recipient (or the employee or agent
responsible to deliver it to the intended recipient), you are hereby
notified that any dissemination, distribution, or copying of this
communication is prohibited.

If you have received this communication in error, please notify us at the
e-mail listed above.

-Original Message-
From: John Innit [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 5:17 PM
To: CF-Talk
Subject: what do you use for email newsletters ?


We've been asked to add email newsletters / alert functionality to a
clients web site.

The client is a recruitment company and wants to maintain a list of
prospective candidates that can be automatically alerted  when the company
has new job openings. The clients wants to be able to manually add / remove
names to the email list and to enable new job seekers to add themselves or
modify their settings through their web site.

The settings will be quite simple, a new job seeker can specify to receive
alerts for

1) Software development jobs
2) Management jobs
3) all jobs

When the recruitment company has a new job requirement they will type it
up, assign it to a category, and then have an option to send it out to all
the prospective job seekers who have requested for alerts in that category.
Before the emails are sent out the company wants a list of all the
recipients so that they can manually delete or add people from the list
before the mailing is kicked off.

I realize this is a simple project and there are numerous ways to get this
done. What I'm looking are suggestions on how to get this done very quickly
( 2 week time line)  I also want to know if there is an existing product we
can buy which with some customization can achieve this for us. Would love
to receive recommendations, suggestions or even proposals if you have a
fast solution.

Thanks.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



CFFORM - BUG

2002-10-02 Thread Adam Reynolds

Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of a
page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE, _CF_this.TITLE.value, 
Title
MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



XML parsing error...

2002-10-02 Thread John Beynon

i'm trying to read in an XML file to do some manipulation with it - 
 
Using CFFile it works fine:
 
cffile action=read file=#request.pathtoXML#\#request.XMLfilename#
variable=application.blogXML 
 
but if i want to avoid a CFFILE call I could use CFSAVECONTENT eg;
 
 cfsavecontent variable=application.blogXML
 cfinclude template=blog.XML
 /cfsavecontent
 
my CFC starts with:
myblog   = xmlParse(application.blogXML);
blogtitle  = myblog.blog.blogtitle.xmlText;
blogdescription = myblog.blog.blogdescription.xmlText;
...
 
 
the CFFILE method works fine but using the SAVECONTENT method returns:
XML declaration may only begin entities.
 
any ideas what this means?
 
thanks
 
john.
 

* [EMAIL PROTECTED] * +44 (0)1372 367147 *  http://www.era.co.uk/
http://www.era.co.uk/

 


*
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. 
The information supplied in this email should be treated in confidence.
No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: CFFORM - BUG

2002-10-02 Thread Mike Townend

Its perfectly valid... Your only supposed to run 1 website per
coldfusion server ;)



-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 2, 2002 14:37
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, Title MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



OT:: Redhat FTP mirrors.

2002-10-02 Thread Che Vilnonis

Sorry for the OT post.
Does anyone have a good link for Redhat FTP mirrors?

TIA - Ché

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Query of Queries Error

2002-10-02 Thread Ryan Kime

I am getting the same Unsupported Numeric type error on a QofQ from a site
I'm migrating from CF5 to CFMX. It worked fine in CF5. Mine sounds only
slightly different in the fact that my QofQ is only used to order the query
results. Notice I don't have all the tie fields in the QofQ, could that
affect it? If anyone has any ideas or a better way to order the results, I'm
all ears...

[SNIP]

cfset newRow  = QueryAddRow(teamStandings, 1)
!--- set the cells in the query ---
cfset temp = QuerySetCell(teamStandings, site_id, #site_id#,
#loop_count#)
cfset temp = QuerySetCell(teamStandings, name,
#organization_name#, #loop_count#)
cfset temp = QuerySetCell(teamStandings, wins, #wins#,
#loop_count#)
cfset temp = QuerySetCell(teamStandings, losses, #losses#,
#loop_count#)
cfset temp = QuerySetCell(teamStandings, ties, #ties#,
#loop_count#)
cfset temp = QuerySetCell(teamStandings, dist_wins,
#dist_wins#, #loop_count#)
cfset temp = QuerySetCell(teamStandings, dist_losses,
#dist_losses#, #loop_count#)
cfset temp = QuerySetCell(teamStandings, dist_ties,
#dist_ties#, #loop_count#)

cfset loop_count = loop_count + 1
/cfloop

cfquery name=Standings dbtype=query
SELECT
site_id,
name,
wins,
losses,
dist_wins,
dist_losses
FROM teamStandings
ORDER BY dist_wins DESC
/cfquery


-Original Message-
From: Sam Farmer [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 30, 2002 11:22 AM
To: CF-Talk
Subject: Query of Queries Error


Hi,

I have a query of queries that has been working fine until today when I
started getting the following error:

Query Of Queries runtime error.
Unsupported Numeric type conversion in Query of Queries.

Thats the extent of the error message provided!  The columns seem to match
up exactly on database type and length.

Can anyone help provide some insight?

Thanks,

Sam

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



ot: sql server error, help!

2002-10-02 Thread Tony Weeg

The job failed.  Unable to determine if the owner
(NAVTRAK525\Administrator) of job SystemStatusCheck1 has server access
(reason: The server could not load DCOM. [SQLSTATE 42000] (Error 7404)).

this is what I am getting, when we try to run a job that has ran fine
for 6 months.  all of a sudden this morning I am getting this error.

Navtrak525\Administrator has full permissions as DBO\Server Admin\etc.
etc. etc.

does anyone have a clue why I would be getting this one?

thanks.

ps. If I run it under SA, I get no issues, and it runs fine.

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CFFORM - BUG

2002-10-02 Thread Ben Forta

That is the default behavior, but you may specify an alternate path in
the CFFORM SCRIPTSRC attribute.

So, nope, not really stupid at all.

--- Ben


-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 9:37 AM
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, Title MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Save form data before submit

2002-10-02 Thread Ryan Kime

Something like this? I am using this in a contact form page.

script language=javascript

function getperson() {

if (document.Form1.Products.value==GI) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==HE) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==SP) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==BP) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==MP) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==TS) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==IR) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==HR) {
document.Form1.sendto.value=[EMAIL PROTECTED] }
if (document.Form1.Products.value==SU) {
document.Form1.sendto.value=[EMAIL PROTECTED] }

}
/script

The sendto field is hidden. And the function is called using an OnChange
event from a dropbox.


-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 01, 2002 8:07 PM
To: CF-Talk
Subject: RE: Save form data before submit


oh please oh please.that would rock.

i hope someone who knows replies to this...this would
be very coolor, what about sending the data
to a session variable onBlur :)

that would be even nicer!!

tw


-Original Message-
From: Paul Campano [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 01, 2002 9:30 PM
To: CF-Talk
Subject: Save form data before submit


Is there a way I can save the data from a form field BEFORE the submit
button is pressed?  I thought I saw something awhile back that used
javascript to save each line to a db onBlur  ?  Has anyone done this or have
an idea on how it can be done?  Thanks.

Paul Campano




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: : Redhat FTP mirrors.

2002-10-02 Thread Dave Livingston

I searched Google for redhat 8 mirror and eventually found one that
wasn't crawling. I'd tell you which one I found but then you would slow
me down and I almost have the 3rd iso pulled down.
Dave

PS I'll email you off list when I get the last cd pulled down.

David Livingston
Network Admin
214-871-9117
[EMAIL PROTECTED]


-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 8:56 AM
To: CF-Talk
Subject: OT:: Redhat FTP mirrors.

Sorry for the OT post.
Does anyone have a good link for Redhat FTP mirrors?

TIA - Ché


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFFORM - BUG

2002-10-02 Thread Alex Hubner

If space is not a problem, upload the scripts and classes folders to a
/cfide/ folder under your website root. It's only 7megs.

Any legal/licensing implications on that? Not sure, maybe not.

[]'s
Alex

| alex hübner
| [EMAIL PROTECTED]
| www.amazonia.org.br


 -Original Message-
 From: Mike Townend [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 10:49 AM
 To: CF-Talk
 Subject: RE: CFFORM - BUG
 
 
 Its perfectly valid... Your only supposed to run 1 website 
 per coldfusion server ;)
 
 
 
 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 2, 2002 14:37
 To: CF-Talk
 Subject: CFFORM - BUG
 
 
 Ok,
 This is really stupid. If I use CFForm on a server where 
 /CFIDE has been moved to somewhere 'secure' the following 
 code is inserted at the top of a page containing cfform. I 
 have a field called item.
 
 
 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript 
 SRC=/CFIDE/scripts/cfform.js/SCRIPT
 
 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 !--
 
 function  _CF_checkpageitemedit(_CF_this)
 {
   if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
   {
   if  (!_CF_onError(_CF_this, _CF_this.TITLE, 
 _CF_this.TITLE.value, Title MUST be provided.))
   {
   return false;
   }
   }
 
   return true;
 }
 
 
 You lot really need to sort this out.
 
 This line only works where CFIDE is specifically under your 
 root. SCRIPT LANGUAGE=JavaScript TYPE=text/javascript 
 SRC=/CFIDE/scripts/cfform.js/SCRIPT
 
 Adam
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



topdoc.gif (WAS RE: CFFORM - BUG)

2002-10-02 Thread Ian Tait

On a similar note,

Why is there a link in the debugging (classic look) info to a gif within
/CFIDE?:

/CFIDE/debug/images/topdoc.gif

In one scenario, if /CFIDE exists, but is password protected NTLM popup
stylee, you get prompted for 
the user/password - a tad annoying, if /CFIDE hasn't been mapped,  - no gif.

Ian


-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 15:02
To: CF-Talk
Subject: RE: CFFORM - BUG


That is the default behavior, but you may specify an alternate path in
the CFFORM SCRIPTSRC attribute.

So, nope, not really stupid at all.

--- Ben


-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 9:37 AM
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, Title MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: : Redhat FTP mirrors.

2002-10-02 Thread Justin Ribeiro

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If you're looking for the 8.0 release, Psyche, the most up-to-date
list is at:
http://freshrpms.net/mirrors/psyche.html

If you're looking for Red Hat mirrors, check Red Hat's list:
http://redhat.com/download/mirror.html

Cheers,

Justin

- -Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 6:56 AM
To: CF-Talk
Subject: OT:: Redhat FTP mirrors.


Sorry for the OT post.
Does anyone have a good link for Redhat FTP mirrors?

TIA - Ché


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Deleting Compiled Java

2002-10-02 Thread Adam Reynolds

How do I do this and why can't I purge all the compiled java through the MX
admin interface?

Adam

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Deleting Compiled Java

2002-10-02 Thread Robertson-Ravo, Neil (REC)

not sure?  have you restarted the services?  

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 15:22
To: CF-Talk
Subject: Deleting Compiled Java


How do I do this and why can't I purge all the compiled java through the MX
admin interface?

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: : Redhat FTP mirrors.

2002-10-02 Thread Che Vilnonis

Thanks guys!!!

-Original Message-
From: Justin Ribeiro [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 10:12 AM
To: CF-Talk
Subject: RE: : Redhat FTP mirrors.



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If you're looking for the 8.0 release, Psyche, the most up-to-date
list is at:
http://freshrpms.net/mirrors/psyche.html

If you're looking for Red Hat mirrors, check Red Hat's list:
http://redhat.com/download/mirror.html

Cheers,

Justin

- -Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 6:56 AM
To: CF-Talk
Subject: OT:: Redhat FTP mirrors.


Sorry for the OT post.
Does anyone have a good link for Redhat FTP mirrors?

TIA - Ché



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Deleting Compiled Java

2002-10-02 Thread Bryan F. Hogan

You can manually delete the files in this folder

#MX_WebRoot#\WEB-INF\cfclasses

Don't know why that is not in the admin. Did not really think about it.





-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 10:22 AM
To: CF-Talk
Subject: Deleting Compiled Java


How do I do this and why can't I purge all the compiled java through the MX
admin interface?

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Deleting Compiled Java

2002-10-02 Thread Benjamin S. Rogers

The class and java files are located in the following directory:

  \CFusionMX\wwwroot\WEB-INF\cfclasses\

After deleting them, you'll have to restart the ColdFusion service. As
for why you can't flush the classes from within the administration
interface, I don't know. It would seem like a good idea to me.

Benjamin S. Rogers
http://www.c4.net/
v.508.240.0051
f.508.240.0057

-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 10:22 AM
To: CF-Talk
Subject: Deleting Compiled Java


How do I do this and why can't I purge all the compiled java through the
MX
admin interface?

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Deleting Compiled Java

2002-10-02 Thread Mike Townend

I usually delete everything that's in the 

C:\CFusionMX\wwwroot\WEB-INF\cfclasses

Directory 

Altho sometimes I need to stop the service then delete the files and
then start the service...


HTH




-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 2, 2002 15:22
To: CF-Talk
Subject: Deleting Compiled Java


How do I do this and why can't I purge all the compiled java through the
MX admin interface?

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Cross posting: CF5 eval???

2002-10-02 Thread Sean A Corfield

On Tuesday, Oct 1, 2002, at 06:49 US/Pacific, Christine Lawson wrote:
 Great, for future reference here is the direct link to the  
 Developer/Trial version of CF 5 for Windows:  
 http://download.macromedia.com/pub/coldfusion/esd/coldfusion-50-win- 
 us_devrel.exe

With permission from the product team management, I have blogged this  
link (yeah, I bet several of you went off and blogged it already  
anyway!). I also blogged (yesterday) the URL into the CF FAQ that talks  
about how to buy CF5 for those folks that need it.

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFFORM - BUG

2002-10-02 Thread Adam Reynolds

Actually it is stupid because Dreamweaver MX on hitting Ctrl+F5 does not
provide you with the full parameter set for cfform so there is no clue as to
why this is happening.

It will also cause issues with people that are remotely web hosting their
sites where they assume CFFORM will work as before but actually requires
them to specify where the form scripts should be found or upload them. To
take something that encapsulated the functionality inside the form you were
displaying and to put that functionality into a file available inside the
CFIDE directory was a poorly thought out 'improvement'.

In fact this is a pain to catch. I thought it was my code and was only able
to trap the problem after about an hour of running round.

This change has not been thought through correctly.

So I would now like to repeat myself by stating that it is actually stupid
and could easily have been avoided. It does not help that Dreamweaver MX
does not provide you with the full set of parameters.

Adam


 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]]
 Sent: 02 October 2002 15:02
 To: CF-Talk
 Subject: RE: CFFORM - BUG


 That is the default behavior, but you may specify an alternate path in
 the CFFORM SCRIPTSRC attribute.

 So, nope, not really stupid at all.

 --- Ben


 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 02, 2002 9:37 AM
 To: CF-Talk
 Subject: CFFORM - BUG


 Ok,
 This is really stupid. If I use CFForm on a server where /CFIDE has been
 moved to somewhere 'secure' the following code is inserted at the top of
 a page containing cfform. I have a field called item.


 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 SRC=/CFIDE/scripts/cfform.js/SCRIPT

 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 !--

 function  _CF_checkpageitemedit(_CF_this)
 {
   if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
   {
   if  (!_CF_onError(_CF_this, _CF_this.TITLE,
 _CF_this.TITLE.value, Title MUST be provided.))
   {
   return false;
   }
   }

   return true;
 }


 You lot really need to sort this out.

 This line only works where CFIDE is specifically under your root.
 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 SRC=/CFIDE/scripts/cfform.js/SCRIPT

 Adam


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Verity Search Holding Page

2002-10-02 Thread Ian Vaughan

Hi

I am using the verity search engine with Coldfusion server 4.5, however I am
encountering some big problems with this.

Has anybody found the search to be very slow, I am finding that when I fill
in the form field with a term to be searched it can cause some problems if
you are using Internet Explorer 6.

So what I would like to do and would be gratefull if somebofy could help on
the list is...

Create a search holding screen so when a user enteres the search term in the
form field and clicks the search button and verity is processing a search
and a pop up window appears telling the user that verity is searching the
site before being taken to the results page when the search has finished.

Something like expedia does when searching for a flight ???

Any ideas would be most welcome on the best approach to achieve the above?

Thanks
Ian

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Purging Client Session Vars

2002-10-02 Thread Matthew Friedman

I have a quick question about the way CF 5 Purge data for clients that
remain unvisited.

I have set CF to remove anything that is over 10 days but when I checked the
database, I saw lastvisit dates of 3/20/02 as the last visit.

Do I need to write my own service to do this or did I not set up the CF
admin correctly.

Also we are using a clustered server config if CF Profession 5 if that makes
a difference.

Matt



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



OT: Hosting question

2002-10-02 Thread Kris Pilles

I am looking to expand my hosting customer base and I am curious if
anyone knows of where I can either buy accounts from an existing hosting
company or buy a hosting company etc..any sort of input would be
greatly appreciated.

I am having no luck in the search engines looking for anything like this

Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Random Stuff

2002-10-02 Thread Adrian Lynch

I have a udf that creates a random string that works great. The problem is,
looping over this for multiple inserts into a db causes problems because it
loops to quickly. Someone mentioned that all the random functions in CF use
the current time/date as a seed. The way around this is to either slow down
the loop, or to append something on the end of the string, in this case the
index of the loop.

Does anyone have a way to generate random numbers as fast as I need them?

Adrian Lynch
Thoughtbubble Ltd
--
United Kingdom
http://www.thoughtbubble.net
Ph: +44 (0) 20 7387 8890
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s) . Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0) 20 7387 8890


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



CFC incorrect argument type - possible bug?

2002-10-02 Thread Deanna Schneider

Hi Folks,
So, I've installed cfmx on the laptop and I'm playing around with writing
cfc's, and I didn't RTFM. So, when I was setting up an argument in the CFC,
I claimed it would have a type of integer. (Seems like it should be a
valid type, since it's a valid Java type, thinks me.)

Anyway, CFC browses just fine, tells me what arguments are expected, etc.

Then, I try to use it, and pass in the value of 73 to the CFC. Now, I get
an error saying that 73 is not an integer.

I figured out that integer is not a valid type, switched it to numeric, and
all is wellbut why didn't the CFC error out claiming invalid type? Why
does it only error when you try to use it and then with an erroneous error?
Would you call this a bug?


Deanna Schneider
Interactive Media Developer
[EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Purging Client Session Vars

2002-10-02 Thread Debbie Dickerson

Have you applied the hot fix that fixes an issue with purging from databases? Sounds 
like what you might be running in to. It's available here: 
http://www.macromedia.com/v1/Handlers/index.cfm?ID=22730Method=Full

Deb

-Original Message-
From: Matthew Friedman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 10:59 AM
To: CF-Talk
Subject: Purging Client Session Vars


I have a quick question about the way CF 5 Purge data for clients that
remain unvisited.

I have set CF to remove anything that is over 10 days but when I checked the
database, I saw lastvisit dates of 3/20/02 as the last visit.

Do I need to write my own service to do this or did I not set up the CF
admin correctly.

Also we are using a clustered server config if CF Profession 5 if that makes
a difference.

Matt




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFC incorrect argument type - possible bug?

2002-10-02 Thread Raymond Camden

If you specify a type that CFCs don't recognize, it assumes you mean
another CFC. This allows you to define arguments that are instances of
CFCs.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Deanna Schneider [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 11:00 AM
 To: CF-Talk
 Subject: CFC incorrect argument type - possible bug?
 
 
 Hi Folks,
 So, I've installed cfmx on the laptop and I'm playing around 
 with writing
 cfc's, and I didn't RTFM. So, when I was setting up an 
 argument in the CFC,
 I claimed it would have a type of integer. (Seems like it 
 should be a
 valid type, since it's a valid Java type, thinks me.)
 
 Anyway, CFC browses just fine, tells me what arguments are 
 expected, etc.
 
 Then, I try to use it, and pass in the value of 73 to the 
 CFC. Now, I get
 an error saying that 73 is not an integer.
 
 I figured out that integer is not a valid type, switched it 
 to numeric, and
 all is wellbut why didn't the CFC error out claiming 
 invalid type? Why
 does it only error when you try to use it and then with an 
 erroneous error?
 Would you call this a bug?
 
 
 Deanna Schneider
 Interactive Media Developer
 [EMAIL PROTECTED]
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Random Stuff

2002-10-02 Thread Mosh Teitelbaum

How about CreateUUID()?

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


 -Original Message-
 From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 02, 2002 10:42 AM
 To: CF-Talk
 Subject: Random Stuff


 I have a udf that creates a random string that works great. The
 problem is,
 looping over this for multiple inserts into a db causes problems
 because it
 loops to quickly. Someone mentioned that all the random functions
 in CF use
 the current time/date as a seed. The way around this is to either
 slow down
 the loop, or to append something on the end of the string, in
 this case the
 index of the loop.

 Does anyone have a way to generate random numbers as fast as I need them?

 Adrian Lynch
 Thoughtbubble Ltd
 --
 United Kingdom
 http://www.thoughtbubble.net
 Ph: +44 (0) 20 7387 8890
 --
 The information in this email and in any attachments is confidential and
 intended solely for the attention and use of the named addressee(s) . Any
 views or opinions presented are solely those of the author and do not
 necessarily represent those of Thoughtbubble. This information may be
 subject to legal, professional or other privilege and further distribution
 of it is strictly prohibited without our authority. If you are not the
 intended recipient, you are not authorised to disclose, copy,
 distribute, or
 retain this message. Please notify us on +44 (0) 20 7387 8890


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Hosting question

2002-10-02 Thread Rex Wickham

Hi
Take a look at www.coldfusionhosts.net

It's got lots of hosting companies listed. Could be a useful starting
point..

Rex
Coldfusionhosts admin

- Original Message -
From: Kris Pilles [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 3:56 PM
Subject: OT: Hosting question


I am looking to expand my hosting customer base and I am curious if
anyone knows of where I can either buy accounts from an existing hosting
company or buy a hosting company etc..any sort of input would be
greatly appreciated.

I am having no luck in the search engines looking for anything like this

Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Random Stuff

2002-10-02 Thread kpeterson

Can you use the random function on the database instead?

Kore Peterson
Database Development Specialist
SEH - Minneapolis
612.758.6739




   
 
Mosh Teitelbaum
 
mosh.teitelbaum@   To: CF-Talk 
[EMAIL PROTECTED] 
evoch.com  cc:
 
Subject: RE: Random Stuff  
 
10/02/2002 10:15   
 
AM 
 
Please respond to  
 
cf-talk
 
   
 
   
 




How about CreateUUID()?

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


 -Original Message-
 From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 02, 2002 10:42 AM
 To: CF-Talk
 Subject: Random Stuff


 I have a udf that creates a random string that works great. The
 problem is,
 looping over this for multiple inserts into a db causes problems
 because it
 loops to quickly. Someone mentioned that all the random functions
 in CF use
 the current time/date as a seed. The way around this is to either
 slow down
 the loop, or to append something on the end of the string, in
 this case the
 index of the loop.

 Does anyone have a way to generate random numbers as fast as I need them?

 Adrian Lynch
 Thoughtbubble Ltd
 --
 United Kingdom
 http://www.thoughtbubble.net
 Ph: +44 (0) 20 7387 8890
 --
 The information in this email and in any attachments is confidential and
 intended solely for the attention and use of the named addressee(s) . Any
 views or opinions presented are solely those of the author and do not
 necessarily represent those of Thoughtbubble. This information may be
 subject to legal, professional or other privilege and further
distribution
 of it is strictly prohibited without our authority. If you are not the
 intended recipient, you are not authorised to disclose, copy,
 distribute, or
 retain this message. Please notify us on +44 (0) 20 7387 8890




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Cross posting: CF5 eval???

2002-10-02 Thread Charlie Griefer

Sean:

Very cool...and not to push it...how about Studio 5?  We get quite a few
people coming into our #cf channel asking how they can get a (legitimate)
copy of Studio 5.

Thx,
Charlie

- Original Message -
From: Sean A Corfield [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 7:47 AM
Subject: Re: Cross posting: CF5 eval???


 On Tuesday, Oct 1, 2002, at 06:49 US/Pacific, Christine Lawson wrote:
  Great, for future reference here is the direct link to the
  Developer/Trial version of CF 5 for Windows:
  http://download.macromedia.com/pub/coldfusion/esd/coldfusion-50-win-
  us_devrel.exe

 With permission from the product team management, I have blogged this
 link (yeah, I bet several of you went off and blogged it already
 anyway!). I also blogged (yesterday) the URL into the CF FAQ that talks
 about how to buy CF5 for those folks that need it.

 Sean A Corfield -- http://www.corfield.org/blog/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



OTG ApplicationXtender and ColdFusion

2002-10-02 Thread Mark W. Breneman

Anyone out there have any experience good or bad with using OTG
ApplicationXtender with coldfusion?



Thanks

Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Converting PDF's to text

2002-10-02 Thread Jillian Carroll

I'm faced with a bit of a problem here... I've got a client who is hosted on
my CF 5 (soon to be CFMX once I can get CFMX to run stable in my testing
environment) box on Linux.

This client has a need to search through PDF's... well it has become very
apparent that CF on Linux will not index PDF's... even though it will under
Windows.

With that said... I need a solution.  One idea I had was to find a utility
that would convert PDF's to text files and then search them, but point the
search results back to the PDF itself.

Has anybody had to design a workaround for this problem?  Does anybody know
of a good utility to help me with this task?

Any help would be appreciated.

--
Jillian

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Recordset as cfargument?

2002-10-02 Thread Paul Wilson

How can I pass a recordset from Flash to ColdFusion through Flash remoting and loop 
through the recordset in the cfc?

In actionscript I have..

myservice.UpdateContactRS(newvalues_rs) // This sends the recordset to the cfc

I know i need a function (cffunction) called UpdateContactRS, but how do i use the 
recordset? What is the datatype in CF?

Thanks
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Recordset as cfargument?

2002-10-02 Thread Raymond Camden

It should be converted to a query. So your argument would be:

cfargument name=whatever type=query required=true or
false, up to you

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Paul Wilson [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 11:56 AM
 To: CF-Talk
 Subject: Recordset as cfargument?
 
 
 How can I pass a recordset from Flash to ColdFusion through 
 Flash remoting and loop through the recordset in the cfc?
 
 In actionscript I have..
 
 myservice.UpdateContactRS(newvalues_rs) // This sends the 
 recordset to the cfc
 
 I know i need a function (cffunction) called 
 UpdateContactRS, but how do i use the recordset? What is 
 the datatype in CF?
 
 Thanks
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Cross posting: CF5 eval???

2002-10-02 Thread Sean A Corfield

On Wednesday, Oct 2, 2002, at 08:29 US/Pacific, Charlie Griefer wrote:
 Very cool...and not to push it...how about Studio 5?  We get quite a 
 few
 people coming into our #cf channel asking how they can get a 
 (legitimate)
 copy of Studio 5.

Hmm, I don't know. I'll defer to Christine L and Vern V (both cc'd).

I have always wished that my computer would be as easy to use as my 
telephone.
  My wish has come true - I no longer know how to use my telephone.
-- Bjarne Stroustrup

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



failed to send

2002-10-02 Thread Robert Orlini

Hello,

Upon checking the mail log in the CF directory I noticed that it contains many lines 
as follows:

Error,TID=208,08/13/02,11:42:37,Failed to send the spooled mail file, 
C:\CFUSION\MAIL\spool\902.cfmail. 
SMTP server replied Internal error: Pending mail operations must be completed. Moved 
file to C:\CFUSION\MAIL\undelivr\904.cfmail.

We have two identical web servers running IIS 4.0; NT 4.0; CF 4.5.1 and are a PDC/BDC 
setup. 

I'm not getting any of the emails using the cfmail in my script on this machine (which 
is a BDC). The mails get thrown in the undeliverable folder with the above error 
message. It was working previously. The PDC does not get this message in its logs and 
is setup the same. What pending mail operations... must be completed??

Any suggestions? Thanks.

Robert Orlini
HWW


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Recordset as cfargument?

2002-10-02 Thread Mike Townend

When I was trying it.. It wouldn't work...

Couldn't seem to send anything but simple variable types from flash to
CF...

However recordsets from CF to flash worked a charm..



-Original Message-
From: Paul Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 2, 2002 16:56
To: CF-Talk
Subject: Recordset as cfargument?


How can I pass a recordset from Flash to ColdFusion through Flash
remoting and loop through the recordset in the cfc?

In actionscript I have..

myservice.UpdateContactRS(newvalues_rs) // This sends the recordset to
the cfc

I know i need a function (cffunction) called UpdateContactRS, but how
do i use the recordset? What is the datatype in CF?

Thanks

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Cross posting: CF5 eval???

2002-10-02 Thread Vernon Viehe

CF Studio has been renamed as HomeSite+, and is available with the purchase of DWMX 
(Win) - at a price less than CFStudio was. No prior versions of CF Studio are 
available.

It's true that HomeSite+ (essentially CFStudio 5.1) had some UI changes as a result of 
the Adobe lawsuit, specifically, the customization of the panels was mostly affected - 
see the release notes known issues for more info:
http://www.macromedia.com/support/homesite/releasenotes/plus/releasenotes_plus.html#known
 (section titled The following interface changes are in effect for this release: )

Vernon Viehe 
ColdFusion Community Manager 
Developer Relations 
Macromedia, Inc. 
Online diary: http://vvmx.blogspot.com/ 
 
Macromedia DevCon 2002, October 27-30, Orlando, Florida 
Architecting a New Internet Experience 
Register today at www.macromedia.com/go/devcon2002

-Original Message-
From: Sean A Corfield
To: [EMAIL PROTECTED]
Cc: Vern Viehe; [EMAIL PROTECTED]
Sent: 10/2/2002 8:45 AM
Subject: Re: Cross posting: CF5 eval???

On Wednesday, Oct 2, 2002, at 08:29 US/Pacific, Charlie Griefer wrote:
 Very cool...and not to push it...how about Studio 5?  We get quite a 
 few
 people coming into our #cf channel asking how they can get a 
 (legitimate)
 copy of Studio 5.

Hmm, I don't know. I'll defer to Christine L and Vern V (both cc'd).

I have always wished that my computer would be as easy to use as my 
telephone.
  My wish has come true - I no longer know how to use my telephone.
-- Bjarne Stroustrup
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Has anyone seen this before? - documented bug?

2002-10-02 Thread Sean A Corfield

Perhaps you have a variable called premium elsewhere in your code that  
has a non-simple value?

On Wednesday, Oct 2, 2002, at 04:53 US/Pacific, Dave Wilson wrote:

 Hi all,

 I've just been checking through our applications after upgrading from  
 CF4.5
 to CFMX and came across the following strange error.

 Basically I have a template which carries out various calculations to
 determine insurance premiums for a vehicle. So my final output  
 variable is
 simply called premium - Straightforward enough.

 When I run the template using CFMX, I get the following error message:
 Complex object types cannot be converted to simple values.
 The expression has requested a variable or an intermediate expression  
 result
 as a simple value, however, the result cannot be converted to a simple
 value. Simple values are strings, numbers, boolean values, and  
 date/time
 values. Queries, arrays, and COM objects are examples of complex  
 values.
 The most likely cause of the error is that you are trying to use a  
 complex
 value as a simple one. For example, you might be trying to use a query
 variable in a CFIF tag. This was possible in ColdFusion 2.0 but  
 creates an
 error in later versions.


 Now, when I went through my calculation steps, I found that by  
 changing the
 variable name to ins_premium, everything worked fine. So, basically my
 question is:

 Is premium a reserved word? If so, is it in fact a complex object as
 suggested by the error message? Is this documented or should I be  
 submitting
 it as a bug report?

 TIA,
 Dave

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: XML parsing error...

2002-10-02 Thread Rob Rohan

I haven't used CFCs much nor cfsavecontent however my guess is:
an XML document should start with ?xml and some parsers will explode if
there is ANYTHING before that - even a single space. When you are using
cfsavecontent it may be putting information before the initial ?xml
declaration.

Also perhaps there are no nodes in the document?
i.e the document = ?xml version=1.0? only, but needs to be at least
?xml version=1.0?anything/

Sorry I am not more help.

Cheers,
Rob

-Original Message-
From: John Beynon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 6:41 AM
To: CF-Talk
Subject: XML parsing error...


i'm trying to read in an XML file to do some manipulation with it -

Using CFFile it works fine:

cffile action=read file=#request.pathtoXML#\#request.XMLfilename#
variable=application.blogXML 

but if i want to avoid a CFFILE call I could use CFSAVECONTENT eg;

 cfsavecontent variable=application.blogXML
 cfinclude template=blog.XML
 /cfsavecontent

my CFC starts with:
myblog   = xmlParse(application.blogXML);
blogtitle  = myblog.blog.blogtitle.xmlText;
blogdescription = myblog.blog.blogdescription.xmlText;
...


the CFFILE method works fine but using the SAVECONTENT method returns:
XML declaration may only begin entities.

any ideas what this means?

thanks

john.


* [EMAIL PROTECTED] * +44 (0)1372 367147 *  http://www.era.co.uk/
http://www.era.co.uk/




*
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved.
The information supplied in this email should be treated in confidence.
No liability whatsoever is accepted for any loss or damage
suffered as a result of accessing this message or any attachments.




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re[2]: Save form data before submit

2002-10-02 Thread Critter

oi Robert!!

why  couldn't  you  just  convert  the  form scope to a wddx packet, and chuck that 
into a db on the
action page of the form?


-- 
Critz
 Macromedia Certified Advanced ColdFusion Developer
 CFX_BotMaster Network=Efnet
   Channel=ColdFusion Blog=http://blog.ctzc.com;





Wednesday, October 2, 2002, 12:06:08 PM, you wrote:

RS To save the information to a database you would need to submit a cfm page.
RS On way to do this is with a hidden frame.  The onChange event from a form
RS field in a visible frame could populate a field in a hidden frame and then
RS submit that page in the hidden frame (which would write the information to a
RS database, a session variable, or whatever).  I've never done this but there
RS is no reason it shouldn't work.

RS -Original Message-
RS From: Ryan Kime [mailto:[EMAIL PROTECTED]] 
RS Sent: Wednesday, October 02, 2002 10:07 AM
RS To: CF-Talk
RS Subject: RE: Save form data before submit


RS Something like this? I am using this in a contact form page.

RS script language=javascript

RS function getperson() {

RS if (document.Form1.Products.value==GI) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==HE) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==SP) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==BP) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==MP) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==TS) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==IR) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==HR) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] } if
RS (document.Form1.Products.value==SU) {
RS document.Form1.sendto.value=[EMAIL PROTECTED] }

RS }
RS /script

RS The sendto field is hidden. And the function is called using an OnChange
RS event from a dropbox.


RS -Original Message-
RS From: Tony Weeg [mailto:[EMAIL PROTECTED]] 
RS Sent: Tuesday, October 01, 2002 8:07 PM
RS To: CF-Talk
RS Subject: RE: Save form data before submit


RS oh please oh please.that would rock.

RS i hope someone who knows replies to this...this would
RS be very coolor, what about sending the data
RS to a session variable onBlur :)

RS that would be even nicer!!

RS tw


RS -Original Message-
RS From: Paul Campano [mailto:[EMAIL PROTECTED]] 
RS Sent: Tuesday, October 01, 2002 9:30 PM
RS To: CF-Talk
RS Subject: Save form data before submit


RS Is there a way I can save the data from a form field BEFORE the submit
RS button is pressed?  I thought I saw something awhile back that used
RS javascript to save each line to a db onBlur  ?  Has anyone done this or have
RS an idea on how it can be done?  Thanks.

RS Paul Campano





RS 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Has anyone seen this before? - documented bug?

2002-10-02 Thread Adam Reynolds

Make sure you identify the scope of the variable.

I had a variables.url I was calling successfully as url in CF5 but in CFMX
it looks like they changed the look up sequence and URL causes issues so I
had to explicitly use variables.url.

Adam

 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: 02 October 2002 16:56
 To: CF-Talk
 Subject: Re: Has anyone seen this before? - documented bug?


 Perhaps you have a variable called premium elsewhere in your code that
 has a non-simple value?

 On Wednesday, Oct 2, 2002, at 04:53 US/Pacific, Dave Wilson wrote:

  Hi all,
 
  I've just been checking through our applications after upgrading from
  CF4.5
  to CFMX and came across the following strange error.
 
  Basically I have a template which carries out various calculations to
  determine insurance premiums for a vehicle. So my final output
  variable is
  simply called premium - Straightforward enough.
 
  When I run the template using CFMX, I get the following error message:
  Complex object types cannot be converted to simple values.
  The expression has requested a variable or an intermediate expression
  result
  as a simple value, however, the result cannot be converted to a simple
  value. Simple values are strings, numbers, boolean values, and
  date/time
  values. Queries, arrays, and COM objects are examples of complex
  values.
  The most likely cause of the error is that you are trying to use a
  complex
  value as a simple one. For example, you might be trying to use a query
  variable in a CFIF tag. This was possible in ColdFusion 2.0 but
  creates an
  error in later versions.
 
 
  Now, when I went through my calculation steps, I found that by
  changing the
  variable name to ins_premium, everything worked fine. So, basically my
  question is:
 
  Is premium a reserved word? If so, is it in fact a complex object as
  suggested by the error message? Is this documented or should I be
  submitting
  it as a bug report?
 
  TIA,
  Dave
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: failed to send

2002-10-02 Thread Tony Weeg

are you trying to send attachments with these mail messages?

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 


-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 11:45 AM
To: CF-Talk
Subject: failed to send


Hello,

Upon checking the mail log in the CF directory I noticed that it
contains many lines as follows:

Error,TID=208,08/13/02,11:42:37,Failed to send the spooled mail
file, C:\CFUSION\MAIL\spool\902.cfmail. 
SMTP server replied Internal error: Pending mail operations must be
completed. Moved file to C:\CFUSION\MAIL\undelivr\904.cfmail.

We have two identical web servers running IIS 4.0; NT 4.0; CF 4.5.1 and
are a PDC/BDC setup. 

I'm not getting any of the emails using the cfmail in my script on this
machine (which is a BDC). The mails get thrown in the undeliverable
folder with the above error message. It was working previously. The PDC
does not get this message in its logs and is setup the same. What
pending mail operations... must be completed??

Any suggestions? Thanks.

Robert Orlini
HWW



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Random Stuff

2002-10-02 Thread Adrian Lynch

It wouldn't fit in with the way the site is built, it's just a shame the udf
works but not at speed.

Ade

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 16:20
To: CF-Talk
Subject: RE: Random Stuff


Can you use the random function on the database instead?

Kore Peterson
Database Development Specialist
SEH - Minneapolis
612.758.6739




 

Mosh Teitelbaum

mosh.teitelbaum@   To: CF-Talk
[EMAIL PROTECTED] 
evoch.com  cc:

Subject: RE: Random Stuff

10/02/2002 10:15

AM

Please respond to

cf-talk

 

 





How about CreateUUID()?

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


 -Original Message-
 From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 02, 2002 10:42 AM
 To: CF-Talk
 Subject: Random Stuff


 I have a udf that creates a random string that works great. The
 problem is,
 looping over this for multiple inserts into a db causes problems
 because it
 loops to quickly. Someone mentioned that all the random functions
 in CF use
 the current time/date as a seed. The way around this is to either
 slow down
 the loop, or to append something on the end of the string, in
 this case the
 index of the loop.

 Does anyone have a way to generate random numbers as fast as I need them?

 Adrian Lynch
 Thoughtbubble Ltd
 --
 United Kingdom
 http://www.thoughtbubble.net
 Ph: +44 (0) 20 7387 8890
 --
 The information in this email and in any attachments is confidential and
 intended solely for the attention and use of the named addressee(s) . Any
 views or opinions presented are solely those of the author and do not
 necessarily represent those of Thoughtbubble. This information may be
 subject to legal, professional or other privilege and further
distribution
 of it is strictly prohibited without our authority. If you are not the
 intended recipient, you are not authorised to disclose, copy,
 distribute, or
 retain this message. Please notify us on +44 (0) 20 7387 8890





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Has anyone seen this before? - documented bug?

2002-10-02 Thread Raymond Camden

Right, URL is reserved, along with server, file, form, and a few others
I can't remember off the top of my head.

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 12:08 PM
 To: CF-Talk
 Subject: RE: Has anyone seen this before? - documented bug?
 
 
 Make sure you identify the scope of the variable.
 
 I had a variables.url I was calling successfully as url in 
 CF5 but in CFMX
 it looks like they changed the look up sequence and URL 
 causes issues so I
 had to explicitly use variables.url.
 
 Adam
 
  -Original Message-
  From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
  Sent: 02 October 2002 16:56
  To: CF-Talk
  Subject: Re: Has anyone seen this before? - documented bug?
 
 
  Perhaps you have a variable called premium elsewhere in 
 your code that
  has a non-simple value?
 
  On Wednesday, Oct 2, 2002, at 04:53 US/Pacific, Dave Wilson wrote:
 
   Hi all,
  
   I've just been checking through our applications after 
 upgrading from
   CF4.5
   to CFMX and came across the following strange error.
  
   Basically I have a template which carries out various 
 calculations to
   determine insurance premiums for a vehicle. So my final output
   variable is
   simply called premium - Straightforward enough.
  
   When I run the template using CFMX, I get the following 
 error message:
   Complex object types cannot be converted to simple values.
   The expression has requested a variable or an 
 intermediate expression
   result
   as a simple value, however, the result cannot be 
 converted to a simple
   value. Simple values are strings, numbers, boolean values, and
   date/time
   values. Queries, arrays, and COM objects are examples of complex
   values.
   The most likely cause of the error is that you are trying to use a
   complex
   value as a simple one. For example, you might be trying 
 to use a query
   variable in a CFIF tag. This was possible in ColdFusion 2.0 but
   creates an
   error in later versions.
  
  
   Now, when I went through my calculation steps, I found that by
   changing the
   variable name to ins_premium, everything worked fine. So, 
 basically my
   question is:
  
   Is premium a reserved word? If so, is it in fact a 
 complex object as
   suggested by the error message? Is this documented or should I be
   submitting
   it as a bug report?
  
   TIA,
   Dave
  
  
  
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Has anyone seen this before? - documented bug?

2002-10-02 Thread Shahzad.Butt

I have seen same error message by migrating from CF5 to CXFMX. But in my
case CFMX was playing up with GUIDs (in SQL Server). So rather than
using JDBC ODBC bridge, I chose Microsoft SQL Server when adding DSN.
And it works perfect.

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]] 
Sent: 02 October 2002 12:54
To: CF-Talk
Subject: Has anyone seen this before? - documented bug?


Hi all,

I've just been checking through our applications after upgrading from
CF4.5 to CFMX and came across the following strange error.

Basically I have a template which carries out various calculations to
determine insurance premiums for a vehicle. So my final output variable
is simply called premium - Straightforward enough.

When I run the template using CFMX, I get the following error message:
Complex object types cannot be converted to simple values. The
expression has requested a variable or an intermediate expression result
as a simple value, however, the result cannot be converted to a simple
value. Simple values are strings, numbers, boolean values, and date/time
values. Queries, arrays, and COM objects are examples of complex values.
The most likely cause of the error is that you are trying to use a
complex value as a simple one. For example, you might be trying to use a
query variable in a CFIF tag. This was possible in ColdFusion 2.0 but
creates an error in later versions.


Now, when I went through my calculation steps, I found that by changing
the variable name to ins_premium, everything worked fine. So, basically
my question is:

Is premium a reserved word? If so, is it in fact a complex object as
suggested by the error message? Is this documented or should I be
submitting it as a bug report?

TIA,
Dave


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



CF Application Logs

2002-10-02 Thread Randell B Adkins

Has anyone seen this error in the server.log file
from the CF Administrator?

Caught a fatal signal (4) - Aborting 

OR 

Caught a fatal signal (11) - Aborting

After receiving this error, CF Executive (I imagine)
initates a call for restarting the CF Application Server Services.

If so, any ideas what it means as well as possible causes?

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Date Comparison

2002-10-02 Thread Chris

I'm trying to grab all records in a table that were created within the
last year.  I started by creating a variable called yearback.

 

CFSET yearback=#DateAdd('', -1, NOW())#

 

this is my SQL where clause

 

WHERE customer_orders.shipdate  #yearback#

 

Problem is, some of the ship dates are just dates, which work fine, and
others are DateTime.  My query returns nothing if the record I'm looking
for contains a DateTime.  How do I work around this?

 

Thanks

Chris 




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: failed to send

2002-10-02 Thread Robert Orlini

No no attachments are sent. Just a bounce back reply email after they fill out a form.

RO

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 11:49 AM
To: CF-Talk
Subject: RE: failed to send


are you trying to send attachments with these mail messages?

.tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 


-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 11:45 AM
To: CF-Talk
Subject: failed to send


Hello,

Upon checking the mail log in the CF directory I noticed that it
contains many lines as follows:

Error,TID=208,08/13/02,11:42:37,Failed to send the spooled mail
file, C:\CFUSION\MAIL\spool\902.cfmail. 
SMTP server replied Internal error: Pending mail operations must be
completed. Moved file to C:\CFUSION\MAIL\undelivr\904.cfmail.

We have two identical web servers running IIS 4.0; NT 4.0; CF 4.5.1 and
are a PDC/BDC setup. 

I'm not getting any of the emails using the cfmail in my script on this
machine (which is a BDC). The mails get thrown in the undeliverable
folder with the above error message. It was working previously. The PDC
does not get this message in its logs and is setup the same. What
pending mail operations... must be completed??

Any suggestions? Thanks.

Robert Orlini
HWW




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



OT: IIS 5 randomly stops serving pages

2002-10-02 Thread Bryan Stevenson

Hi All,

I'm running Win 2K Pro with IIS 5 and have run into a weird problem.
Periodically the server will stop server pages (users see Page cannot be
displayed).  IIS and the WWW service are both running.  If I try and
restart the WWW service, it will not successfully restart.  If I try and
stop and start IIS, it will whine while trying to start about something like
that whatever is already in use (sorry about the whatever partI didn't
write it down).  So basically I'm stuck with a server reboot to clear it up.
The network connections are fine, and there doesn't seem to be any pattern
to the server death.

I've scoured Google and IISFAQ.com with no luckany thoughts?

Oh ya...all sites are running in Low(IIS Process).

TIA

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Save form data before submit

2002-10-02 Thread Robert Segal

To save the information to a database you would need to submit a cfm page.
On way to do this is with a hidden frame.  The onChange event from a form
field in a visible frame could populate a field in a hidden frame and then
submit that page in the hidden frame (which would write the information to a
database, a session variable, or whatever).  I've never done this but there
is no reason it shouldn't work.

-Original Message-
From: Ryan Kime [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 10:07 AM
To: CF-Talk
Subject: RE: Save form data before submit


Something like this? I am using this in a contact form page.

script language=javascript

function getperson() {

if (document.Form1.Products.value==GI) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==HE) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==SP) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==BP) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==MP) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==TS) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==IR) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==HR) {
document.Form1.sendto.value=[EMAIL PROTECTED] } if
(document.Form1.Products.value==SU) {
document.Form1.sendto.value=[EMAIL PROTECTED] }

}
/script

The sendto field is hidden. And the function is called using an OnChange
event from a dropbox.


-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 01, 2002 8:07 PM
To: CF-Talk
Subject: RE: Save form data before submit


oh please oh please.that would rock.

i hope someone who knows replies to this...this would
be very coolor, what about sending the data
to a session variable onBlur :)

that would be even nicer!!

tw


-Original Message-
From: Paul Campano [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 01, 2002 9:30 PM
To: CF-Talk
Subject: Save form data before submit


Is there a way I can save the data from a form field BEFORE the submit
button is pressed?  I thought I saw something awhile back that used
javascript to save each line to a db onBlur  ?  Has anyone done this or have
an idea on how it can be done?  Thanks.

Paul Campano





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: IIS 5 randomly stops serving pages

2002-10-02 Thread Bryan Stevenson

OK I killed the server again and when trying to restart IIS it says Address
already in use?

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 9:36 AM
Subject: OT: IIS 5 randomly stops serving pages


 Hi All,

 I'm running Win 2K Pro with IIS 5 and have run into a weird problem.
 Periodically the server will stop server pages (users see Page cannot be
 displayed).  IIS and the WWW service are both running.  If I try and
 restart the WWW service, it will not successfully restart.  If I try and
 stop and start IIS, it will whine while trying to start about something
like
 that whatever is already in use (sorry about the whatever partI
didn't
 write it down).  So basically I'm stuck with a server reboot to clear it
up.
 The network connections are fine, and there doesn't seem to be any pattern
 to the server death.

 I've scoured Google and IISFAQ.com with no luckany thoughts?

 Oh ya...all sites are running in Low(IIS Process).

 TIA

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 t. 250.920.8830
 e. [EMAIL PROTECTED]

 -
 Macromedia Associate Partner
 www.macromedia.com
 -
 Vancouver Island ColdFusion Users Group
 Founder  Director
 www.cfug-vancouverisland.com

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



MIME type question

2002-10-02 Thread Brian Ferrigno

Does anyone know what MIME type a .csv file would have? I am trying to
upload a csv file using the CFFILE tag and can't seem to find the right
type.

The list of MIME types i've tried so far
text/x-csv,text/csv,application/csv,application/msexcel,application/excel,ap
plication/x-msexcel,application/vnd.ms-excel,application/x-excel

Thanks for any help.


Brian
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Random Product, with a twist?

2002-10-02 Thread Ken Brocx

You could just put a featured bit-field in the table then call a page via scheduled 
task to set a random one to featured.
Ken
 
 

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 23, 2002 11:39 AM
To: CF-Talk
Subject: Random Product, with a twist?

What would be the easiest way to display one random product
pulled from a database every 24 hours without session or
client variables? Each page refresh would deliver the same
content for a 24 hour period.

Could this be done based on the applicationtimeout
setting from the cfapplication tag? My default timeout is
24 hours. (applicationtimeout=#CreateTimeSpan(1,0,0,0)#)

TIA...Ché


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Has anyone seen this before? - documented bug?

2002-10-02 Thread Rob Rohan

We received this error as well while moving from CF5 to MX. We have not
found a fix yet (or even found the problem) we do not use JDBC, we go
straight to SQL server as Shahzad is doing; however this error still
happens.


-Original Message-
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:17 AM
To: CF-Talk
Subject: RE: Has anyone seen this before? - documented bug?


I have seen same error message by migrating from CF5 to CXFMX. But in my
case CFMX was playing up with GUIDs (in SQL Server). So rather than
using JDBC ODBC bridge, I chose Microsoft SQL Server when adding DSN.
And it works perfect.

-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 12:54
To: CF-Talk
Subject: Has anyone seen this before? - documented bug?


Hi all,

I've just been checking through our applications after upgrading from
CF4.5 to CFMX and came across the following strange error.

Basically I have a template which carries out various calculations to
determine insurance premiums for a vehicle. So my final output variable
is simply called premium - Straightforward enough.

When I run the template using CFMX, I get the following error message:
Complex object types cannot be converted to simple values. The
expression has requested a variable or an intermediate expression result
as a simple value, however, the result cannot be converted to a simple
value. Simple values are strings, numbers, boolean values, and date/time
values. Queries, arrays, and COM objects are examples of complex values.
The most likely cause of the error is that you are trying to use a
complex value as a simple one. For example, you might be trying to use a
query variable in a CFIF tag. This was possible in ColdFusion 2.0 but
creates an error in later versions.


Now, when I went through my calculation steps, I found that by changing
the variable name to ins_premium, everything worked fine. So, basically
my question is:

Is premium a reserved word? If so, is it in fact a complex object as
suggested by the error message? Is this documented or should I be
submitting it as a bug report?

TIA,
Dave



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: MIME type question

2002-10-02 Thread Rob Rohan

text/plain ?

-Original Message-
From: Brian Ferrigno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:29 AM
To: CF-Talk
Subject: MIME type question


Does anyone know what MIME type a .csv file would have? I am trying to
upload a csv file using the CFFILE tag and can't seem to find the right
type.

The list of MIME types i've tried so far
text/x-csv,text/csv,application/csv,application/msexcel,application/excel,ap
plication/x-msexcel,application/vnd.ms-excel,application/x-excel

Thanks for any help.


Brian

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: embedding cfmail in a cfoutput -- thx -- again thx

2002-10-02 Thread Gilbert Midonnet

Dave Wilson, S.Issac Dealey,

Thx again. I think I have it now. I played around with things a little bit
and have a far stronger understanding.

// glm



-Original Message-
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 11:33 AM
To: CF-Talk
Subject: RE: embedding cfmail in a cfoutput -- thx


This is because the cfmail tag uses the cfoutput mechanism internally (
this is why it has the query= atrribute and I think a group=


That helps me explain why cfmail requires grouping if nested within
cfoutput. Basically because cfmail *is* a cfoutput (of sorts) and nesting
cfoutput tags requires grouping in order to be successful.

Isaac is also correct in that you don't actually need the cfoutput in your
situation. I hadn't looked at the whole picture and was solely pointing out
a solution to nesting cfmail.

Dave


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Registry 129 meg ... CF 5.0

2002-10-02 Thread Bartee Lamar

Is there any thing in CF that would cause a VERY large registry 
 
It does not look like CF is set to use Registry for client variables.
 
Any Knowledge based articles,  I cannot find any
 
Where in Registry does CF store stuff...
 
Bartee Lamar
www.enterpriseenergy.com http://www.enterpriseenergy.com/ 
MSN  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: MIME type question

2002-10-02 Thread Brian Ferrigno

That doesn't work either. 

I'm using this list for starters:
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types. I was
hoping there was one they missed.

-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:50 PM
To: CF-Talk
Subject: RE: MIME type question


text/plain ?

-Original Message-
From: Brian Ferrigno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:29 AM
To: CF-Talk
Subject: MIME type question


Does anyone know what MIME type a .csv file would have? I am trying to
upload a csv file using the CFFILE tag and can't seem to find the right
type.

The list of MIME types i've tried so far
text/x-csv,text/csv,application/csv,application/msexcel,application/excel,ap
plication/x-msexcel,application/vnd.ms-excel,application/x-excel

Thanks for any help.


Brian


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Recordset as cfargument?

2002-10-02 Thread Paul Wilson

I can't get it working. Can you take a look at my code.

If my actionscript recordset has the followingstructure...

newvalues_rs=new RecordSet([DSN,SourceTable,SourceField,NewValue,ContactID])

and my method call is ...

service.UpdateContactRS(newvalues_rs)


In my cfc i have..

cffunction name=UpdateContactRS access=remote returntype=string

cfargument name=DCRecordSet type=query required=Yes

cfloop query=#DCRecordSet#
cfstoredproc datasource=#dsn# procedure=sp_CallFlowUpdateContact
 cfprocparam dbvarname=@BoundTable cfsqltype=CF_SQL_VARCHAR 
value=#SourceTable#
 cfprocparam dbvarname=@BoundField cfsqltype=CF_SQL_VARCHAR  
value=#SourceField#
 cfprocparam dbvarname=@NewValue cfsqltype=CF_SQL_VARCHAR 
value=#NewValue#
 cfprocparam dbvarname=@ContactID cfsqltype=CF_SQL_INTEGER 
value=#ContactID#
/cfstoredproc
/cfloop   
/cffunction


Thanks



-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 16:46
To: CF-Talk
Subject: RE: Recordset as cfargument?


It should be converted to a query. So your argument would be:

cfargument name=whatever type=query required=true or
false, up to you

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Paul Wilson [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 11:56 AM
 To: CF-Talk
 Subject: Recordset as cfargument?
 
 
 How can I pass a recordset from Flash to ColdFusion through 
 Flash remoting and loop through the recordset in the cfc?
 
 In actionscript I have..
 
 myservice.UpdateContactRS(newvalues_rs) // This sends the 
 recordset to the cfc
 
 I know i need a function (cffunction) called 
 UpdateContactRS, but how do i use the recordset? What is 
 the datatype in CF?
 
 Thanks
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Recordset as cfargument?

2002-10-02 Thread Collin Tobin

Paul-

So you have columns in your local recordset, but is there data?


Collin Tobin
QA Engineer
617 219 2000
[EMAIL PROTECTED]
Macromedia®
What the web can be.(tm)




-Original Message-
From: Paul Wilson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 1:16 PM
To: CF-Talk
Subject: RE: Recordset as cfargument?


I can't get it working. Can you take a look at my code.

If my actionscript recordset has the followingstructure...

newvalues_rs=new RecordSet([DSN,SourceTable,SourceField,NewValue,ContactID])

and my method call is ...

service.UpdateContactRS(newvalues_rs)


In my cfc i have..

cffunction name=UpdateContactRS access=remote returntype=string

cfargument name=DCRecordSet type=query required=Yes

cfloop query=#DCRecordSet#
cfstoredproc datasource=#dsn# procedure=sp_CallFlowUpdateContact
 cfprocparam dbvarname=@BoundTable cfsqltype=CF_SQL_VARCHAR 
value=#SourceTable#
 cfprocparam dbvarname=@BoundField cfsqltype=CF_SQL_VARCHAR  
value=#SourceField#
 cfprocparam dbvarname=@NewValue cfsqltype=CF_SQL_VARCHAR 
value=#NewValue#
 cfprocparam dbvarname=@ContactID cfsqltype=CF_SQL_INTEGER 
value=#ContactID#
/cfstoredproc
/cfloop   
/cffunction


Thanks



-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 16:46
To: CF-Talk
Subject: RE: Recordset as cfargument?


It should be converted to a query. So your argument would be:

cfargument name=whatever type=query required=true or
false, up to you

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Paul Wilson [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 11:56 AM
 To: CF-Talk
 Subject: Recordset as cfargument?
 
 
 How can I pass a recordset from Flash to ColdFusion through 
 Flash remoting and loop through the recordset in the cfc?
 
 In actionscript I have..
 
 myservice.UpdateContactRS(newvalues_rs) // This sends the 
 recordset to the cfc
 
 I know i need a function (cffunction) called 
 UpdateContactRS, but how do i use the recordset? What is 
 the datatype in CF?
 
 Thanks
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Localization questions

2002-10-02 Thread Kevin Gilchrist

Hi,

We may need to provide an extranet CF 5.0 app to a Japanese client so I
was wondering if any of you out there have had experience of using CF in
a multi-byte character environment.

Specifically:

- we're using Oracle and while we need to create a new Oracle database
with the right character sets do we need a new client, i.e. not the
English client,  on the CF server?
- will CF correctly spit out Japanese characters from a CFQUERY?  (
assuming we specify the character set for the client browser in the
meta(?) tag on each page).
- would life be simpler moving to CFMX seeing as it's Java-based and
therefore uses Unicode?

Thanks,
Kevin
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: Registry 129 meg ... CF 5.0

2002-10-02 Thread Paris Lundis

Client variables are a sure fire culprit of exploding registries... I 
have one that has a 500+ meg registry...  Thus we are moving to 
cookies ... yeah yeah.. lesser evil or greater...

Is it possible that you had client storage in registry before and 
somehow that changed and orphaned the data?

-paris

Paris Lundis
Founder
Areaindex, L.L.C.
http://www.areaindex.com
http://www.pubcrawler.com
412-292-3135
[finding the future in the past, passing the future in the present]
[connecting people, places and things]


-Original Message-
From: Bartee Lamar [EMAIL PROTECTED]
Date: Wed, 2 Oct 2002 12:53:07 -0400
Subject: Registry 129 meg ... CF 5.0

 Is there any thing in CF that would cause a VERY large registry 
  
 It does not look like CF is set to use Registry for client variables.
  
 Any Knowledge based articles,  I cannot find any
  
 Where in Registry does CF store stuff...
  
 Bartee Lamar
 www.enterpriseenergy.com http://www.enterpriseenergy.com/ 
 MSN  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] 
  
  
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Registry 129 meg ... CF 5.0

2002-10-02 Thread Mark A. Kruger - CFG

What's the OS?

-Original Message-
From: Bartee Lamar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 11:53 AM
To: CF-Talk
Subject: Registry 129 meg ... CF 5.0


Is there any thing in CF that would cause a VERY large registry

It does not look like CF is set to use Registry for client variables.

Any Knowledge based articles,  I cannot find any

Where in Registry does CF store stuff...

Bartee Lamar
www.enterpriseenergy.com http://www.enterpriseenergy.com/
MSN  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Recordset as cfargument?

2002-10-02 Thread Paul Wilson

Yes there is

itemToAdd 
={DSN:Test,SourceTable:recordsetname.SourceTable,SourceField:recordsetname.SourceField,NewValue:newvalue,ContactID:_global.ContactID};
newvalues_rs.addItem(itemToAdd)



-Original Message-
From: Collin Tobin [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 18:04
To: CF-Talk
Subject: RE: Recordset as cfargument?


Paul-

So you have columns in your local recordset, but is there data?


Collin Tobin
QA Engineer
617 219 2000
[EMAIL PROTECTED]
Macromedia®
What the web can be.(tm)




-Original Message-
From: Paul Wilson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 1:16 PM
To: CF-Talk
Subject: RE: Recordset as cfargument?


I can't get it working. Can you take a look at my code.

If my actionscript recordset has the followingstructure...

newvalues_rs=new RecordSet([DSN,SourceTable,SourceField,NewValue,ContactID])

and my method call is ...

service.UpdateContactRS(newvalues_rs)


In my cfc i have..

cffunction name=UpdateContactRS access=remote returntype=string

cfargument name=DCRecordSet type=query required=Yes

cfloop query=#DCRecordSet#
cfstoredproc datasource=#dsn# procedure=sp_CallFlowUpdateContact
 cfprocparam dbvarname=@BoundTable cfsqltype=CF_SQL_VARCHAR 
value=#SourceTable#
 cfprocparam dbvarname=@BoundField cfsqltype=CF_SQL_VARCHAR  
value=#SourceField#
 cfprocparam dbvarname=@NewValue cfsqltype=CF_SQL_VARCHAR 
value=#NewValue#
 cfprocparam dbvarname=@ContactID cfsqltype=CF_SQL_INTEGER 
value=#ContactID#
/cfstoredproc
/cfloop   
/cffunction


Thanks



-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 16:46
To: CF-Talk
Subject: RE: Recordset as cfargument?


It should be converted to a query. So your argument would be:

cfargument name=whatever type=query required=true or
false, up to you

===
Raymond Camden, ColdFusion Jedi Master for Hire

Email: [EMAIL PROTECTED]
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 

 -Original Message-
 From: Paul Wilson [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 11:56 AM
 To: CF-Talk
 Subject: Recordset as cfargument?
 
 
 How can I pass a recordset from Flash to ColdFusion through 
 Flash remoting and loop through the recordset in the cfc?
 
 In actionscript I have..
 
 myservice.UpdateContactRS(newvalues_rs) // This sends the 
 recordset to the cfc
 
 I know i need a function (cffunction) called 
 UpdateContactRS, but how do i use the recordset? What is 
 the datatype in CF?
 
 Thanks
 



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: MIME type question

2002-10-02 Thread Dan Haley

Search the archives for posts about mime from Dave Watts
(http://www.houseoffusion.com/cf_lists).  He has a page out on figleaf.com
that I'm pretty sure has .csv as one of the examples.

Dan

-Original Message-
From: Brian Ferrigno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:42 AM
To: CF-Talk
Subject: RE: MIME type question


That doesn't work either. 

I'm using this list for starters:
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types. I was
hoping there was one they missed.

-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:50 PM
To: CF-Talk
Subject: RE: MIME type question


text/plain ?

-Original Message-
From: Brian Ferrigno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:29 AM
To: CF-Talk
Subject: MIME type question


Does anyone know what MIME type a .csv file would have? I am trying to
upload a csv file using the CFFILE tag and can't seem to find the right
type.

The list of MIME types i've tried so far
text/x-csv,text/csv,application/csv,application/msexcel,application/excel,ap
plication/x-msexcel,application/vnd.ms-excel,application/x-excel

Thanks for any help.


Brian



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CF Application Logs

2002-10-02 Thread Mike Brunt

Randell, are there any other messages directly before this in the
Application log?

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work


-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:16 AM
To: CF-Talk
Subject: CF Application Logs


Has anyone seen this error in the server.log file
from the CF Administrator?

Caught a fatal signal (4) - Aborting

OR

Caught a fatal signal (11) - Aborting

After receiving this error, CF Executive (I imagine)
initates a call for restarting the CF Application Server Services.

If so, any ideas what it means as well as possible causes?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CF Application Logs

2002-10-02 Thread Randell B Adkins

Nope...

The only other messages are the ones indicating
that CF is restarting..

 [EMAIL PROTECTED] 10/02/02 01:22PM 
Randell, are there any other messages directly before this in the
Application log?

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com 
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work


-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 9:16 AM
To: CF-Talk
Subject: CF Application Logs


Has anyone seen this error in the server.log file
from the CF Administrator?

Caught a fatal signal (4) - Aborting

OR

Caught a fatal signal (11) - Aborting

After receiving this error, CF Executive (I imagine)
initates a call for restarting the CF Application Server Services.

If so, any ideas what it means as well as possible causes?



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Localization questions

2002-10-02 Thread Jochem van Dieten

Kevin Gilchrist wrote:
 
 We may need to provide an extranet CF 5.0 app to a Japanese client

Do yourself a favour and get MX.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Odd extension

2002-10-02 Thread Mark A. Kruger - CFG

Folks,

Does anyone know what the .rs extension is?  I'm on a site that is using doc
names like index.rs?id=34939.  Any ideas?

-mk


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: CF Application Logs

2002-10-02 Thread Mike Brunt

Randell, have you checked the Server log to see if there are any clues
there?  From my experience these sorts of errors usually relate to memory
corruption issues.  If we are to try and help it would be good to know the
following.  Operating System, Web Server, Version of CF (SPacks etc).

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work


-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 10:33 AM
To: CF-Talk
Subject: RE: CF Application Logs


Nope...

The only other messages are the ones indicating
that CF is restarting..

 [EMAIL PROTECTED] 10/02/02 01:22PM 
Randell, are there any other messages directly before this in the
Application log?

Kind Regards - Mike Brunt, CTO
Webapper
http://www.webapper.com
Downey CA Office
562.243.6255
AIM - webappermb

Webapper - Making the NET work


-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 9:16 AM
To: CF-Talk
Subject: CF Application Logs


Has anyone seen this error in the server.log file
from the CF Administrator?

Caught a fatal signal (4) - Aborting

OR

Caught a fatal signal (11) - Aborting

After receiving this error, CF Executive (I imagine)
initates a call for restarting the CF Application Server Services.

If so, any ideas what it means as well as possible causes?




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



OT--- Close Main window

2002-10-02 Thread Kris Pilles

Does anyone know if it is possible to stop IE form sayingthe webpage
your are viewing is trying to close this window when I try to close the
window



Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: Odd extension

2002-10-02 Thread Critter

oi Mark!!

extensions can really be whatever you want them to be... might be a custom one...


-- 
Critz
 Macromedia Certified Advanced ColdFusion Developer
 CFX_BotMaster Network=Efnet
   Channel=ColdFusion Blog=http://blog.ctzc.com;





Wednesday, October 2, 2002, 1:54:13 PM, you wrote:

MAKC Folks,

MAKC Does anyone know what the .rs extension is?  I'm on a site that is using doc
MAKC names like index.rs?id=34939.  Any ideas?

MAKC -mk


MAKC 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Odd extension

2002-10-02 Thread Mark A. Kruger - CFG

Never mind - I managed to get the site to throw an error.  They are using CF
with the .rs exention mapped.  Go figure.

-mk

-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:54 PM
To: CF-Talk
Subject: Odd extension


Folks,

Does anyone know what the .rs extension is?  I'm on a site that is using doc
names like index.rs?id=34939.  Any ideas?

-mk



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: Date Comparison

2002-10-02 Thread Byron M

I trust that the shipdate field in your db is a datetime data type.  If so
this should work.

WHERE customer_orders.shipdate  #CreateODBCDateTime(yearback)#

Byron Mann

- Original Message -
From: Chris [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 12:25 PM
Subject: Date Comparison


 I'm trying to grab all records in a table that were created within the
 last year.  I started by creating a variable called yearback.



 CFSET yearback=#DateAdd('', -1, NOW())#



 this is my SQL where clause



 WHERE customer_orders.shipdate  #yearback#



 Problem is, some of the ship dates are just dates, which work fine, and
 others are DateTime.  My query returns nothing if the record I'm looking
 for contains a DateTime.  How do I work around this?



 Thanks

 Chris




 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



COM Object Instantiation Problem

2002-10-02 Thread Dale Coyner


Hi folks,

It's been a while since I've changed CF versions - I am migrating an app
from CF4 to CFMX for JRun.  Things have gone pretty well so far with the
exception of one place in my code where I call a COM object.  

Here's my object tag:

CFOBJECT TYPE=COM ACTION=Create NAME=PPServer
CLASS=PurePage.PPServer

Here is my result:

An exception occurred when instantiating a Com object.  
The cause of this exception was that: java.lang.RuntimeException:
Can not use native code: Initialisation failed.


This worked fine in CF4 and it appears that the parameters for CFOBJECT
are unchanged.  Anyone else having migration issues with CFOBJECT?  Any
workarounds or anticipated fixes?  Many thanks in advance.


Regards,

Dale Coyner
Communicast, Inc.




RE: Odd extension

2002-10-02 Thread Mark A. Kruger - CFG

Yeah - I know, I just thought that maybe it was for a platform I hadn't
heard of.

-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:55 PM
To: CF-Talk
Subject: Re: Odd extension


oi Mark!!

extensions can really be whatever you want them to be... might be a custom
one...


--
Critz
 Macromedia Certified Advanced ColdFusion Developer
 CFX_BotMaster Network=Efnet
   Channel=ColdFusion Blog=http://blog.ctzc.com;





Wednesday, October 2, 2002, 1:54:13 PM, you wrote:

MAKC Folks,

MAKC Does anyone know what the .rs extension is?  I'm on a site that is
using doc
MAKC names like index.rs?id=34939.  Any ideas?

MAKC -mk


MAKC

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: OT--- Close Main window

2002-10-02 Thread Mark A. Kruger - CFG

Kris,

If the window has been opened using Javascript from within another page (a
la window.open) then it will not generate that error.

-mk

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:54 PM
To: CF-Talk
Subject: OT--- Close Main window


Does anyone know if it is possible to stop IE form sayingthe webpage
your are viewing is trying to close this window when I try to close the
window



Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: IIS 5 randomly stops serving pages

2002-10-02 Thread Lee Fuller

We've run into this as well.  However, we run a script to kill both IIS
and CFMX (yes MX.. Not 5.. But I think it's the same problem), and it
has minimized the occurances.  Although it still happens.

Here's the BAT file that we've tested over time, and it seems to help. 

(Note that you'll need KILL from the Resource Kit to use this -- and the
order is CRITICAL -- anything else doesn't work well.  Also, we run it
twice because sometimes it simply hangs the IIS process and doesn't
bring it back):


===
@echo off
cls
echo Restarting IIS Service...
net stop World Wide Web Publishing Service
net stop IIS Admin Service
kill -f inetinfo.exe
sleep 3
net start World Wide Web Publishing Service
net start IIS Admin Service
sleep 3
net stop ColdFusion MX Application Server
sleep 2
net start ColdFusion MX Application Server
echo.
echo.
echo Restarting IIS Service...
net stop World Wide Web Publishing Service
net stop IIS Admin Service
kill -f inetinfo.exe
sleep 3
net start World Wide Web Publishing Service
net start IIS Admin Service
sleep 3
net stop ColdFusion MX Application Server
sleep 2
net start ColdFusion MX Application Server
echo.
echo.
echo Done...
sleep 3
exit
===

You can take out the sleep options if you want.  Not sure if they help
or not.  Haven't taken them out to see.

HTH

Lee

| -Original Message-
| From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] 
| Sent: Wednesday, October 02, 2002 9:37 AM
| To: CF-Talk
| Subject: OT: IIS 5 randomly stops serving pages
| 
| 
| Hi All,
| 
| I'm running Win 2K Pro with IIS 5 and have run into a weird 
| problem. Periodically the server will stop server pages 
| (users see Page cannot be displayed).  IIS and the WWW 
| service are both running.  If I try and restart the WWW 
| service, it will not successfully restart.  If I try and stop 
| and start IIS, it will whine while trying to start about 
| something like that whatever is already in use (sorry about 
| the whatever partI didn't write it down).  So basically 
| I'm stuck with a server reboot to clear it up. The network 
| connections are fine, and there doesn't seem to be any 
| pattern to the server death.
| 
| I've scoured Google and IISFAQ.com with no luckany thoughts?
| 
| Oh ya...all sites are running in Low(IIS Process).
| 
| TIA
| 
| Bryan Stevenson B.Comm.
| VP  Director of E-Commerce Development
| Electric Edge Systems Group Inc.
| t. 250.920.8830
| e. [EMAIL PROTECTED]
| 
| -
| Macromedia Associate Partner
| www.macromedia.com
| -
| Vancouver Island ColdFusion Users Group
| Founder  Director
| www.cfug-vancouverisland.com
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: COM Object Instantiation Problem

2002-10-02 Thread Bryan F. Hogan

There are problems with COM with MX. Download and install the updater for
MX, they have corrected some of the problems with COM. See if that works for
you.


Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL


-Original Message-
From: Dale Coyner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 2:04 PM
To: CF-Talk
Subject: COM Object Instantiation Problem



Hi folks,

It's been a while since I've changed CF versions - I am migrating an app
from CF4 to CFMX for JRun.  Things have gone pretty well so far with the
exception of one place in my code where I call a COM object.

Here's my object tag:

CFOBJECT TYPE=COM ACTION=Create NAME=PPServer
CLASS=PurePage.PPServer

Here is my result:

An exception occurred when instantiating a Com object.
The cause of this exception was that: java.lang.RuntimeException:
Can not use native code: Initialisation failed.


This worked fine in CF4 and it appears that the parameters for CFOBJECT
are unchanged.  Anyone else having migration issues with CFOBJECT?  Any
workarounds or anticipated fixes?  Many thanks in advance.


Regards,

Dale Coyner
Communicast, Inc.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



  1   2   3   >