Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
game_on #1
fine on local dev - problem on the live server
Hi. I am stuck. All of the demo's work great on my local. But - if I upload
them to the server i just get a blank page. I had a look in the exception logs
and the following was there: at
jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)
'Error','jrpp-97','02/26/05','18:06:53',,'File not found:
/CFIDE/scripts/cfformhistory.cfm The specific sequence of files included or
processed is: C:\home\xxx.co.uk\httpdocs\CFIDE\scripts\cfformhis tory.cfm '
coldfusion.runtime.TemplateNotFoundException: File not found:
/CFIDE/scripts/cfformhistory.cfm but the file is there - i don't get it? M@)
game_on Guest
-
How can i read XML from local drive usingJavascript into Live Cycle
Hello, I am creating PDF Form using Live Cycle. I am adding some javascript on it. I want to load xml file from specified location and read it.... -
Problem with local file and local link
Hi to everybody, I have installed a new version of flash player (9,0,28,0) and when I open a local file like: c:\test\index.html When I click... -
Local server problem
I'm connecting to a local server http://127.0.0.1:8500/gef/geftest.cfm (I created it in dreamweaver and can view it without problems on the local... -
Request objects working fine locally on IIS, but not on my live site
I'm cannot seem to get my request objects posted from a form on a previous page to show up on the page I'm posting to. When I try it locally on my... -
Can't use 'local' to find sql server instances on local machine
My computer (connected to a domain) is having trouble connecting to the local MSDE when using 'local' or '(local)' as server name. The only way I... -
game_on #2
Re: fine on local dev - problem on the live server
Hi. The execptions have stopped. And I have made a version and copied the
database to see if it worked on the local, which it does. This is the working
code: <cfquery name='getArtists' datasource='client_admin'> SELECT * FROM
client_admin.clients </cfquery> <cfif isDefined('form.btn')> <cfdump
var='#form#'> </cfif> <cfform format='flash' height='680' width='600'>
<cfgrid name='artistGrid' query='getArtists' rowheaders='false'> <cfgridcolumn
name='domain' header='Domain name'> <cfgridcolumn name='name' header='Client
name'> </cfgrid> <cfformgroup type='horizontal' label='Domain name'>
<cfinput type='text' name='domain' label='First'
bind='{artistGrid.dataProvider[artistGrid.selectedIndex]['domain']}'
onChange='artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'domain', domain.text);'> <cfinput type='text' name='name'
label='Client name'
bind='{artistGrid.dataProvider[artistGrid.selectedIndex]['name']}'
onChange='artistGrid.dataProvider.editField(artist Grid.selectedIndex, 'name',
name.text);'> </cfformgroup> <cfinput type='submit' name='btn'
value='submit' > </cfform> <cfquery name='getArtists'
datasource='#Application.Database[1].Name#'
username='#Application.Database[1].UserName#'
password='#Application.Database[1].Password#'
cachedwithin='#Application.Constants.CacheTime[1]#'> SELECT * FROM clients
</cfquery> <cfdump var='#getArtists#'> <!--- <cfquery name='getArtists'
datasource='client_admin'> SELECT * FROM client_admin.clients </cfquery>
---> <cfif isDefined('form.btn')> <cfdump var='#form#'> </cfif> <cfform
format='flash' height='680' width='600'> <cfgrid name='artistGrid'
query='getArtists' rowheaders='false'> <cfgridcolumn name='domain'
header='Domain name'> <cfgridcolumn name='name' header='Client name'>
</cfgrid> <cfformgroup type='horizontal' label='Domain name'>
<cfinput type='text' name='domain' label='First'
bind='{artistGrid.dataProvider[artistGrid.selectedIndex]['domain']}'
onChange='artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'domain', domain.text);'> <cfinput type='text' name='name'
label='Client name'
bind='{artistGrid.dataProvider[artistGrid.selectedIndex]['name']}'
onChange='artistGrid.dataProvider.editField(artist Grid.selectedIndex, 'name',
name.text);'> </cfformgroup> <cfinput type='submit' name='btn'
value='submit' > </cfform> Then all i did to compare it on the server was
change the query so it was live data. To confirm that the query was working I
added a dump to see the data. Which also outputs fine. Instead of the
datagrid, i get a blank space. I don't understand why this is behaving
different. Help M@) <cfquery name='getArtists'
datasource='#Application.Database[1].Name#'
username='#Application.Database[1].UserName#'
password='#Application.Database[1].Password#'
cachedwithin='#Application.Constants.CacheTime[1]#'> SELECT * FROM clients
</cfquery> <cfdump var='#getArtists#'> <cfif isDefined('form.btn')>
<cfdump var='#form#'> </cfif> <cfform format='flash' height='680' width='600'>
<cfgrid name='artistGrid' query='getArtists' rowheaders='false'> <cfgridcolumn
name='domain' header='Domain name'> <cfgridcolumn name='name' header='Client
name'> </cfgrid> <cfformgroup type='horizontal' label='Domain name'>
<cfinput type='text' name='domain' label='First'
bind='{artistGrid.dataProvider[artistGrid.selectedIndex]['domain']}'
onChange='artistGrid.dataProvider.editField(artist Grid.selectedIndex,
'domain', domain.text);'> <cfinput type='text' name='name'
label='Client name'
bind='{artistGrid.dataProvider[artistGrid.selectedIndex]['name']}'
onChange='artistGrid.dataProvider.editField(artist Grid.selectedIndex, 'name',
name.text);'> </cfformgroup> <cfinput type='submit' name='btn'
value='submit' > </cfform>
game_on Guest



Reply With Quote

