Ask a Question related to Coldfusion Database Access, Design and Development.
-
quiero mas #1
Element DS is undefined in APPLICATION
I have followed all the advice from a previous thread
but now i get a new error
link: [url]www.healthhokkaido.com[/url]
Element DS is undefined in APPLICATION.
The error occurred in
C:\Sites\Accounts\bimfire\healthhokkaido.com\www\f iles\catalog_getCategories.cfm
: line 1
1 : <cfquery name="qGetCategories" datasource="#application.ds#">
2 : select id,name from categories
3 : </cfquery>
--------------------------------------------------------------------------------
Resources:
Check the ColdFusion documentation to verify that you are using the correct
syntax.
Search the Knowledge Base to find a solution to your problem.
quiero mas Guest
-
Element is undefined
I get the message Form Element TXTSEARCH is undefined with this code: <cfset Session.Description = #Form.txtSearch#> I have a textbox called... -
Element DS is undefined in APPLICATION.
Hi Everyone - Finally got to the upload stage. uploaded to my host - mx7 ok. www.healthhokkaido.com I get this Element DS is undefined in... -
Undefined element in form - Please Help
I keep on getting a message displayed stating that I have an undefined element in a form - I have checked and everything looks OK - did a <cfdump>... -
Undefined element in form
I keep on getting a message - Element STARTTIME_HOUR is undefined in FORM ??? I have checked everything that I can think of and can see... -
Element <VARIABLE> is undefined in URL
Hi All, I can't seem to remember how to stop the error "Element DOCTYPE is undefined in URL". I am using the following code but I can't solve... -
jdeline #2
Re: Element DS is undefined in APPLICATION
Typically, a datasource will be a simple text string, like "myDatasource". Go to ColdFusion administrator and change the name of the datasource to something simple.
jdeline Guest
-
quiero mas #3
Re: Element DS is undefined in APPLICATION
HI thanks for the advice
this is part of a shopping cart kind of system
this works fine on my developer system
im having trouble on the net
any more advice most welcomed
quiero mas Guest
-
paross1 #4
Re: Element DS is undefined in APPLICATION
Check the application.cfm template that is in the path for catalog_getCategories.cfm as it looks like you aren't setting the application.ds variable there.
Phil
paross1 Guest
-
quiero mas #5
Re: Element DS is undefined in APPLICATION
these are what i have - im a bit of a newbee what should i change - worried im
going to stuff something up?
thanks again
Mark
<!--- Application Settings --->
<cfapplication name="shoppingCart" sessionmanagement="yes">
<!--- Application Variables --->
<cfparam name="application.ds" default="cart">
<!--- Monetary Variables --->
<cfparam name="application.taxrate" default="0.08">
quiero mas Guest
-
paross1 #6
Re: Element DS is undefined in APPLICATION
You say it works OK on your development system but not in "production", so
where is the application.cfm that contains this variable declaration located in
relation to the catalog_getCategories.cfm template on your production system,
and is there another application.cfm located between that one and this template?
Phil
paross1 Guest
-
quiero mas #7
Re: Element DS is undefined in APPLICATION
Well I checked out the server and seems that i have the same file twice but in
different directories
C:\Sites\Accounts\bimfire\healthhokkaido.com\files has one and the other
C:\Sites\Accounts\bimfire\healthhokkaido.com\www\f iles
and the index page
C:\Sites\Accounts\bimfire\healthhokkaido.com
what a mess! for some reason its like this
Any ideas Phil?
Most appreciated
Mark
quiero mas Guest
-
jdeline #8
Re: Element DS is undefined in APPLICATION
"Well I checked out the server and seems that i have the same file twice but in
different directories"
By {I}same file{/I}, do you mean Application.cfm? Which directory path is
your page in that errors out?
jdeline Guest
-
paross1 #9
Re: Element DS is undefined in APPLICATION
You should check the contents of the application.cfm in
C:\Sites\Accounts\bimfire\healthhokkaido.com\www\f iles against what you have in
development, specifically where you are setting the application.ds variable. I
suspect that this is missing on your production system. Why is it like this?
Good question, since I am assuming that you are the one that should be
controlling what ColdFusion files are on both sites.
Phil
paross1 Guest



Reply With Quote

