Skip to main content
Inspiring
July 8, 2009
Answered

Why is CF7 still serving removed pages

  • July 8, 2009
  • 1 reply
  • 827 views

I removed files from our CF7 server. The server was restarted. However, it is still serving the pages like they were there (people are hitting it by their bookmarks).

    This topic has been closed for replies.
    Correct answer ilssac

    Manually delete the files in the cfclasses folder

    OR

    Click on the clear saved classes button in the administrator

    (I'm not sure if the latter is a CF7 or CF8 feature).

    1 reply

    ilssac
    Inspiring
    July 8, 2009

    Do you have the save classes option selected for improved production performance?

    Did you clear the classes when you deleted the files?

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

    Depending on how ColdFusion is configured it can either look to the source files (.cfm, .cfc, etc) or it can look to the compiled classes in the cfclasses directory as being the authortive location to get a file to serve.

    If it is configured to the latter, it won't notice that a source is deleted until such a time as it does not have a compiled class for that file.

    brasethAuthor
    Inspiring
    July 8, 2009

    How do I clear the classes?

    ilssac
    ilssacCorrect answer
    Inspiring
    July 8, 2009

    Manually delete the files in the cfclasses folder

    OR

    Click on the clear saved classes button in the administrator

    (I'm not sure if the latter is a CF7 or CF8 feature).