Delete / Restore an included .cfm file

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.

psennAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

campbelcCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pinaldaveCommented:
>>> Maybe something to do with file caching or file rights. Caching does that sometimes. I always do this when wondering about caching.
Correct.
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.
Reason:
First line of this comment.
Regards,
---Pinal
0
anandkpCommented:
Check ur CLASS files ... its generally a copy there ... that creates the issue :)
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

psennAuthor Commented:
I've been too busy to verify these suggestions.
But I haven't forgotten about you guys!
Thanks for being here.
0
pinaldaveCommented:
good. Well, let us know if any of our answer helped you.
Regards,
---Pinal
0
psennAuthor Commented:
Oh right, hang on.....
0
psennAuthor Commented:
I'm the one who's abandoned it.
I'll see if I can verify which answer is correct within the week.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.