Skip to main content
Participating Frequently
July 18, 2009
Question

.CFM Files not refreshing in Test Server

  • July 18, 2009
  • 4 replies
  • 5164 views

I have installed coldfusion8 configured as built in web server.  I am using dreamweaver to develop dynamic web pages.  I have created a simple static page with .cfm extention.  When I put the page to the test server to view in a browser, first time, there is no problem.  When I make changes to my page and test it again, I do not see the changes.  The same old page comes up without the changes.  If I change the file name and try it again, the page with all my changes shows up fine. It appears the coldfusion8 built in test server keeps showing my original from memory and is not refreshing unless I change the file name.

I will appreciate any help to solve this problem.

Thanks,

Mohanlg

    This topic has been closed for replies.

    4 replies

    October 10, 2013

    Hi,

        i'm faceing the exact same problem while using editplus. Any idea on how to resolve this issue?

    Thanks in advance.

    MohanLgAuthor
    Participating Frequently
    July 30, 2009

    I want to thank every one who helped me find a solution to my problem.

    My problem was indeed related to Dreamweaver8.

    I was using a local Static Site and a Dynamic Site and was puting files to the test server. Dreamweaver8 was putting the modified files but was not updating the time created, time modified, etc.

    I am now using only one site for every thing which elliminates puting of the files to the test server. The files are now updating like they should.

    Again, I want to express my appreciation to all who replied to my messages.

    BKBK
    Community Expert
    Community Expert
    July 23, 2009

    I know of at least one Dreamweaver caching facility, the one that enables your site to update its links. See, for example, this Dreamweaver documentation. What happens when you follow the instructions to "Create a cache file for your site" but, as last, uncheck the option "Enable cache"? This may or may not relate to your problem, but it's worth a try.

    MohanLgAuthor
    Participating Frequently
    July 24, 2009

    Unchecking the enable cache in the Local Info. Category of the Dreamweaver Site Management did not correct the problem.

    However, because of all of you fellows help, I investigated as to what Dreamweaver was doing when I modified the file and put it to the test server.

    Every time I modified my page in Dreamweaver and put it,  I opened the C:\coldfusion8\wwwroot\newland folder and checked the properties of the test.cfm file.  I found the Time created, time modified and time accessed were not changing with each new put. Further, I found that these times changed only in 7 minutes and 10 seconds or so increments.  So for about 7 minutes, any changes I make to the page do not show up when I test the page in the browser.

    In short, Dreamweaver is puting the modified page to the test server but is not updating the time of modification.

    I hope the abve finding can help lead us to find a fix for this problem.

    I truely appreciate, all of your help.

    Inspiring
    July 18, 2009

    Things to check/try in the ColdFusion administrator:

    1. Turn off the "Trusted Cache" setting.

    2. Clear your template cache.

    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_07.html#1358530

    MohanLgAuthor
    Participating Frequently
    July 19, 2009

    Hi Bob,

    I appreciate your response.

    I have turned off the "Tusted Cache Setting", cleared the Template Cache, turned off "Save Class Files" and clicked on submit changes.  The problem is still there.

    I have verified that my updated page is in fact present in the C:/coldfusion8/wwwroot/newland folder by opening the page in the Dreamweaver. But, when I test the page in the browser using the page is not updated.

    Mohanlg 

    Inspiring
    July 20, 2009

    More things to try:

    1. Verify your system clock is correct. When the trusted cache is disabled CF checks to see if a file has been modified since the last time it was complied to a .class file.

    2. Verify the class cache is empty. Class file are usually stored at \ColdFusion8\wwwroot\WEB-INF\cfclasses verify this directory is empty, if not empty the directory. Restart the ColdFusion service.