2 Replies Latest reply: Mar 12, 2013 10:23 AM by therayman RSS

    Screwy DW after update

    therayman Community Member

      I have only just started using the latest DW update having been very busy on a video project.

      So far my Mac has crashed four times.

      I can live with that another update will probably be forthcoming to fix the bugs.

      BUT

      I built a new fluid grid template and for as a revision to an old site and when doing so tidied up the files a bit.

      I renamed a file and moved it from one folder to another something that DW usually handles brilliantly. This time as soon as I dropped the file into its new location the site cache rebuilt itself from scratch using the server root folder as its target. After redoing that I found that all the links to js and style sheets on the main template have been replaced by the name of the website! That's 8 file references and about 16 pages of useless garbage. The code looks correct in code view but none of the links are showing to the right of Source Code. Its a mess and doesn't work.

       

      Its a fairly simple site and I can probably fix it by building a new file with the code from the old one.

      My Windows machine has been offline and hasn't been updated yet. I tried doing the same thing there and it worked perfectly.

      Is this a glitch on my machine which otherwise is functioning normally.

        • 1. Re: Screwy DW after update
          Sudarshan Thiagarajan CommunityMVP

          It would have prompted you 'Update Links'? Only if you had clicked 'Yes', updation would have happened. Or else, maybe you had configured DW not to prompt you for this, hence, it has auto-updated.

           

          Either way, can you check your Site definition settings to ensure your Local server info are not containing your remote parameters in them?

           

          To change back, you could do Site > Change Link Sitewide to change all 'linked' pages with different relative paths.

          • 2. Re: Screwy DW after update
            therayman Community Member

            I don't use DW to upload to my remote server and it therefore only has local settings. I find that more controllable.

             

            I don't use auto update but did want DW to update the links. That is not the problem it is simply what caused it.

             

            The relative paths within the pages are correct and they work when uploaded. DW just doesn't recognize them.

            Changing the links sitewide didn't actually change them because they were already correct. The problem appears to be within DW not the html.

            Deleting the site and adding it again changed nothing. Adding the site on a different machine didn't solve the problem.

             

            Going back in time in my backups to the point before moving the file enabled me to solve the problem.

             

            --

            Ray Parkes

            Sent with Sparrow (http://www.sparrowmailapp.com/?sig)