'Save as' file shows blank code view until reopened

Odd behaviour that I have noticed just recently (say last week - so could be after the XMP updates to CS5). I have a large number of PHP pages within a development site, they reference headers and footers etc... If I carry out a 'Save as' procedure, the orginal file stays open, and a new tab opens to its right with the filename entered during the 'Save as' operation. But instead of showinng the code in the Code View, it appears blank. Selecting Split or Design view also presents a blank pane. Note that Live Code and Live View were not activated during the above. Interestingly, if I do switch Live View on, though the Code View remains blank, the Design View renders as one would expect. If I switch Live Code, both Code View and Design View show code and rendered designs. In both the latter cases, if I switch off Live Code/View, when it goes back to ordinary Code View - once again nothing is visible in its pane.  However, if I close 'saved as' file's tab, and then navigate to and open it, the Code View is displaying the code. So the code was there, when initially created in the 'Save as' operation, but was being shown/displayed in the Code View pane.
I have DW CS5 build 4916, and don't recall this being a problem when I initially updated to CS5. My OS is Mac 10.6.4. The pages concerned have not been newly created and form part of a project that has been in progress from early last year and so started in the CS4 of Dreamweaver.

Possible good news. I've been away and hadn't opened DW since also having had a problem with Finder and external drives on my return. When I opened it today, and needed to do a 'Save As' , it did it with no problem of rendering. Though there have been no DW updates, there was updates to PS and ID. So I'll tentatively say the problem has gone away - hopefully for good.
Just editing this post. I happened to turn  Live View on etc.. for the first time in a couple of weeks due to the  above. I realsied this morning I hadn't turned it on. Now it is just as  before when I try to 'Save As' - blank, an then have to close and reopen  for it to render (even though the Live View/Live Code is now stiched  off).
No I don't know how to turn this thread back into an 'Unanswered' question.
Message was edited by: tgiadd

Similar Messages

  • Dreamweaver CS6 - MAC: How do I view / display a file path in code view?

    I work with complex applications / sites that use cross-browser ajax calls and different configurations. We use two different prod servers which flip/flop for active while the other is a backup. I need the ability to see (from a root level) exactly which file I'm looking at. This seems like a no-brainer, but I have had no luck finding anything related to it. Please help.

    The first item in the "Coding Toolbar" (the left hand side of the code window) that looks like a file icon with a little black down arrow will show you the file path.
    I know it's not great for your purpose. It should be visible all the time (perhaps on the bottom of the window that is virtually empty.) You should request this to Adobe.
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • CS5 Windows - Save as PDF is blank when viewed

    Using a template and
    only wanting page 5 as a PDF. Go to
    "Save As" filename.
    pdf and leaving as Illustrator Default and page range 5-5 page created is blank. Also tried as PDF-X1a with the same results, blank page. Any help would be greatly appreciated.
    Robert

    And exactly what is it that you are trying to save? What PDF settings? You need to be more specific. Provide an exact description and possibly screenshots.
    Mylenium

  • Always open files in code view (with option to switch back to design/split)

    I almost never use design view and it's very annoying that Dreamwaver CS4 can't seem to understand and remember that. I can be editing a file one day in code view, and when I open the file again the next day it opens in design view!? Is there a setting for this somewhere or is this a bug? Any suggestions for a solution?
    Someone suggested I add the relevant suffixes in the "Open in code view" field (Preferences > File Types / Editors) but Adobe has decided that if I choose to always open a certain file type in code view via this method, I will not be allowed to temporarlily switch to design/split view.
    Any other suggestions?
    Original thread (incorrectly marked as "answered")
    http://forums.adobe.com/message/2399024

    All I can suggest is that you post an official feature request via the official form and wait for Adobe to implement something in CS6 or CS7 (assuming the feature set for CS5 is set in stone by now).
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Opening in code view in CS5

    A while back I posted a discussion seeking information about having PHP files open in code view instead of design view. (CS4).
    I found out that I was able to tell PHP files to open in code view, but for some reason the creators of DW saw it fit to fix it so that if you force files to open in code view, then you could not switch to design view by any means.
    As a PHP coder I rearely go into design or split/design view, but I do have an occaisional need to do so.
    My question is, has this been fixed in CS5? In other words, can I have my PHP files set to ALWAYS open in code view, but still have the option to simply click on the design/split button and go into design mode?
    Thanks,
    Cy

    I did as you suggested and this morning when I opened DW, then opened the PHP file I was last editing yesterday. The same thing happened. It opened the file in design view.
    This particular file is a class and would never really be looked at in design. Nevertheless, though I NEVER put it in design, it opened it that way. So the argument that a file will open in the last view it was in is not valid here either.
    I just don't get it. Everybody I have told about this agrees that it is down-right unreasonable to lock out the ability to chose Split or Design just because you told DW to always open PHP files on code view from the preferences. The idea wreaks of a bunch of programmers deciding on usability, which they evidently don't understand in their own little world. I've worked at a major software development company and I know far too well the mentality of programmers who develop far beyond my capabilities.
    DW devs, please take note: Just because we want to force open a file in CODE view doesn't mean we don't want to switch to design view at some point for that same file. Forcing us to open files in design is like telling us you know better, and believe me, you don't.
    It's really simple - Allow us to set a file type to open only in code view, but don't lock us out by disabling the buttons to switch to split or design if we want.
    Cy
    PS: A pic of what happens when I force .php files to open in code view:
    As you can see, Split and Design are disabled. WHY force this?

  • Can I prevent an less-used external HD from waking when I save a file?

    I've got two external hard drives connected via Firewire to the my Intel iMac. these drives are used primarily to store videos and less often used files. Of course when not in use they spin down and go to sleep.
    When I am in an application (let's say MS Word) and try to save a document to the iMac's internal drive, as soon I choose Save As, the Mac wakes up the two externals, so I've got to wait the five or ten seconds for them to spin up to speed and appear in allow the save dialogue to continue. Is there a way to not wake them up when saving unless I want to save TO them? I'm guessing not, because if they are asleep the don't appear on the left side of the save dialogue. but I'm curious to know if there is a preference I don't know about.

    I'm having the same extremely annoying problem with my MBP, now that I've moved from 10.4.11 to 10.6.7.  Tiger did not have this problem, as I could open an external drive in the Finder, and it would not wake up until I went to open deeper subdirectories.  I can't do that in SL.  In SL, everytime I go to save a file, the dialog box hangs until it wakes up the external drives.  I did not have this problem with 10.2 or 10.4.
    "I'm guessing not, because if they are asleep the don't appear on the left side of the save dialogue. but I'm curious to know if there is a preference I don't know about."
    On my system, the sleeping external drives seem to appear immediately, before they are woken up.  The system stops to wake the drives without being selected. Their icons remain in the Finder.  So it's not as though the system can't remember what drives are mounted.
    I've googled, and looked through System Preferences and have not found an answer.
    Not putting the drives to sleep or unmounting the drive are not solutions.  That's like telling someone with a problem with QuickTime to just stop using QuickTime.  While I've seen many similar questions about 10.5 and 10.6 waking up external drives unnecessarily, I haven't seen any answers.  What we need is a way to let external drives sleep without waking them up when they are not requested.

  • Where do I find the printer dialog box to change the setting that asks me to save a file before printing

    Where do I find the printer dialog box to change the setting that asks me to save a file before printing

    Hi Sara,
    The problem is every time I try to copy a page from a website or attachment sent to me or anything that I don't create, the dialog box says I have to save it before I can print -- there are no other options on the dialog box.  Very frustrating -- one of the girls in my office is having the same problem and we can't find a way around it.
    Hope you can help
    Thanks
    Carol Laskos
    "Sara.Forsberg" <[email protected]> wrote:
    Sara.Forsberg  created the discussion
    "Where do I find the printer dialog box to change the setting that asks me to save a file before printing"
    To view the discussion, visit: https://forums.adobe.com/message/7070517#7070517
    >

  • I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
    Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
    If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

  • Slow to open files or switch tabs in code view

    Dreamweaver 13.2 on Windows machines and a Mac.
    Opening locally stored html files take 3 to 10 seconds to open. After they are open, they will occasionally slow down for a second or two before becoming responsive again. This is in code view. If I disconnect the network cable and open dreamweaver, it will run fast until you restart the program again with the network cable plugged in. You can plug in the network cable anytime after Dreamweaver loads and it will remain fast.
    This has been going on for a couple of months now and it happens to multiple machines running Windows OR Mac and regardless of the network I'm on, lan or wireless. Task manager doesn't show a spike in network activity at the time, so I'm not sure what Dreamweaver is trying to do.
    Is there something I can test/turn off/disable/update to troubleshoot this? I've disabled the settings sync for Creative Cloud but still has no effect.

    Do your files contain many links to external servers such as Google Ads, Facebook badges, scripts or web fonts hosted on CDNs?    You might try commenting these out in your code to see if that improves performance.
    Nancy O.

  • How to prevent the code viewing of jsp files

    hello friends
    How to prevent the code viewing on directly opening .jsp files at the server side
    Thanks in advance

    hello friends
    How to prevent the code viewing on directly opening
    .jsp files at the server side
    Thanks in advanceWhat exactly do you mean by code viewing? If by that you mean you don't want all the folders to show in the directory create a index.jsp file that has all the links to the pages you want to show
    If you mean something else please clarify

  • Thousands of blank lines in code view? Where did they come from?

    I have an older DW site, that for some reason when I open certain pages in code view show literally thousands of blank lines.  So line 1, code, line 2-15 are blank, then what used to be line 2 of the code, is now line 16. All the way down the line.  This one page literally has THOUSANDS of blank lines in it:
    Aurora Prom Corsages, Boutonnieres, Flowers, School Dance Flowers-Yorkville, Osego Illinois
    page renders, edits and looks fine in DW, browsers, etc. 
    My client edits it with Contribute. I use DW.
    There are certain pages he opens regularly, never saw the lines, other pages, just opens once a year, lines all over again.
    We can't find any rhyme or reason to it.
    Has anyone ever seen this?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

  • Can't View or save pdf files

    Since this morning I can no longer view or save files on the website where I had no probs in the past.  When I try to save I get the message "The File is Not valid", so it's not surprising can't view or save.  I contacted the site & they tell me all works fine.  Why should the file names change such that they can no longer work with Adobe reader?   The only changes are that I received a windows update (I am running Vista Home Basic) and I installed a new printer/scanner/copier (Epson NX130).  Any suggestions please?
    Mozza 46

    Thanks for taking the trouble to look at my problem, Michael.   I don't know to post a link to a file.
    The files I want to view and save are located on the separate websites of 2 different share registries.   I used to be able to do this, but now can't.   When I try to "Save As ....."  I can't because the files show up as a non-pdf file, a specific example of such a filename is:  "PaymentAdvice?Paymentkey=AGKHAINTJUN12,109011151746,1,1".   I rang both of the 2 share registries who confirmed that I should not have the problem I am experiencing.
    Looking at other threads, some folk have got things to work when the went back to Adobe 9 instead of 10.  Any thoughts?

  • How to Save a File form a JAVA code into the CDrive

    Hello, i need to create a file and save it in the Cdrive of my computer.
    I could create the file and get the command prompt to ask me the file name to save it.
    However, my problem is that the file is saved in the Cdrive with nothing inside! I can manage to save the file and give it a name, but i can't save the inside of it... the page comes blank...
    if someone could help me and tell me why the inside isn't there and how to fix it, it could be very very helpfull!
    thx
    waiting for any reply
    the part where i know i got it wrong is this:
    // Save the File.txt in the Cdrive + MSG
                   System.out.println( FILENAME_MSG ) ;
                   BufferedReader br = new BufferedReader( new InputStreamReader ( System.in ),1 ) ;
                   PeastBase = br.readLine() ;
                   FileOutputStream fout = new FileOutputStream ( PeastBase ) ;
                   OutputStreamWriter out = new OutputStreamWriter ( fout , "Shift_JIS" ) ;
                   // Write in File
                   out.write( CopyBase ) ;
                   // Save PeastBase
                   out.flush() ;
                   // Close the Bufferedwriter
                   out.close() ;
    Anyway these are the complete code in case of need:
    import java.io.*;
    import java.util.ArrayList;
    class Exp11 {
         public static void main(String[] args) throws IOException{
              try{
                   File objCopyBaseFile = new File( "aaa" ) ;
                   File objPeastBaseFile = new File( "bbb" ) ;
                   //MAX Letters and Lines Input
                   final int MAX_COLS = 10 ;
                   final int MAX_ROWS = 10 ;
                   final String START_MSG = "Input any LETTER" ;
                   final String START_MSG1 = "10 LETTERS per Line, 10 LINES Max is Possible" ;
                   final String START_MSG2 = "Input w will Save the FILE and FINISH" ;
                   final String COUNT_STRING_ERROR = "Letters Input per Line is OVER" ;
                   final String COUNT_ROW_ERROR = "Lines Number is OVER" ;
                   final String FILENAME_MSG = "Input the File Name" ;
                   String PeastBase ;
                   String InputBase ;
                   String cpBuffer ;
                   String CopyBase ;
                   int rownumber ;
                   PeastBase = " " ;
                   InputBase = "w" ;
                   cpBuffer = " " ;
                   CopyBase = " " ;
                   rownumber = 0 ;
                   FileOutputStream fos = new FileOutputStream( "fos.txt" ) ;
                   OutputStreamWriter ow = new OutputStreamWriter( fos , "EUC-JP" ) ;
                   BufferedWriter bw = new BufferedWriter( new FileWriter ( "out.txt", true )) ;
                   // Start MSG
                   System.out.println( START_MSG ) ;
                   System.out.println( START_MSG1 ) ;
                   System.out.println( START_MSG2 ) ;
                   // Input
                   ArrayList<String> array = new ArrayList<String>() ;
                   int i ;
                   i = 0 ;
                   do {
                        BufferedReader br = new BufferedReader( new InputStreamReader ( System.in ),1 ) ;
                        PeastBase = br.readLine() ;
                        // Let's Count
                        if( !PeastBase.equals( InputBase) ){
                             rownumber ++ ;
                             // Check the Input letters
                             if ( countString(PeastBase,MAX_COLS )){
                                  array.add(PeastBase) ;
                             else{
                                  System.out.println( COUNT_STRING_ERROR ) ;
                             // Check the Lines
                             if ( countRow( rownumber,MAX_ROWS )){
                                  array.add( PeastBase ) ;
                             else{
                                  System.out.println( COUNT_ROW_ERROR ) ;
                   } while ( !PeastBase.equals( InputBase ) ) ;
                   // enter the data
                   for( int      j=0;j<array.size();j++ ){
                        System.out.println( "How Many Time Input==>"+array.get(j) ) ;
                   // Save the File.txt in the Cdrive + MSG
                   System.out.println( FILENAME_MSG ) ;
                   BufferedReader br = new BufferedReader( new InputStreamReader ( System.in ),1 ) ;
                   PeastBase = br.readLine() ;
                   FileOutputStream fout = new FileOutputStream ( PeastBase ) ;
                   OutputStreamWriter out = new OutputStreamWriter ( fout , "Shift_JIS" ) ;
                   // Write in File
                   out.write( CopyBase ) ;
                   // Save PeastBase
                   out.flush() ;
                   // Close the Bufferedwriter
                   out.close() ;
              catch ( IOException e ){
                   System.out.println( e ) ;
              finally{
         static boolean countString ( String bufString , int maxCount ) throws IOException{
              int StringCnt ;
              StringCnt = 0 ;
              // Count Letters per Lines
              StringCnt = bufString.length() ;
              if( maxCount>= StringCnt ){
                   return true ;
              else{
                   return false ;
         static boolean countRow ( int rownumber , int maxLine) throws IOException{
              int StringLine ;
              StringLine = 0 ;
              if( maxLine>= rownumber ){
                   return true ;
              else{
                   return false ;
    PLEASE ANY HELP
    THX

    I'm not great with IO yet, but I see you use
    out.write(CopyBase);But I only see you initialize CopyBase to equal an empty String.
    So it should be writing nothing to the file.

  • PhpBB2 source code does not show in design view /CS3

    I would like to customize a php bulletin board.
    The default bulletin board page does not show in design view.
    Is there a way to do it , such that php code can be written
    by DreamWeaver via the design view ?

    > The files I am trying to edit, or that is think I should
    be trying to edit ,
    > are
    > index.php , and in the includes file template.php
    If I am sorting this out correctly, which i am _not_ sure of
    at the moment:
    those aren't .tpl files.
    they are .php files, and are part of the forum. They aren't
    displaying in
    design view because they are all php.
    You need to find and edit the template files.
    In previous link given:
    http://www.phpbb.com/community/viewtopic.php?t=10764
    <q>
    So where do I find these great 'templates'?
    Look in /templates/subSilver (thoroughout the FAQ I will be
    using subSilver,
    the default template. If you are using a different template
    then change the
    folder you look in accordingly). You will see a collection of
    files there.
    The templates are the ones with the file extension '.tpl' The
    majority of
    files in that folder are .tpl files. </q>
    strongly suggest you make a backup copy of anything you try
    to touch.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • After applying a template to a page design view is blank - I can only edit in code view.

    When I apply a template to a page everything is fine. I can see the page elements in design view and code view. I can edit the page and upload it and all is fine. However, when I save the page with a new name or close the page and then reopen the design view is empty, the code view is normal. I would like to be able to see the page in the design view and cannot. I don't know what to do. I hope someone has an idea for me. Thank you.
    I am using DW CS5 and pages are ASP.

    When you say "template" are you talking about the .dwt Template file from DW?
    If so, you may be using it incorrectly. Once you create the .dwt, all of your new pages need to be created via File > New > Create Page From Template and then saved to your site. If you are using the .dwt file and doing "Save As" to create more pages, you're going to run into all sorts of problems.
    Do you have a link we could look at?

Maybe you are looking for

  • Passing sysdate in milliseconds from OAF page to PL/Sql proc

    Hi All, I have a requirement wherein I need to pass SYSDATE in milliseconds from OAF page to the PL/SQL package. Basically I will be calling a PL/SQL api from AM . So here I need to pass SYSDATE in milliseconds as one of the PL/SQL proc parameters. H

  • CS4 can no longer see mts files

    I can't be sure,  but it seems that after an update today that started when I opened Premiere Pro CS4,  my projects can no longer see any of the mts files ,  even in the media browser.   It can see other types of files,  just not mts.  This IS a full

  • Tax statement item missing for tax code O1- VF02

    Hello, We are trying to release a Billing document  via VF02 and we are getting the below error message. Message no. FF805 Diagnosis No tax item exists for tax code O1 in a G/L account item. A possible cause is an incorrect transfer of parameters by

  • Randomizing iPhoto screen saver selections

    I have my screensaver set as photos from my iPhoto library, including selecting the "random" checkbox. The problem is that it's always the same set of photos in the same sequence - i,e, to Apple random seems to mean simply "not the order in which the

  • Trouble during Updating Ipod

    My iPod was working really well, than I´ve downloaded the iTunes 7 and installed it. When I´ve connected my iPod, iTunes opened as usual, but asked me if I´d like to update my iPod, so confirm. A progress bar has appeared on the computer screen indic