Windows 7 with program files

Page 1 of 2 12 LastLast

  1. Posts : 9
    windows 7
       #1

    Windows 7 with program files


    I created my own software application when i had windows xp to manage my website. The localhost server was installed to c:\program files\apache\apache 2.2\htdocs. This software application edited htm documents in the htdocs folder and then using my browser, i viewd it locally.

    I now upgraded to windows 7 home basic when i bought a new computer but windows 7 seems to be schizophrenic with my documents. The software application opens the file i want to edit and i can change it. If i exit and come in it loads the document with my changes but these changes do not show if i open the file in notepad or if i preview the webpage in my web browser.

    Can anyone provide me with any assistance to why a single file location could have two versions of a file and where i can find the one my application is using.

    Thanks in advance
    Clinton Brits
      My Computer


  2. Posts : 303
    Windows 7 Ultimate
       #2

    Windows 32 bit or 64 bit?

    If 32 bit, one set of rules/tests applies. If 64 bit, maybe it is looking in the wrong path.
      My Computer


  3. Posts : 9
    windows 7
    Thread Starter
       #3

    I installed the 32 bit but it is looking in the correct path because if you delete the file and then ask it to open it, it gives an error that the file can no longer be found. If you ask the program to delete the file then it disappears from program files, if you save to file again to replace it it brings back the file that used to be there instead of the new content.
    Last edited by clintonbrits; 26 Apr 2010 at 14:33. Reason: Additional info added
      My Computer


  4. Posts : 1,325
    Windows7 Ultimate 64bit
       #4

    Own the file/folder, and make sure you have enough privilege to access the said files... (I use apache too, never had any problems with it except PHP/MySQL driver hates Windows x64).

    zzz2496
      My Computer


  5. Posts : 303
    Windows 7 Ultimate
       #5

    clintonbrits said:
    I installed the 32 bit but it is looking in the correct path because if you delete the file and then ask it to open it, it gives an error that the file can no longer be found. If you ask the program to delete the file then it disappears from program files, if you save to file again to replace it it brings back the file that used to be there instead of the new content.
    An issue quite similar to this was addressed in this forum last year, prior to my membership. I don't know how to search very well, but I do remember it. It is memorable to me because several advanced users thought the OP was nutsorworse.
      My Computer


  6. Posts : 795
    windows 7 RTM x64
       #6

    I know this is gonna sound stupid, but after you make a change to the file are you restarting the local web server?
      My Computer


  7. Posts : 1,325
    Windows7 Ultimate 64bit
       #7

    ccatlett1984 said:
    I know this is gonna sound stupid, but after you make a change to the file are you restarting the local web server?
    ccat, I don't think you need to restart the web server if you only change the document... At least I don't, and I always edit on-the-fly...

    zzz2496
      My Computer


  8. Posts : 795
    windows 7 RTM x64
       #8

    zzz2496 said:
    ccatlett1984 said:
    I know this is gonna sound stupid, but after you make a change to the file are you restarting the local web server?
    ccat, I don't think you need to restart the web server if you only change the document... At least I don't, and I always edit on-the-fly...

    zzz2496
    Some of the "consolidated solutions" i've seen lately actually cache the documents, so edits dont appear on the fly.
      My Computer


  9. Posts : 1,325
    Windows7 Ultimate 64bit
       #9

    ccatlett1984 said:
    zzz2496 said:
    ccatlett1984 said:
    I know this is gonna sound stupid, but after you make a change to the file are you restarting the local web server?
    ccat, I don't think you need to restart the web server if you only change the document... At least I don't, and I always edit on-the-fly...

    zzz2496
    Some of the "consolidated solutions" i've seen lately actually cache the documents, so edits dont appear on the fly.
    Ahh... I see, well - I assume it's a standard apache installation, so it won't have any caching I think...

    zzz2496
      My Computer


  10. Posts : 9
    windows 7
    Thread Starter
       #10

    I've tried taking ownership of the folder using the take ownership menu option after downloading the software but still no luck. I'm almost at a solution but look at this.

    1. Edit document and save then it saves the changes which can only be seen in my program and does not show if you open the file in the apache folder using notepad or a web browser. The interesting thing here is that eventhough the change cannot be seen, the html file in the htdocs folder changes size so it must contain the changes.

    2. If you cut the file from the htdocs folder to the desktop and then open it then it shows the changes but if you cut and paste it back to the htdocs folder then it returns to the previous state before changes were made eventhough the size doesn't change.

    3. The only files which seem to be affected are the ones i copied into the htdocs folder from a backup disk and this doesn't happen if the program has created a new file. If you save the document to test.htm then
    it works exactly as it should and as you would expect it to.

    Strange yet true.

    Thanks for the input
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:28.
Find Us