[Last Call] Learn how to a build a cloud-first strategyRegister Now


Delete / Restore an included .cfm file

Posted on 2004-11-13
Medium Priority
Last Modified: 2013-12-24
This has happened twice now.

1. I deleted a .cfm file that was included in a page.
2.  When I refreshed the page, I got the expected error message: File not found.
3. I restored the included .cfm file.
4. The page still couldn't find it.
5. Nothing I could do could ressucitate the broken page.  It never could find the newly restored file.

I finally just had to make a copy of the included .cfm file and change the page to point to the copy.

Question by:psenn

Accepted Solution

campbelc earned 1000 total points
ID: 12575352
Maybe something to do with file caching or file rights. Caching does that sometimes. I always do this when wondering about caching.

index.cfm <-- your original page

index.cfm?a=new <-- with even a slight change in the url the page wont pull the cached page.
LVL 21

Expert Comment

ID: 12576994
>>> Maybe something to do with file caching or file rights. Caching does that sometimes. I always do this when wondering about caching.
How do I fix it?
Ans: I change one of the word in the page which makes it different file and then after I save it again.
the changed word does not have to be word.. have some extra space and save it... it will work.
First line of this comment.
LVL 17

Expert Comment

ID: 12577123
Check ur CLASS files ... its generally a copy there ... that creates the issue :)
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Author Comment

ID: 12593430
I've been too busy to verify these suggestions.
But I haven't forgotten about you guys!
Thanks for being here.
LVL 21

Expert Comment

ID: 12800625
good. Well, let us know if any of our answer helped you.

Author Comment

ID: 12818998
Oh right, hang on.....

Author Comment

ID: 13046634
I'm the one who's abandoned it.
I'll see if I can verify which answer is correct within the week.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question