Skip navigation
Currently Being Moderated

Strange duplicate files showing up

Jun 22, 2012 12:07 PM

Tags: #files #server #bug #duplicate #testing

I primarily develop in PHP running MAMP on my Mac for the testing server. For a few months now I'm getting all kinds of duplicate files showing up as I'm editing and testing on my local server. This never happened before.

 

Here's my usual workflow. The testing server folder is set to the same folder that I use for my site folder. I have two reasons for this. When the testing server folder and the site folder are the same I can just go to localhost/mySite and see everything working without loading up files to a different testing server. It's much easier and uses less disk space than having duplicate files.

 

Second reason, when I'm working on debugging pages a simple save / option tab / and refresh gets me to the page much faster than when I have a separate testing server folder setup and have to use Option+F12 to upload the file and render it.

 

The bug that's popped up is the generation of duplicate files. For example, while working on main.php, when I look at or edit a record set I often end up with a file called main_QFK9H5ZWYH.php or something similar in the folder. This file is not used for an f12 preview, never shows up in any localhost previews, and, as far as I can tell is never used by Dreamweaver for anything. The only thing that happens is my site folder fills up with a bunch of files that do not need to be used for anything, clutter up the directory, and unless I'm very careful, end up getting uploaded to the server as just a bunch of junk.

 

Anyone else seeing this? I thought for a while that it was a preferences setting that I fouled up. Deleting the preferences file and starting over didn't solve the problem.

 

This was especially problematic today as I was going through the entire site prior to publishing and I ended up with more than 40 duplicate files. For the main.php file I ended up with 6 versions in less than 5 minutes of testing. I'd love to shut off whatever is causing this.

 

One last thing. It makes no difference whether I'm editing on my laptop or on the desktop at home, or on a Windows machine at the clients office.

 

Thanks for any ideas.

 
Replies
  • Currently Being Moderated
    Jun 24, 2012 6:58 AM   in reply to Rick Gerard

    Rick, I've never personally heard of this issue myself.  If you go to Dreamweaver->Preferences->Preview in browser, you are saying that "Preview using temporary file" is not checked off?  That's the only way I could see DW making those files.  Otherwise, only other thing that would come to mind off the top of my head is that there is a permissions issue in the filesystem causing DW to make new fiels because it cannot overwrite the originals.  Can you run a Repair Permissions on your system to make sure this is not an issue?

     

    Lastly, can you post the OSX version and DW version for reference.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 30, 2012 5:39 PM   in reply to Rick Gerard

    I have a similar problem with Dreamweaver CS6 editing PHP recordsets.  When you edit any elements of the recordset DW CS6 is placing the revised PHP code below the edited and hopefully deleted code.  This renders an error.  Can't believe that this problem has not lite up this forum.

     

    Googling the problem shows very few references.

     

    Bob Sorenson

    iCom

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points