• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 975
  • Last Modified:

Apache 2.2 / Coldfusion 9 Error "File Not Found"

I am receiveing Coldfusion error "File Not Found"; The files are there.

Actual location on my hd is  
C:\ColdFusion9\wwwroot\Yoda\Admin\AdminRegistration\User\newuserregistration.cfm

The site is http://www.webfuse.net/newuserregistration.cfm

I appreciate any help offered thankfully :)

The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.


The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
File not found: /Admin/AdminRegistration/User/NewUserRegistration.cfm

 
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.
Browser        Mozilla/5.0 (Windows; U; en_US) AppleWebKit/530.19.2 (KHTML, like Gecko) Dreamweaver/11.5.0.5315 Version/4.0.2 Safari/530.19.2
Remote Address        72.15.97.97
Referrer        
Date/Time        23-Aug-12 02:36 PM
Stack Trace


coldfusion.runtime.TemplateNotFoundException: File not found: /Admin/AdminRegistration/User/NewUserRegistration.cfm
      at coldfusion.filter.PathFilter.invoke(PathFilter.java:90)
      at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
      at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
      at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
      at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
      at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
      at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
      at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
      at coldfusion.CfmServlet.service(CfmServlet.java:200)
      at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
      at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
      at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
      at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
      at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
      at jrun.servlet.FilterChain.service(FilterChain.java:101)
      at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
      at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
      at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
      at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
      at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
      at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
      at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
0
ChuckInAtl
Asked:
ChuckInAtl
  • 2
  • 2
2 Solutions
 
srikanthmadishettiCommented:
if your server is on Linux make sure you give correct filename because Linux has a case-sensitive file system.
So NewUserRegistration.cfm and newuserregistration.cfm are different in Linux.
0
 
ChuckInAtlAuthor Commented:
Sorry, I did not mention I'm on Windows 7 and I am typing in correct case.

Thanks :)
0
 
srikanthmadishettiCommented:
what is the exact  url you are using to browse this page ?
0
 
Gurpreet Singh RandhawaWeb DeveloperCommented:
did u checked file exists exists here

C:\ColdFusion9\wwwroot\Yoda\Admin\AdminRegistration\User\

are u doing an include or cflocation

can u show the piece of code here

Thanks
0
 
ChuckInAtlAuthor Commented:
Hi Guys,

I think I found ONE of my problems; I had Apache 2.2 httpd and vhost mapping error.

Also, I had an error in "newuserregistration.cfm" fixed that and renamed it "registeruser.cfm"...so no more "file not found" problem.

BUT :), always a but....now when calling registeruser.cfm I get a blank page?

If you visit http://www.webfuse.net and you click your way through you will see what I mean...thanks again for the responses! :)

ALSO, here is my LoginForm.cfm source.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!---
      File Name:  loginform.cfm
      Created By:  Chuck Luxner (copy of Basic Login Page by Nate Weiss)
      Date Created:  March 23, 2008
      Purpose:  Presented whenever a user has not logged in yet
      Please Note:  Included by Application.cfc
--->

<!--- If the user is now submitting "LoginForm" form, --->
<!--- Include "Login Check" code to validate user --->
<cfif isDefined("FORM.UserLogin")>
      <cfinclude template="logincheck.cfm">
</cfif>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Please Log In</title>
</head>



<!--- Place cursor in "User Name" field when page loads --->
<body onload="document.LoginForm.userLogin.focus();">

<!--- Login Form action when submit --->
<cfform action="#cgi.SCRIPT_NAME#" name="LoginForm"  method="Post">
      
<!--- Make the UserLogin and UserPassword fields required --->
      <input type="hidden" name="userLogin_required" />
      <input type="hidden" name="userPassword_required" />
      
<!--- Use an HTML table for simple formatting --->
<table border="0">
      
      <tr>
            <td width="100">User Name:</td>
            <td><cfinput type="text" name="userLogin" size="20" value=""maxlength="110" required="yes" message="Username required" /></td>
      </tr>
      <tr>
            <td width="100">Password:</td>
            <td><cfinput type="password" name="userPassword" size="20" value=""maxlength="110" required="yes" message="Password required" /></td>
      </tr>
      <tr>
            <td></td>
            <td><!--- Use Login Image to submit form --->
                   <input name="" type="image" src="/login.gif" alt="Submit Form" align="right"/>
            </td>
      </tr>
    <tr>
          <td colspan="2">Forgot your password?  Click <a href="/PasswordRequest.cfm">Here</a></td>
      </tr>
</table>
      
      <tr>*This site is for registered users only; you may register <a href="/RegisterUser.cfm"> here.</a></tr>
</cfform>


</body>
</html>




ChuckInAtl
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now