|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
i try to put the cfparam and cfinclude at application.cfm but error when accessing with other page
application.cfm --- <cfinclude template="./lib/config.cfm"> <cfinclude template="./lib/function.cfm"> <cfparam name="CONF_DSN" default="TEST_DSN"> index.cfm ---- <cf_template> #ShowMenu(1)# #ShowMenu(2)# #ShowMenu(3)# </cf_template> output error is: ---- Variable SHOWMENU is undefined. The error occurred in /home/kontraktor/public_dummy/index.cfm: line when i include the function.cfm & config.cfm in index.cfm it still error cannot find datasource: <cfque....datasource="#CONF_DSN#"> it'z bcoz i'm using linux? i try mycode it perfect run on windowsXP
__________________
Making it different not a profit |
|
#2
|
|||
|
|||
|
On UNIX system, files are case-sensitive. You need to name the file "Application.cfm" - note the capital A.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Wow! thank kiteless u always safe my work!
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > cfparam, cfinclude |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|