>>ERROR:
>>There is a problem with the page you are trying to reach and it cannot be
>>displayed.
Ah ah! Now this is an information.
The error is in the url not passed correctly, noting to do with the query.
Use URLEncodedFormat() to pass the parameter to the URL.
--
>>I ytird yjr following but it still fails
Could it be that you've got the Y at the wrong place on your keyboard?
(Sorry, I couldn't resist ;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any
When you say "It's not working", try to be more specific:
- any error message?
- is it that the query does not return records?
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address
RE ProductID = value="#URL.thisProduct#">
>
>
>ERROR:
>
>There is a problem with the page you are trying to reach and it cannot be
>displayed.
>
>HTTP 500 - Internal server error
>Internet Explorer
>
>----- Original Message -
>From: "Russ"
:
- Original Message -
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Wednesday, August 24, 2005 7:19 AM
Subject: RE: URL string not working... HELP!
> > ERROR:
> >
> > There is a problem with the page you are trying to reach and
> ERROR:
>
> There is a problem with the page you are trying to reach and
> it cannot be displayed.
>
> HTTP 500 - Internal server error
> Internet Explorer
That's not very useful. To display more detail about an error, enable
"Robust Exception Information" within the CF Administrator, and disa
ach and it cannot be
displayed.
HTTP 500 - Internal server error
Internet Explorer
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 11:01 PM
Subject: RE: URL string not working... HELP!
> Can you post the
Can you post the new code you're using? Also what error are you getting?
-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 11:42 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!
trying that now, still not working for 11-12
trying that now, still not working for 11-123-123
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:45 PM
Subject: RE: URL string not working... HELP!
> Have you tried cfqueryparam?
>
> -Original
Have you tried cfqueryparam?
-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 11:37 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!
that is a valid assement, now what so I do about it?
- Original Message -
From: "
that is a valid assement, now what so I do about it?
- Original Message -
From: "Eddie Awad" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:37 PM
Subject: Re: URL string not working... HELP!
> On 8/23/05, Sharon Creese <[EMAIL PRO
On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> it will work for product ids of :
>
> ABCD1
> 12-1234
> AB-123
> 123-A23-123
>
> But not for
> 12-34-17
I'm guessing here, but I'm noticing a pattern. maybe the string is
being mistakenly treated as a date:
mm-dd-yy
1-1-12
12-34-17 (but 34
I am trying the
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:31 PM
Subject: RE: URL string not working... HELP!
> Well it would help if you did it from coldfusion using the db as the
source
> fo
: URL string not working... HELP!
works from query analyzer
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:22 PM
Subject: RE: URL string not working... HELP!
> The other question was have you tried doin
works from query analyzer
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:22 PM
Subject: RE: URL string not working... HELP!
> The other question was have you tried doing the same query straight from
st 23, 2005 11:11 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!
Server Product
ColdFusion MX
Version
6,1,0,63958
what is the other question
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent:
Server Product
ColdFusion MX
Version
6,1,0,63958
what is the other question
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:12 PM
Subject: RE: URL string not working...
You still havent' answered either of my questions...
-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 11:04 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!
it will work for product ids of :
ABCD1
12-1234
AB-123
123-A2
it will work for product ids of :
ABCD1
12-1234
AB-123
123-A23-123
But not for
12-34-17
- Original Message -
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, August 23, 2005 10:04 PM
Subject: RE: URL string not working... HELP!
> Hmm... yo
ugust 23, 2005 10:49 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!
sorry about that. Here is what I have now but it fails for everything.
SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID =
sorry about that. Here is what I have now but it fails for everything.
SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID = '#tempVar#'
~|
Logware (www.logware.us)
CF-Talk"
Sent: Tuesday, August 23, 2005 8:37 PM
Subject: Re: URL string not working... HELP!
> a (with the appropriate cfsqltype) around the
> URL.thisProduct should fix things up.
>
> and/or you could wrap the var in a toString() ?
>
>
> On 8/23/05, Sharon Creese <[E
a (with the appropriate cfsqltype) around the
URL.thisProduct should fix things up.
and/or you could wrap the var in a toString() ?
On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> I just tried that and it did not work. I think what is happenning is that
> when the value is passed to the
I just tried that and it did not work. I think what is happenning is that
when the value is passed to the query it does not like the the - when the
other parts of the string are numbers so it tries to do math though it is a
string.
I am doing a query and then running another query against the firs
have you tried URLEncodedFormat()?
and can you define "pukes"?
On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> I am passing information via a URL string to a detail page as the following
>
> htpp://.../index.cfm?action=Shop&thisPage=Detail&thisProduct=1-1-12
>
> but it pukes on the Produ
ert [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 8:18 PM
To: CF-Talk
Subject: Re: URL String and cfsavecontent
A ha! That's a COMPLETELY different question, and I have no idea how
to solve, since I don't use CF7 for anything. Any set of flash docs
should give you the anwser tho
A ha! That's a COMPLETELY different question, and I have no idea how
to solve, since I don't use CF7 for anything. Any set of flash docs
should give you the anwser though. You're form is just a movie, so it
has the same access to the page it's embedded in's URL scope as a
normal Flash IDE-create
Here is a better example of what i'm doing. I have an alert box in flash
forms. I would like the getURL to run with the current URL string which looks
like http://www.test.com?lid=4.
Is this the proper way to bring in a URL string variable: var myvar =
_root.lid;
var myvar = _root
Hold the phone... bah.
#url.myUrlVariable#
Much better... it will only save the text stored in the output buffer once
the savecontent tag is done executing. So if you haven't output anything,
you won't have anything inside the variable.
Sorry for the confusion...
J
On 7/7/05, Jared Rypka-H
perhaps? I'm not really sure what you're asking. Maybe this:
Your code will put the string "var myvar = _root.myurlvar;" into the
variable "testing", along with some leading and trailing whitespace.
No other variables will be set or accessed (including your URL
variable; it's totally unused
Michael...
To be honest, your code makes no sense at all... try this:
http://www.test.com?myurlvar=testing
#testing#
First off, you only have a string inside the savecontent... which means that
you're not going to execute the code. CFSAVECONTENT actually executes the
code inside it and pu
: Saturday, June 05, 2004 10:57 AM
To: CF-Talk
Subject: RE: url string parameter question.
> in a url string...
>
> http://www.antiwrap.com/?a=1
>
> I can get to a, because its url.a, and I know it equals 1
>
> however, how do I get to this?
>
> http://www.somedomain.co
> in a url string...
>
> http://www.antiwrap.com/?a=1
>
> I can get to a, because its url.a, and I know it equals 1
>
> however, how do I get to this?
>
> http://www.somedomain.com/?
>
> = nothing.
>
> I guess it's a struct, called url, and it has a thing called
> , but I guess,
so, I can look for this...
Has a url like this
http://www.somedomain.com/?
Has a url like this
http://www.somedomain.com/?a=&tony=1
so, then I can use
structKeyList(url), which gives me the name of the url parameter, but
really it's the number I want :)
tony
Tony Wee
Robert:
Look into the HTMLEditFormat() function. The specific problem here is
likely the double-quotes in your string. The browser sees the quotes and
assumes that the value of the HTML attribute ends with that double-quote.
The HTMLEditFormat() function escapes the quotes for just such a reason
try the CGI variables
-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 10:16 AM
To: CF-Talk
Subject: url string
Hi,
Just wondering if there was a way to reference the entire url string
instead of just a certain named variable.
TIA,
Jay
Thanks Ben.
I discovered it shortly after posting the message, I didn't even bother to
think about server variables! Doh!
Thanks again,
Jay
At 08:42 AM 1/8/2001 -0500, you wrote:
>#CGI.QUERY_STRING#
>
>--- Ben
>
>
>
>-Original Message-
>From: Jay Brushett [mailto:[EMAIL PROTECTED]]
>Se
#CGI.QUERY_STRING#
--- Ben
-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 5:16 AM
To: CF-Talk
Subject: url string
Hi,
Just wondering if there was a way to reference the entire url string
instead of just a certain named variable.
TIA
38 matches
Mail list logo