Skip to main content
October 21, 2006
Answered

No top level page was found.

  • October 21, 2006
  • 6 replies
  • 4647 views
I have a new installation of Coldfusion MX7 on a Fedora Core 4 machine. But I am having problems because whenever I try to open a *.cfm file coldfusion returns an error that says: "No Top Level Page was found" even though the path to the file is correct. Any hints?

The /opt/coldfusionmx7/logs/ has an error similar to this:
"Error","jrpp-114","10/19/06","11:37:19",,"File not found: /index.cfm The specific sequence of files included or processed is: /home/ravigehlot/public_html/index.cfm "

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

File not found: /index.cfm

------------------------------------------------------------------------------------------------------------
Exceptions

12:35:11.011 - coldfusion.runtime.TemplateNotFoundException - in : line -1
File not found: /index.cfm
------------------------------------------------------------------------------------------------------------

CF_TEMPLATE_PATH=/home/ravigehlot/public_html/index.cfm
PATH_TRANSLATED=/home/ravigehlot/public_html/index.cfm
SCRIPT_NAME=/index.cfm
SERVER_NAME=www.ravigehlot.net
SERVER_SOFTWARE=Apache/2.0.54 (Fedora
    This topic has been closed for replies.
    Correct answer Kronin555
    does the cfmx7 username have execute access to this directory:
    /home/ravigehlot/public_html/
    and read access to index.cfm?

    You're probably going to want the permissions of /home/ravigehlot/public_html/ to be 775 and the permissions of index.cfm to be 664

    6 replies

    Participating Frequently
    April 22, 2009

    I found out the cause of this issue. It was permissions on the files.
    Someone (or some service/program) removed the System user from the
    default web site folder and that is the user id that ColdFusion is
    running with.
    While testing earlier I changed the permissions only on one file in
    the directory to test and that did not solve the problem because the
    application.cfm did not have the System user added to it (and the file
    was trying to load applicaiton.cfm as CF goes through its sequence of
    files).
    FYI, just in case someone else runs into the same issue.

    Participating Frequently
    April 20, 2009

    We just started to see this error recently after a Windows 2k3 SP2 security patch. We are running ColdFusion 7.0.0.91690

    coldfusion.runtime.TemplateNotFoundException  - in  : line -1


        File not found: /test.cfm
            

    The ColdFusion pages are working fine from the CF Admin (/cfide/administrator/ ) but not from the IIS root directory. I checked and the System user was missing from folder permissions (which is what the CF service is runnig under). This did not fix my issue. I restarted the site in IIS and the CF service. I did not reboot the server.

    Do you know what else I can try there? Any suggestions would be appreciated.

    Thanks,

    Participating Frequently
    October 24, 2006
    > How did you find out this was a permission issue when the error is that it couldn't find the file?

    Sometimes a permissions issue demonstrates itself as a file not found. Just experience.

    > How can I change this so everytime I create a new user, the directory public_html is indeed created with the permission 755?

    Change your skeleton directory structure, the basic files that get copied to a new user's home directory.

    > is this an issue of the user cfmx7???

    Yes, but it would apply if CF is running as nobody as well.

    > How can I fix it?

    Plan your install before executing it. If you had done that, you would have already known about these issues and changed the skeleton files to have the correct permissions.

    Not related to this, but I went to ravegehlot.net. You might want to disable the debugging page...
    October 25, 2006
    Thank you for the time put into solving this problem and thank you once again for helping out.
    Kronin555Correct answer
    Participating Frequently
    October 23, 2006
    does the cfmx7 username have execute access to this directory:
    /home/ravigehlot/public_html/
    and read access to index.cfm?

    You're probably going to want the permissions of /home/ravigehlot/public_html/ to be 775 and the permissions of index.cfm to be 664
    October 24, 2006
    Wow! Good. This solved the problem. However, there is no need to change the permission for the index.cfm but only for the public_html directory. How did you find out this was a permission issue when the error is that it couldn't find the file? How does it translate to be permissions. Also...I had to go into every single public_html directory on my sever and change the permission to have the file index.cfm read. How can I change this so everytime I create a new user, the directory public_html is indeed created with the permission 755? Another question..is this an issue of the user cfmx7??? How can I fix it?
    Participating Frequently
    October 22, 2006
    Does the user that CF is running as have access to it? The error is pretty clear, it can't find the file.

    "File not found: /index.cfm"
    October 22, 2006
    At the time of installation I created an user name called cfmx7 for Coldfusion. Should I have used the nobody username instead?
    Participating Frequently
    October 21, 2006
    Is there an index.cfm page at the following location:
    /home/ravigehlot/public_html/index.cfm
    ??
    October 22, 2006
    of course