0
Error Message: Invalid argument
New Here
,
/t5/coldfusion-discussions/error-message-invalid-argument/td-p/629286
Jan 30, 2007
Jan 30, 2007
Copy link to clipboard
Copied
Where is the definition of the "Invalid Argument"? Is it just
generic for "That won't work"?
When I add the following url attribute code: "?fuseaction=test"
to change this:
<cfinclude template="../topStoryDisplay/index.cfm">
To this:
<cfinclude template="../topStoryDisplay/index.cfm?fuseaction=test">
the site goes from working to returning the error message: "Invalid Argument"
I've done this same kind of thing before I don't remember ever having problems like this. I think it should be very simple
When I add the following url attribute code: "?fuseaction=test"
to change this:
<cfinclude template="../topStoryDisplay/index.cfm">
To this:
<cfinclude template="../topStoryDisplay/index.cfm?fuseaction=test">
the site goes from working to returning the error message: "Invalid Argument"
I've done this same kind of thing before I don't remember ever having problems like this. I think it should be very simple
TOPICS
Advanced techniques
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
/t5/coldfusion-discussions/error-message-invalid-argument/m-p/629287#M59052
Jan 30, 2007
Jan 30, 2007
Copy link to clipboard
Copied
Hi,
Try defining your template url as a xfa entry in your circuit and then include that through <cfinclude> tag that will work.
Try defining your template url as a xfa entry in your circuit and then include that through <cfinclude> tag that will work.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
bushoncrack
AUTHOR
New Here
,
/t5/coldfusion-discussions/error-message-invalid-argument/m-p/629288#M59053
Jan 30, 2007
Jan 30, 2007
Copy link to clipboard
Copied
I tried to implement your suggestions and it didn't work.
do I define the fuseaction in the circuits.cfm file? Is this the syntax:
<cfset attributes.XFA.test = "test">
following from that would this work:
<cfinclude template="../topStoryDisplay/index.cfm?fuseaction=#attributes.XFA.test#">
Problem is that when I look at the pattern of how the requests are being set in the circuits file I don't think this is as straightforward as what I've typed above, and my first attempt to implement it did not work.
do I define the fuseaction in the circuits.cfm file? Is this the syntax:
<cfset attributes.XFA.test = "test">
following from that would this work:
<cfinclude template="../topStoryDisplay/index.cfm?fuseaction=#attributes.XFA.test#">
Problem is that when I look at the pattern of how the requests are being set in the circuits file I don't think this is as straightforward as what I've typed above, and my first attempt to implement it did not work.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
/t5/coldfusion-discussions/error-message-invalid-argument/m-p/629289#M59054
Jan 30, 2007
Jan 30, 2007
Copy link to clipboard
Copied
Since your request to include the tempate seems having a raw
value after the fuseaction variable as <cfinclude
template="../topStoryDisplay/index.cfm?fuseaction=#attributes.XFA.test#">
Try putting this <cfinclude> tag inside a <cfoutput> block.. That may work..
Try putting this <cfinclude> tag inside a <cfoutput> block.. That may work..
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/coldfusion-discussions/error-message-invalid-argument/m-p/629290#M59055
Jan 30, 2007
Jan 30, 2007
Copy link to clipboard
Copied
<cfinclude> does not accept querystring variables.
there's really no need... since you're just including the code into
the current page, set a variable on the page.
e.g.
<cfset fuseaction = "test" />
<cfinclude template="../topStory/Display/Index.cfm" />
you don't need to pass a value to the included template since you're pulling the included template into your current page. just set the variable on the current page.
e.g.
<cfset fuseaction = "test" />
<cfinclude template="../topStory/Display/Index.cfm" />
you don't need to pass a value to the included template since you're pulling the included template into your current page. just set the variable on the current page.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

