Previewing Pages via Testing Server Unusable???

Hello,
I typically set up a local testing server during development.
When hitting F12, Dw uploads the current page to the testing
server, and then correctly shows that page in my browser. However,
Dw DOES NOT update the CSS file, and since most changes these days
are done in the linked/attached CSS file (even while editing the
main html page), this F12 preview in browser shortcut is unusable.
The only workaround I know of is to click on synchronize in
the files panel, click preview and then OK in two different dialog
boxes.
Does anyone know how to make Dreamweaver upload ALL dependent
files to the testing server upon pressing F12?

There is a roundabout way to do this by using "upload files
on save",
but I would not recommend using that unless you are very good
about
making backups to all of your files.
Another solution would be to Preview in Browser using "Temp"
files.
HTH,
Randy
> I typically set up a local testing server during
development. When hitting
> F12, Dw uploads the current page to the testing server,
and then correctly
> shows that page in my browser. However, Dw DOES NOT
update the CSS file, and
> since most changes these days are done in the
linked/attached CSS file (even
> while editing the main html page), this F12 preview in
browser shortcut is
> unusable.
>
> The only workaround I know of is to click on synchronize
in the files panel,
> click preview and then OK in two different dialog boxes.
>
> Does anyone know how to make Dreamweaver upload ALL
dependent files to the
> testing server upon pressing F12?

Similar Messages

  • Previewing on local testing server

    When previewing a file in the Dreamweaver development
    environment, Dreamweaver loads the file, say testfile.html, in the
    browser with its file system address, eg
    file://Applications/MAMP/htdocs/jsMath/test/testfile.html. However,
    the local website address of this file is
    http://localhost:8888/jsMath/test/testfile.html.
    This leads to a security error
    Security Error: Content at
    file:///Applications/MAMP/htdocs/jsMath/test/testfile.html may not
    load data from
    http://localhost:8888/jsMath/plugins/autoload.js.
    The problem can be circumvented by avoiding the Dreamweaver
    preview and hand-loading the file directly as
    http://localhost:8888/jsMath/test/testfile.html
    Surely the preview feature must not be bound by this
    restriction. What might be done to get preview to work properly
    with this local testing server?
    -dao

    daoliver wrote:
    > Surely the preview feature must not be bound by this
    restriction. What might
    > be done to get preview to work properly with this local
    testing server?
    You need to define the testing server correctly in your site
    definition.
    In your case, the Testing server folder field should be set
    to
    Applications/MAMP/htdocs/jsMath/test/ and the URL prefix to
    http://localhost:8888/jsMath/test/.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

  • Solution to using Site Root with Sub-folders on Testing Server & Browser Previews

    Hi Everyone
    Have found an elegant solution when using Site Root relative linking for a website, that allows browser previews, even when the testing server uses sub-folders and the live code references just the server site root " / " of the live server and not the sub-folder structure of the testing server.  This is really useful when you don't want to use document relative linking, which normally takes care of this problem in Dreamweaver.
    The solution is to use sub-domains referencing the sub-folders on the testing server, so the sub-folders appear as the root of each website and the html code pointing to the site root works correctly on both testing & live servers without alteration.
    Testing Server Setup
    One testing server domain is used for all client development work:
    For example:  www.testingserver.com
    On the testing server there are multiple sub-folder (one for each client website being developed):
    For example:  www.testingserver.com/clientA/ ,  www.testingserver.com/clientB/ , www.testingserver.com/clientC/
    Live Server Setup
    The site code needs to be developed with the final live server folder structure (url references) in mind:
    For example:  www.livesite.com (with all pages referencing the root of the live site server)
    Page URLs on Testing & Live Servers
    /page-name.html
    Testing server url:  www.testingserver.com/clientA/page-name.html
    Live server url:  www.livesite.com/page-name.html (without /clientA/ sub-folder)
    Browser Previews Don't Work
    You want to be able to run browser previews on the testing server while developing the website.  To do this you normally have to reference the sub-folder structure of the testing server in the url for things to work right:
    For example www.testingserver.com/clientA/page-name.html
    What do you do, when you can't keep switching all the urls in the code from pointing to the sub-folder to pointing to the site root, and you don't want to use document relative linking?
    One Solution - Sub-domains on Testing Server
    In your domain hosting (outside of Dreamweaver) setup a sub-domain to point to the testing server sub-folder.
    For example:  Sub-domain clientA.testingserver.com points to www.testingserver.com/clientA (sub-folder)
    So now when you reference the sub-domain it sees the sub-folder as the site root and all your problems are solved.
    Dreamweaver Site Definition Setup
    Site Definition under "Local Info"
    Links relative to: Site Root
    Site Definition under "Remote Info" (live server)
    Access: FTP
    FTP host:  ftp.livesite.com
    Host directory: /
    Site Definition under "Testing Server" 
    Access: FTP
    FTP host:  clientA.testingserver.com
    Host directory: /
    URL prefix: http://clientA.testingserver.com
    (location of the site's root folder on the testing server, the sub-domain redirection takes care of pointing to the sub-folder)
    This is just one solution but it works well for me as it doesn't have any cost associated with it under our hosting package where you can have multiple sub-domains setup.
    Hope this helps someone in a similar situation.
    Aly

    Just Google it, or run out and buy a copy of David Powers' Foundations Dreamweaver CS4 with CSS, Ajax and PHP, a book that is never out of reach for me.  He details the process explicitly for both Mac and PC.
    For me, on W7, I edit the C:/Windows/System32/drivers/etc/hosts file, and add the ip of my testing server along with the site alias -
    192.168.1.82  site.local
    Then I add this same designation to my httpd.conf file in Apache on the testing server.  Finally I restart Apache.
    Now from my production machine if I browse to "http://site.local", I get to see either the default file in the root of the site on the testing server, or a directory of the site on the testing server (my testing server is a unix box running on my LAN at that ip address).  Furthermore, all of my root relative links now work as they would if the pages were being browsed from the live server.

  • Why is preview in browser uploading my page to my server and trying to show from there?

    I must've changed some setting because all of a sudden when I go to page in my browser DW connects to my server and tries to show the page remotely as opposed to locally, which is what I'm used to, and is my preference at least for now. I'm sure it's something really simple but I havent been able to disable this feature.
    help? thanks!

    So let's make sure I understand.  You have opened a file from your local site.  You F12 to preview it in a browser.  At that point, the FTP connection kicks in and the file is uploaded to the server, and then the browser is trying to view the page on the server?  Sounds like you have configured your Testing server the same as the Remote server - is that the case?  Look in the site definition to see this.

  • Preview in browser tries to access test server

    I am building a site and want to preview in browser but
    always get a message about accessing the test server. I only want
    to view it on my hard drive. I'm sure I set something up wrong on
    install but can someone help me figure out how to change the
    settings? The message I'm getting is
    http://localhost/Templates/main%20template.dwt.asp
    in Safari.
    I'd also like to preview in explorer but don't have it
    installed on my machine. Do I have to purchase it just for
    previewing?

    > I only want to view it on my hard drive. I'm
    > sure I set something up wrong on install but can someone
    help me figure out
    > how
    > to change the settings? The message I'm getting is
    >
    http://localhost/Templates/main%20template.dwt.asp
    in Safari.
    if it's an ASP active server page, you need to set up a local
    testing
    server.
    >
    > I'd also like to preview in explorer but don't have it
    installed on my
    > machine. Do I have to purchase it just for previewing?
    ?? Do you mean windows Internet Explorer browser??
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Restoring 'preview in browser' from test server

    I have recently added and am learning to build a 'form' page (dynamic PHP page) to my site.
    I have installed Apache and am using a localhost 'test server' on C/program files/xampp/htdocs
    ( I have been following tutotrials in The Missing Manuals series)
    Everthing is going ok, but my question involves the following problem:
    I used the 'preview in browser' function as always in my development. After setting up the PHP page and attempting to preview it, it established a new connection to the local server and it asked to 'put' the files to that test server which I did. Everything worked ok, but when I went back to work on regular HTML pages, and preview, it tries to use the test server.
    The test server is in a different location (above), and obviously doesn't find the location of my site development. The rest of my site doesn't reside on the test server location (above), so when I try to preview it, I just get error messages.
    I have several computers - when I go back to one that I didn't preview the PHP page in (even though I have copied the entire site with new PHP page), it previews like I want, in a regular browser.
    Question:
    Is there a way to tell the 'preview' function where to look, so it doesn't activate the test server and just loads the original HTML files like it used to?
    Or do I just need to define/relocate both the test server and my site to the same location?
    Thank you!!

    Question:
    Is there a way to tell the 'preview' function where to look, so it doesn't activate the test server and just loads the original HTML files like it used to?
    If your site has a Testing Server defined, then all previews will be directed to the Testing Server, including those that may not require a Testing Server.
    Or do I just need to define/relocate both the test server and my site to the same location?
    That's usually the best way - altough it's not required.  You just have to make sure that any files you need to make your preview work are also uploaded to the Testing Server.

  • F12 browser test serving a blank page with no html or other source

    I've been struggling to start using my local test server again.  It was working about a year ago when I last used it, but now, I get only a blank page back when I do the browser test (F12).
    It took awhile to get Wamp to just start up (icon was orange).  Turned out to be a Port 80 conflict issue.  Eventually changed Skype port and Wamp now starts fine (icon green).
    I've documented all the settings in both Wamp and DW to make sure everything is pointing to the right place, but still only get blank pages back when viewing in Firefox.
    For some additional testing I made a copy of the html file on the test server but still got the same results.
    Any ideas on what to try next?
    Thanks
    Tom

    Rob,
    You're right.  To avoid adding variables, all my testing now is using the index.htm file at the server root (i.e. CnA_Test_Server/index.htm).
    What then do you get when you just type:
    http://localhost
    I get the same result as using F12 within DW (i.e. blank page with no page source).
    I went back to look at Apache httpd.conf.  I think there are only 4 settings I've ever looked at.  The 2 relevant to root directory and the two relevant to the listening port.  The directory ones (document root and <directory>) should be fine (C:/wamp/www).  The two port ones are the only ones changed since last successfully using the test server.
    The only difference I can think of between the working WAMP of a few months back and now was the issue with Port 80 .  That problem didn't exist the last time I used the test server successfully some months back.  Obviously, since then at least 2 apps have been installed that also listen via 80: Skype and whatever is using MS IIS.  I changed the Skype setting to 8081 but, because I haven't figured out who's using IIS, I ended up changing Apache to 8080.
    In looking closely at httpd.conf I noticed that I had coded LISTEN 8080 but the example (proceeded by the "#") was "LISTEN 12.34.56.78:80".  I don't know if I made a mistake when changing the entry and didn't specify "LISTEN 127.0.0.1:8080".  I tested both settings (i.e. with and without the IP) and it didn't seem to matter (i.e. the F12 test ended the same way).  Do you happen to know whether Apache is sensitive to the difference between Listen 80 and Listen 127.0.0.1:80?
    Again, the file copy on the test server is being updated when F12 is pressed.
    Tom

  • I would like to know why when i make a web page and test in my local browser it works fine then when i tranfer to my server i does not work fine example i used javascript to put a prompt bar on a page and it worked fine local but on server not working

    how come when i make a web site and i test it in my local server it works fine when i tranfer to server certain things do not work example i used javascript to put in a prompt bar for a newsletter page at the server it did not work but at local it did also it works at MOZZILLA but not internet explorer i also have cs4 was wondering if there is a way to test a page in dreamweaver and then transfer   THANK YOU X-FACTOR-MEDIA

    In future, please try to make the subject line of your posts shorter. In this case the following would have been sufficient: "JavaScript works locally, but not on remote server".
    Short, but meaningful subject lines make it easier for others to identify what your question is about, and often bring faster help.

  • FF not displaying page when URL is on a local test server

    I have a WAMP test server on my Win laptop.
    If I type in a url of an existing file on the test server using c://localhost/testserver/index.htm or c://wamp/www/testserver/index.htm, FF displays a blank page (with no source code). If I use a file name in the url (file:///c://.....) or double click the file on the test server, I get good code.
    I'm testing with an html file (vs. a php file) just to take the php code out as a variable.
    FF displays web pages on www just fine.
    Tom

    the easiest way to deal with security issues is to avoid them.  if all files are on the same server, use relative urls.
    otherwise, you may have to deal with security issues.  whether you do or not, and if you do, how you deal with them, depends on what you're trying to do.
    you may be able to use System properties but you may need cross-domain security files.

  • Page cannot display error for external user(via aproxy server)

    When i click the self service web application via proxy server.
    Following error thorugh
    Error : Cannot Display Page
    You cannot complete this task because one of the following events caused a loss of page
    data:
    Your login session has expired.
    A system failure has occurred.
    To proceed, please select the Home link at the top of the application page to return to the
    main menu. Then, access this page again using the application's navigation controls (menu,
    links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Intenally the self service web application is working , Only External(via proxy server(DMZ))
    user only not accesible.
    External user only got the error.
    Thanks
    M.Soundrapandian

    Hi,
    Please do the same practice after enabling debug, it should collect more information about the error.
    Note: 249669.1 - How To Collect Apache and Jserv Debugging Details For Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=249669.1
    Regards,
    Hussein

  • I am having difficulty correcting the Testing Server setup in Dreamweaver CS4.

    The http error codes are 404 (open DW) and 12150 (failed test URL).

    Please see my responses inline below:
    Moore6931 wrote:
    I thank you for your help but I don't understand.
    1. At this time, I edit the web site locally.  When the changes are completed, then I copy the files to the remote (Go Daddy) server, with FTP.
    Perfect. In that case, I'm not even going to try to change you to use Dreamweaver's in-built FTP as that will probably confuse you at this stage. In this case, go to 'Remote Info' and make it 'None' - remove all credentials from there - we dont need it configured within Dreamweaver if we aren't using it.
    2. Because my edits are local, testing of the files is local.  In fact, I normally disable the network connection, when I don't need it open.
    Go to 'Testing Server' and make it 'None' and remove all credentials - make it blank too. Since you're not using any 'dynamic' services, we don't need to configure one. Your previews can happen via your browser from your 'Local files'.
    3. Go Daddy uses PHP on Linux servers for hosting.
    Well, Go Daddy also gives you a variety of other options - but I'm assuming you've purchased a Linux hosting setup with PHP running on it. Let's not worry about PHP here because you're not using PHP to develop your website.
    4. Since I'm not adept with computers, computer terminology and computer configurations, I try to leave settings at default.
    The only thing you'll need to keep 'as is' is your 'Local Info'. Other than that, remove both 'Testing' and 'Remote' configurations. You should get going in no time.
    5. I am unsure of the test server requirement.  The descriptions of a "dynamic" page are not clear, to me.  My web site uses,
         a. html,
         b. An XML data page for sorting my photographs,
         c. Spry cascading tables,
         d. Scrolling photo thumbnails,
         e. Links to pdf files and
         f. E-mail contact.
    A regular HTML website is usually 'static' - as all the content you have within it is 'hard-coded' or 'hand-written' into it. A PHP/ ASP/ JSP/ CFM code is usually 'dynamic' - meaning only the master template is usually made with code. The actual content is fetched from a database or an external source. And to do this (to fetch data from a database), this type of code has to run on a server-environment. That is the only primary difference between 'static' and 'dynamic' webpages. Not getting into the details of it as I'm unsure if that's going to confuse you more!
    If this is not clear, please see me web site.
    http://envisioningmoore.com

  • Remote and Testing Server FTP Problems

    I have a Dreamweaver site defined. I have an 2 domains and 2
    FTP accounts. I am using one for my remote server and one for my
    testing server. When I go to preview, it uploads the file to the
    remote server instead of the testing server. Then it goes and tries
    to view the file on the testing server and there is a file not
    found error. If I try the same thing but use 2 network drives or 1
    network drive and 1 FTP account (remote or testing), everything
    works as expected. Any ideas why this happens?

    Sounds like you are properly configured. I don't have a good
    idea why this
    is not working....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "supwoman" <[email protected]> wrote in
    message
    news:fj1jbs$mt8$[email protected]..
    >I have one Dreamweaver site defined.
    >
    > I have one domain (www.1.com) and an FTP account to
    upload files to the
    > folder
    > pointed to by that domain. I am using this information
    for my remote
    > server as
    > part of my Dreamweaver site.
    >
    > I have another domain defined (www.2.com) and another
    FTP account to
    > upload
    > files to the folder pointed to by this domain. I am
    using this information
    > for
    > my testing server as part of my Dreamweaver site.
    >
    > The pages I am building are Coldfusion, so I want to be
    able to test them
    > before deploying them to my live site (www.1.com). I
    cannot setup a local
    > server to do my testing.
    >
    > So, I should be able to checkout a file test.cfm, make
    some changes, then
    > hit
    > the server debug button to preview those changes. It
    should upload the
    > file to
    > the testing server and take me to the
    www.2.com/test.cfm. Then, when I
    > finished
    > testing and check in the file it should upload it so it
    is found at
    > www.1.com/test.cfm.
    >
    > The problem I have is that when I got to test, it
    uploads the file to
    > www.1.com/test.cfm instead of www.2.com/test.cfm.
    >
    > If I use network drives instead of two FTP accounts,
    everything works
    > fine. I
    > hit the server debug button, it transfers the file to
    the right place.
    >
    > Sorry, if I didn't explain that well.
    >
    >

  • Previewing page in IE7

    I am taking a course from Iconlogic and one section
    deals with doing image swaps. I completed the assignment and went
    to preview but only get a page of code...no representation of the
    page in IE 7. However, when I preview it in Firefox the rollovers
    (image swapping) works fine. Is there a problem with using AP
    Elements and IE 7??
    Doug in Massachusetts

    open this site definition for editing.
    dw menu-->site-->Manage Sites
    pick this site, click edit.
    click the Advanced tab to find things easier and simply.
    click the Testing Server info.
    Is anything listed??
    If yes- Do you need or want a testing server?
    does this site have asp or php serverside coding?
    if not- set Testing server access method to NONE.

  • Viewing Layouts on Remote/Testing Server

    This is a beginner question.
    I'm trying to view Layouts and/or Content Holders on the Remote/Testing Server out of Dreamweaver so I can edit them independently, but I just get 404 messages.
    When I create a new page in BC, I am prompted for a Page Title which subsequently creates a Page URL and File name. The Page URL by default has no extension. The File Name has an extension.
    If I view that new page on the Remote Server I get a 404 message. If I edit the Page URL to include the File Name extension, I have no problem on the Remote Server.
    Now for example: In File Manager I have the following directory structures:
    http://www.MySite.com/_System/ContentHolders/layout.html
    http://www.MySite.com/Layouts/SystemMessages/SecureZoneAccessDenied-CA.html
    Why is it that I can't view these pages on the Remote Server?
    Is BC creating a default URL for these Layout pages that isn't the same as the file name it gives them? or no URL at all?
    Thanks,
    Cam

    Hey there. Those are not pages. They are system generated layouts and for content holders only render when the module issued for that content holderin a pager template.
    Ile extensionsyouseefor these are needed to work via FTP and understnd HTML formatting etc.
    Zone access denied is a system message and will render when you create a login and enter a incorrect password.
    Actual pages do not need agile extension.
    Loin into the admins floor around. Look and pages, system layouts and templates, apply templates to pages. get a feel of things there as well to help get abetted understanding.
    Also check out the links from the main page oftheseforums to theknowledgebaseto read through things as you need them.

  • 'Unable to connect to database server' on local test server (CS4)

    I am a php/MySql newb. Have designed static sites in DW since Macromedia DW 4 days.
    I have set up a testing server on my Mac running OSX 10.6.7 using MAMP 1.9.5 and Dreamweaver CS4 to  test my osCommerce store (I like to see what's happening visually, even if I just change a small variable in the code). Although I have imported the store database  from my remote server, and the connection tests in the DW Database  window to the store, mysql, and information schema databases in  Dreamweaver are successful, I still get "Unable to connect to the  database server!" when I try to preview a .php page with Live View or with a browser. I'm using the  correct ports in my site definition (8888 and 8889). MAMP shows Apache  and MySQL running, of course. Have tried logging in as root and as my ususal username witht the correct passwords. Everything seems to be right...but it's  still wrong.
    Do I also need to import the mysql and information  schema databases from my remote server to replace the ones that came  with MAMP? If so, where do I put the information schema db? Although it  shows as a database in PhpMyAdmin, I don't see a folder or doc by that  name anywhere in MAMP - it must be buried pretty deep! (I did find a  file called information_schema_relations.lib.php in  MAMP/bin/phpMyAdmin/libraries. Is that it?)
    Or is it something else entirely?
    Note  that though I'm a fairly savvy user, I am not a developer or coder.  Strictly a GUI/static design guy with a liberal arts education. Keep the answers  simple and in plain English, thanks. 
    Have also posted this on the MAMP forum.

    Hi Kanstantin,
    Ieve tested the database connectivity through sqlplus using SYSTEM. But when I try to connect (Mount the repositiry server from MDM console, I facing  the problem mentioned.
    Please let me know if I need to do anything else.
    For your info:
    The following are the tnsnames entries
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    MD7 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = MD7)
          (INSTANCE_NAME = MD7)
          (GLOBAL_NAME = MD7)
        (HS = OK)
    The following are the entries in listener.ora file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = I:\oracle\MD7\102)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
    Regrads,
    Varadhu
    Edited by: Varadhu on Aug 6, 2009 10:49 AM

Maybe you are looking for

  • How to create a Display template for people search results

    Hi, I've just installed Sharepoint 2013 and started to play around with it. Seems to be many improvements - among these are the ability to create Display templates. On my publishing page there is a default "employee lookup" app which returns prefferr

  • HT5035 Can I transfer a gift card balance from one itunes account to another?

    Can I transfer a gift card balance from one itunes account to another?

  • There was a problem downloading...

    Hi, I am having an extremely frustrating issue where I am unable to download any podcasts from either MSNBC or NBC. I recently moved over to a mac an all other podcasts are updating as usual however any NBC/MSNBC podcasts that I am subscribed to can

  • Its possible print from my galaxy note II?

    I ve bougtht a hp 4620 printer wireless one, I m trying to use my cel to print but won't do it. Appear small screen saying no device found. If anybody know how to enable or disable anything can work it out? With the samsung galaxy note. I already got

  • Sticky load balancing without clustering?

    I don't need any type of session replication. I just want to run two           instances of Weblogic on one machine, one IP, two different ports.           If I run a third instance of Weblogic for proxying on the same machine           on yet anothe