Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need some CF help

Guest
Jan 20, 2009 Jan 20, 2009
First off I'm new here so I apoligize in advance if I posted to the incorrect forum. I purchased a script that after installing I've ran into this several errors and with the help of my web host have corrected majority of them and now hopefully I'm down to my last one that I cannot figure out. And the company that I purchased the script from hasn't replied back in 2 days so I'm hoping someone here might be able to help me figure this error out. Is it a path issue? I've tried changing the path numerous ways but I'm a complete noob when it comes to things like these!


Error Occurred While Processing Request
Could not find the included template inc/common/couponold_del.cfm.
Note: If you wish to use an absolute template path (e.g. TEMPLATE="/mypath/index.cfm") with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator. Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.

The error occurred in E:\Websites\thriftypockets.com\wwwroot\admin\cpncreate.cfm: line 24
Called from E:\Websites\thriftypockets.com\wwwroot\admin\coupon_preview.cfm: line 26
Called from E:\Websites\thriftypockets.com\wwwroot\admin\coupon.cfm: line 767
Called from E:\Websites\thriftypockets.com\wwwroot\admin\coupon.cfm: line 1

22 :
23 : <!--- DELETE ALL COUPONS OLDER THAN 15 min --->
24 : <cfinclude template="inc/common/couponold_del.cfm">
25 : <cfinclude template="inc/common/bc128.cfm">
26 : <!--- CREATE CURRENT COUPON --->



--------------------------------------------------------------------------------

Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 1.1.4322)
Remote Address 67.71.58.179
Referrer
Date/Time 20-Jan-09 03:30 PM

Stack Trace (click to expand)
at cfcpncreate2ecfm1928089547.runPage(E:\Websites\thriftypockets.com\wwwroot\admin\cpncreate.cfm:24) at cfcoupon_preview2ecfm1945077851.runPage(E:\Websites\thriftypockets.com\wwwroot\admin\coupon_preview.cfm:26) at cfcoupon2ecfm1858765136._factor114(E:\Websites\thriftypockets.com\wwwroot\admin\coupon.cfm:767) at cfcoupon2ecfm1858765136.runPage(E:\Websites\thriftypockets.com\wwwroot\admin\coupon.cfm:1)


coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException: Could not find the included template inc/common/couponold_del.cfm.
at coldfusion.tagext.lang.IncludeTag.setTemplate(IncludeTag.java:286)
at cfcpncreate2ecfm1928089547.runPage(E:\Websites\thriftypockets.com\wwwroot\admin\cpncreate.cfm:24)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
at cfcoupon_preview2ecfm1945077851.runPage(E:\Websites\thriftypockets.com\wwwroot\admin\coupon_preview.cfm:26)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
at cfcoupon2ecfm1858765136._factor114(E:\Websites\thriftypockets.com\wwwroot\admin\coupon.cfm:767)
at cfcoupon2ecfm1858765136.runPage(E:\Websites\thriftypockets.com\wwwroot\admin\coupon.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

If anyone could help me out with this I would greatly appreciate it.
TOPICS
Getting started
587
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 20, 2009 Jan 20, 2009
This line:
<cfinclude template="inc/common/couponold_del.cfm">

is trying to include a file, couponold_del.cfm, that is in the given path relative to the file being executed. Since that file is:
E:\Websites\thriftypockets.com\wwwroot\admin\cpncreate.cfm
then it's looking for:
E:\Websites\thriftypockets.com\wwwroot\admin\inc\common\couponold_del.cfm
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 20, 2009 Jan 20, 2009
Hi Kronin,

Thanks for the quick reply, sorry as I said I'm a total noob when it comes to this. I'm assuming then it would be an issue within the coding that would need to be corrected?

The only reason I say this is that it is quite a large program and changing the installation path to the path you listed would limit the other area's of the program? As the only path's I'm able to input is:
1) Installation path
2) Installation url
3) Photos directory
4) Photos url

Or would I input it in one of those paths?

Thanks again for your reply definitely appreciate the help.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 20, 2009 Jan 20, 2009
LATEST
You said you purchased a script. I'm guessing the file that throws this error (cpncreate.cfm) is apart of this script you purchased? If so, you should have gotten these dependent files with it (the files in inc/common).
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources