Uwe,
you might want to add a trim to both strings so that additional spaces are
excluded. On the other hand I think "is" or "compare" are working
correctly, so I suggest you to both strings in order to check
out their content (maybe value_a is empty or such a thing).
Best regards,
Peter
--
Some things to watch out for here. CF encodes form parameters
automatically - which means your content may not be well formed at the other
end. In addition, this is going to deliver the "content" part of the HTTP
request as:
myXml=...xmlodoc body ...
That's not well formed XML unless the post
Thanks. Works better than a simple form doing the same thing for some
reason!
- Original Message -
From: "Matthew Walker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 10:37 PM
Subject: RE: Posting XML
> Use something like:
>
>
>
>
>
>
>
>
>
Use something like:
> -Original Message-
> From: Frank Mamone [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 29 November 2002 4:33 p.m.
> To: CF-Talk
> Subject: Posting XML
>
>
> I am working on an R&D project using WCTP which is an XML
> specification. Apparently, I need to
I am working on an R&D project using WCTP which is an XML specification. Apparently, I
need to POST the XML using HTTP 1.0 or 1.1. I really don't know what they mean as the
only posting I know how to do is through a HTML form.
I've read all the documentation and can't find an example of how it's
I'm looking at settings up a load balanced cluster which will read Data
files from a central file server. I had planned on having the cfm codebase
installed on both machines but I am wondering if it might make more sense
to store the cfm files on the fileserver also and have IIS point to the
ne
hi guys,
the following functions works fine.. you might take out the error handling
bit...
sorry about the copy and paste..
ok it works.. fine... BUT.. we have a slight problem in that... when the
user views the email they get a single line of or similar..
"--CD6B6C5801050BBB32E7E24F6AE7A765 "
There's definitely something in here that CFMX doesn't like. The script works fine in
other vers of CF, and I posted it as a freebie
Below is a sample of what CFMX sends (the .cfmail source).
When viewing the received message on my webmail system, I get normal looking headers,
with a new one
Sure..
- Generate a random number between 1 and the number of categories.
Store that in a var, say "myCatNum".
- Generate a random number between 1 and the number of items in the
randomly generated category. Store that in a var, say "myItemNum"
- Identify (in your db) each category with a number,
In my database, I have a single table that stores all of the individual items for sale
on my website. I have 20 or so different item categories and 6 different individual
items for each category. What I would like to do is find a way to have my frontpage
randomly select an item from each categ
Actually, it was Julia Child's famous French recipe for "Pasta Fromage"
Dick
On Thursday, November 28, 2002, at 03:59 PM, Brook Davies wrote:
> Wow - this list must be like 98% American eh? Did you catch that?
>
> Brook
>
~|
Ar
I changed the password of the account the cfservice was running under and
all hell broke loose. I ended up deleting the account and adding it back
in. Re-applied the permissions and everything works. Go figure. That made
no sense, but was pretty much in line with how my day was going
gooble
This is just what im looking for
Thank you!
Ryan
-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 18:16
To: CF-Talk
Subject: Re: Parsing for hyperlinks
- Original Message -
From: "Ryan Mitchell" <[EMAIL PROTECTED]>
> Im looking to parse through a
Sorry to rain on your parade, but there is an Aussie waiting for some CF
inspiration...
BTW, time zones suck! I arrive at work with 167 new CF-Talk messages to
delete. (I mean, read).
>
>Wow - this list must be like 98% American eh? Did you catch that?
>
>Brook
>
>At 03:52 PM 28/11/02 -0800,
Wow - this list must be like 98% American eh? Did you catch that?
Brook
At 03:52 PM 28/11/02 -0800, you wrote:
>On Thursday, November 28, 2002, at 03:43 PM, Brook Davies wrote:
>
> > Okay - If I change the CF Service account back to localSystem -
> > everything
> > works. When I run it under the
On Thursday, November 28, 2002, at 03:43 PM, Brook Davies wrote:
> Okay - If I change the CF Service account back to localSystem -
> everything
> works. When I run it under the user account all I get are blank pages.
> Has
> anyone seen this before? Hows the Turkey?
>
>
It's just you and me, Br
Okay - If I change the CF Service account back to localSystem - everything
works. When I run it under the user account all I get are blank pages. Has
anyone seen this before? Hows the Turkey?
At 03:21 PM 28/11/02 -0800, you wrote:
>BTW, even the cfadmin pages return this blank page...
>
>At 03:1
BTW, even the cfadmin pages return this blank page...
At 03:18 PM 28/11/02 -0800, you wrote:
>Yeah, the service is running and starts fine. Pages are return blank. What
>could possibly cause that I wonder?
>
>At 11:07 PM 28/11/02 +0100, you wrote:
> >Brook Davies wrote:
> > > Okay, everything was
Yeah, the service is running and starts fine. Pages are return blank. What
could possibly cause that I wonder?
At 11:07 PM 28/11/02 +0100, you wrote:
>Brook Davies wrote:
> > Okay, everything was finally working. Then I changed the password the
> > cfaccount is running under. And now all of the c
Well...nobody responded, but I got it sorted out ;-)
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
Sorry, one more time:
f = new java.awt.Frame("JavaScript running in BSF");
bsf.addEventListener (f, "window", "windowClosing",
"java.lang.System.exit (0);");
b1 = new java.awt.Button("Quit Program!");
bsf.addEventListener(b1, "action", null,
"quit('JavaS
Brook Davies wrote:
> Okay, everything was finally working. Then I changed the password the
> cfaccount is running under. And now all of the cfm pages return a page with
> only this:How did that happen? The request cfm template has code in it,
> but all I get is a blank page! Anyone seen thi
I'll leave this for all before I go out and eat too much. Without
importation of the BSF Lib and your every day install of CFMX:
oContextObject = CreateObject("java","org.mozilla.javascript.Context");
oContextDump = oContextObject.init();
All sorts of little gems hidden in CFMX I believe.
Eri
Here's the code with out the extraneous characters:
f = new java.awt.Frame("JavaScript running in BSF");
bsf.addEventListener (f, "window", "windowClosing",
"java.lang.System.exit (0);");
b1 = new java.awt.Button("Quit Program!");
bsf.addEventListener(b1, "ac
Okay, everything was finally working. Then I changed the password the
cfaccount is running under. And now all of the cfm pages return a page with
only this:How did that happen? The request cfm template has code in it,
but all I get is a blank page! Anyone seen this before? Brook
~~~
Mmmm
I just did the strangest thing, and I don't understand all I know about
it yet.
I was playing around with Rob's technique -- So, I thought I would see
if I could find some other examples, of BSF.
I found one that uses JavaScript to create a Java Frame (window) with a
Java button a
Hey All,
Does anyone have a code snippet showing how to add an image to an existing
image using CFX_IMAGE?
TIA
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
--
Have a look at the recent thread:
CFJava - SOLVED!! (maybe)
On windows, you can communicate between PerlScript, TCL, Python,
Javascript and Java -- and Bob Rohan appears to have found a way to
incorporate this into CFMX programs.
HTH
Dick
On Thursday, November 28, 2002, at 12:15 PM, Dav
This is indirectly related to CFMX in several ways, here's one.
The CFMX administrator uses a Java applet in several places to browse
the file structure, for example, mappings. The applet seems to work
OK, displaying the directory tree and expanding/collapsing folders.
However, when you hit th
hmm.. I probably should have asked if he's running Windows or *nix before
mentioning wins or localhosts...
-Original Message-
From: Jeff Beer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 2:57 PM
To: CF-Talk
Subject: RE: Cannot Connect to Mail Server CF 5
If you get conn
I think the new home for BSF is at Jakarta
http://jakarta.apache.org/bsf/index.html
Personally, I can't wait to dig into this a bit more. For instance:
some sort of customizable, basic business rule engine for a CF eCommerce
or CMS app. Recently found some benchmarks that may be of interest to
o
Does anyone have any good information on working with both CF and PERL?
Dave Adams
CFUG Ottawa
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/in
If you get connected with IP and not with machine or domain name, it's a DNS
or WINS error. You can add an entry into localhosts so it will always
resolve. Just be sure to update it if that machine's IP ever changes.
-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sounds like a DNS problem. For just this reason, I always use an IP address
for the mail server in CF Admin.
Chris Lofback
Sr. Web Developer
TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL 33761
www.trxi.com
> -Original Message-
> From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
I think I may have found the problem. It seems that quite often the
permissions on files on Windows 2K need to be completely reset, even though
they appear to have the correct permissions. Resetting permissions may have
fixed this problem...
At 11:34 AM 28/11/02 -0800, you wrote:
>I really do
I don't know what has happened, but I have been working on an app that sends out a
notification (cfmail) and it was running just fine and then all of a sudden, the mail
stopped coming ... So I checked into it and the log files say that CF Server can't
connect to the mail server...
I then went
I really do not understand what is happening here. I was getting the "500
Internal Server error" when I tried access a cfm file with the Internet
Guest Account. I was not getting a prompt or an ACL denied message.
I removed the "Internet User Guest Account" permissions from the Jrun.dll
file -
One other thing:
I have the website site up and I have given the jrun.dll file permissions
for the Internet Guest Account. When I do this, I can access a cfm file
with no login prompt but the server returns a "500 Internal Server Error".
If I remove the Internet Guest Account from the Jrun.dll,
I'm trying to set up CFMX and it is not co operating. I have reinstalled it
3 times already.
I'm running Win2k Sp3 and IIS5.0.
I am getting this error "A dynamic link library (DLL) initialization
routine failed." when accessing cfm files or I get "500 Internal Server Error".
When I try to remo
On Thursday, Nov 28, 2002, at 10:01 US/Pacific, Shahzad.Butt wrote:
> I think it is bug in CF MX. When I try sending mail from PORT 25 it
> works but when I specify any other port it doesn't work.
>
> It does work with my test server (CF5.0) with any PORT.
>
> So I presume its something wrong with
- Original Message -
From: "Ryan Mitchell" <[EMAIL PROTECTED]>
> Im looking to parse through a string of text and turn any
> http://whatever.com into href="http://whatever.com";>http://whatever.com, if you know what I
> mean!!
---
Try this:
string = REReplace
Actually.. I should rephrase that statement... Thanks Jochem. (I need
to remember to be careful when I state things this way -- since it may
give the wrong impression.)
What I should have said is:
It has more features, yet it does not have the control that is should
over these new features. Thi
Shahzad.Butt wrote:
> I think it is bug in CF MX. When I try sending mail from PORT 25 it
> works but when I specify any other port it doesn't work.
>
> It does work with my test server (CF5.0) with any PORT.
>
> So I presume its something wrong with MX
You forgot to check the list of know
It's a known issue
http://www.macromedia.com/v1/handlers/index.cfm?ID=23464&Method=Full
HTH
-Original Message-
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 18:02
To: CF-Talk
Subject: CFMail (MX Bug)
I think it is bug in CF MX. When I try sending ma
I think it is bug in CF MX. When I try sending mail from PORT 25 it
works but when I specify any other port it doesn't work.
It does work with my test server (CF5.0) with any PORT.
So I presume its something wrong with MX
***
Lee Fuller wrote:
>
> - It has less control (via the admin panel) than previous
> versions, where it comes to dealing with things like, for example, this
> SQL timeout issue.
What could you control in previous versions that you can't control anymore?
Jochem
~~~
bah. One of the things I haven't tried yet is mailing under CFMX. Looks like I
better add this to the to-do list. Today, if possible.
---
Matt Robertson, MSB Designs, Inc.
http://mysecretbase.com
---
~~
Exactly. I was just thinking of that after I responded to Mike's
comment.
REALITY:
- CFMX quite simply does not monitor itself and it's
connectivity thoroughly enough.
- It can be easily killed, with improper programming.
- It has less control (via the admin panel) than p
Mike,
We have been working with Mike Collins on this. He has COMPLETE access
to one of our servers that has been experiencing these problems, and is
quite familiar with how we have things setup there.
Just FYI.
Lee
| -Original Message-
| From: Mike Chambers [mailto:[EMAIL PROT
Well, you can try this, but its a little crazy. I'd only pull this if you're
desperate:
Do what was suggested earlier with regard to auto-building the string... except build
a *new* one. Then cflocation ( or, uh, meta-refresh) to that new url.
I haven't spent time considering the ramification
Brook,
I think you need to make sure that the account that you're running under
has full permissions on the \bin directory. I vaguely
remember having this be an issue with these consequences before.
Of course, as always, I may be wrong! ;)
| -Original Message-
| From: Brook Davies [ma
Besides MM there are consultants you can call about this. The first thing that a
consultant will probably do is look through your logs to see what templates are
running long (if that option is turned on for your system) and if there are any
errors in the time frame your talking about.
For example,
Ouch!
Actually I wasn't clear enough... I meant includes... not pages... and I think I
worked out a way last night.
At 01:45 AM 11/28/02, you wrote:
>Brian Scandale wrote:
>
>> What are others doing to work across multiple pages in a runtime
>> determined order.
>
>The only thing we can: redesig
I have this problem with the CF server hanging three or four time per day.
A couple of you have suggested that unlocked session variables might be the
issue, and although I'm pretty sure they are all securely locked for
reading and writing I will go through and check them all again.
If that is
There is tag at macromedia.com for this. Its call GetLinks or something
similar. Uses a regex to parse the file.
Also you can use wget to dump the links.
WG
> -Original Message-
> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 17:01
> To: CF-Talk
> Subject: Pars
I understand...I guess there is no way other than to goto each darned
link in this mess and add the requesttimeout. G
Regards,
Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions
-Original Message-
From: Brook Davies [mailto:[EMAIL
You got this error because your were trying to "set" the cgi.query_string
var - you can not do this. I think you may have to append the
requesttimeout=500 to each link in your app. You could create a variable
that contained "requesttimeout=500", and then append that variable to ALL
of your link
Okay, that last one got cut off...to finish:
Invalid attempt to set a Web parameter
An attempt was made to assign a value to a read-only web parameter.
Any ideas...thanks!
Regards,
Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions
-Orig
Hello all!
Im looking to parse through a string of text and turn any
http://whatever.com into http://whatever.com";>http://whatever.com, if you know what I
mean!!
Are there any ways to do this?
Ryan
~|
Archives: http://www.hous
Yeah, I see - but you don't go into any details - for example, do you get the mail and
it's not properly formatted? If
so, then maybe you can post the source of the email...
Regards,
Howie
- Original Message -
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
S
Here's my original post which has 2 scripts I tried, both of which worked
with earlier versions. I also explained briefly what the error results were:
Repost:
Has any one been able to get CFMAIL to send mult-part messages with CFMX?
MY script was working fine prior to mx, but no more. I've trie
On CF 5, this is the error I get:
An error occurred while evaluating the expression:
cgi.query_string = cgi.query_string & "&RequestTimeout=3600"
Error near line 6, column 9.
~|
Archives: http://www.houseoffusion.com/cf_l
What do you mean by broken? Do you get an error or is the email not properly
formatted?
Regards,
Howie
- Original Message -
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 10:39 AM
Subject: CFMX and Multipart Mail
> Has an
Ahh, very good question/observation. Because , I have seen a page with no
queries cause hung threads, and since we are using client var / database
storage, this could be the culprit.
At 04:40 PM 28/11/02 +0100, you wrote:
>Mike Chambers wrote:
> >
> > --
> > Since they are using SQL the timeout
Mike Chambers wrote:
>
> --
> Since they are using SQL the timeout attribute is supported in
> , it's not in oracle. They should add a timeout to all their
> queries. That way if SQL is caught in a deadlock situation SQL will use
> that timeout attribute as a timer, and if the query waits that lon
Has any one been able to get CFMAIL to send multi-part messages with CFMX.
I had this working with CF4.5, but the code broke in MX. I have tried
several different approaches including the one below supplied by Matt
Robertson of MSB Designs. The other script I had has been posted to this
list se
I'll try this today and see if it helps - thank you.
At 10:35 AM 28/11/02 -0500, you wrote:
>Brook,
>
>below is a suggestion passed on to me:
>
>--
>Since they are using SQL the timeout attribute is supported in
>, it's not in oracle. They should add a timeout to all their
>queries. That way if SQ
Brook,
below is a suggestion passed on to me:
--
Since they are using SQL the timeout attribute is supported in
, it's not in oracle. They should add a timeout to all their
queries. That way if SQL is caught in a deadlock situation SQL will use
that timeout attribute as a timer, and if the query
Brook Davies wrote:
> I have a question about running the CFMX Service under a non-system
> account. When I try this, I get a Type 2 error and the service will not
> start. The account has log on as a service prvs, access to the CFMX
> directory and the windows directory.
>
> What other permiss
I have a question about running the CFMX Service under a non-system
account. When I try this, I get a Type 2 error and the service will not
start. The account has log on as a service prvs, access to the CFMX
directory and the windows directory.
What other permissions do I need to assign? FYI, t
There is a 3 selects related tag on macromedia.com
WG
> -Original Message-
> From: Ian Vaughan [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 14:28
> To: CF-Talk
> Subject: Re: Ideas for improving this script?
>
>
> Yes, I can see that, but if you look at Selene's script the actual
Jochem van Dieten wrote:
>
> Another option would be to try and limit the amount of connections to
> the database to something less as the restart threshold. Then you would
> start to see timeouts from queries not being able to get a database
> connection before the server actually crashes.
To
Yes, I can see that, but if you look at Selene's script the actual arrays
etc are generated dynamically from the database using Coldfusion. That is
what I meant by impoving the script , how would you add that functionality
into it?
- Original Message -
From: "webguy" <[EMAIL PROTECTED]
Look at qForms, there is n-related javascript functions
http://www.pengoworks.com/qForms/docs/examples/n-related_selectboxes.htm
WG
> -Original Message-
> From: Ian Vaughan [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 14:09
> To: CF-Talk
> Subject: Ideas for improving this script
Hi
Does anybody have any ideas on how to add a third select box to the current
code below which only deals with two select boxes at the moment. The code
below is taken from
http://www.webtricks.com/sourcecode/source_code.cfm?CodeID=18
It is using Javascript and Coldfusion to build the arrays and
I've added FTP Server (RUNNING COLDFUSION MX) with Visual Foxpro
Datasource on my Coldfusion Studio. When I go to Databases from my
Coldfusion Studio (4.5). It gives me all tables for each DSN but when I
try to open the table to see columns it gives MX Error in dialog box
saying 'Table fields could
If you are using CFMX, you would put this is your application file or
individual template:
I think this is a much better implementation of the timeout setting than
prior versions of CF.
Brook
At 11:03 PM 27/11/02 -0800, you wrote:
>You can do this up to CF 5. You cannot do this using CFMX.
Hi,
I have a CF4.5 server /win2k , which seems to multiple java.exe processes
running on port 2525. (task manager + psview) The are no java calls in the
CF, the are no java cfxs, and the jvm is not set to start on server start.
Anyone got any ideas? How does one check what program is creating t
Brian Scandale wrote:
> What are others doing to work across multiple pages in a runtime
> determined order.
The only thing we can: redesign.
Jochem
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscr
Rob
Your latest code, and the first example both contained:
manager.registerScriptingEngine("javascript","com.ibm.bsf.engines.javasc
ript
JavaScriptEngine",extensions);
This was supposed to be a single line with a (.) separating the 2
wrapped
portions, the statement is:
manager.registerScrip
| Subject: RE: CF server hangng with unresponsive threads
|
|
| Stephen, are you using Application, Server and/or Session
| scoped variables in your application?
|
| Kind Regards - Mike Brunt, CTO
| Webapper
We are using Session variables, but they are all safely written and read
under lock.
---
81 matches
Mail list logo