In a simple trial site, I've been experimenting by creating, editing, uploading, downloading, updating, etc. in both Dreamweaver CS6 and Business Catalyst. Everything seemed to work as I expected until I did something that has made it impossible to preview any page while in Dreamweaver by pressing F12 (or via the menu item.) I get a Page Not Found message. . . . or an 404 message.
I can preview pages from Business Catalyst, so I know the files are there and identical locally and on the remote server. After trying several things, including restarting Dreamweaver and trying both Firefox and IE. Same problem. I finally downloaded the entire site. That didn't fix it.
Can anyone tell me what happened, what I should not have done, and/or how to repair the missing link?
Many thanks in advance
Are you previewing the Local or Remote file?
If your browser does open and give you a 404 error, can you check the filepath on the address bar and verify if the actual file exists there? Maybe an incorrect site definition?
We had a similar query previously which we resolved: http://forums.adobe.com/message/4963021#4963021. Let us know if this helped you.
Meanwhile, you can access the Help content directly from these links. You need to be online to do that.
Dreamweaver Help and Tutorials (http://helpx.adobe.com/dreamweaver/topics.html)
Dreamweaver Help (http://helpx.adobe.com/dreamweaver.html)
Hello Sudarshan Thiagarajan,
Thanks for the hint.
For this site only (all my other sites seem to work perfectly), when I preview (F12) from Dreamweaver, I get a “Page not Found” message, and the URL is exactly what I expect. When I preview the page (or any page in this site only) from BC, the page shows up, and the URL has this additional code at the end: ?Preview=True.
I think this indicates that something is broken in uploading and/or upgrading pages in this site. I can see the following possibilities:
If you can help diagnose my problem and give me hints as to how to recover, and how to avoid this problem, I would be very grateful.
Can you verify your Site Definition settings to see what you have in 'Local Settings'? From your reply to Murray it looks like Preview is happening from 'Remote Server' and not 'Local'. You may want to verify the Site Definition for Local Settings is properly done so that Preview Local will run from your Local file and not remote.
Also, you're saying this is the only site that is problematic. The other sites that work, are they all BC sites as well or just regular hosts that you're working locally on?
Thanks so much to you and all, for the quick and reassuring attention to my problem.
My remote and local folder definitions seem to be correct. All other sites, whether BC sites or not (most are), are working properly.
I suspect that the confusion with this site does indeed lie in the transmission of data between my local files, the remote server, and the testing server, which I don’t understand, and which I probably broke inadvertently. At one point, in DW, I downloaded the whole site from BC to my existing folder in an attempt to clear things up. It may have exacerbated the problem. It certainly didn’t fix it.
In my uninformed mind, the files on the testing server are for holding draft versions of pages in BC, before hitting “Update”. When I have a page open in DW and press F12, I’m asked if I want to update the file on the testing server. Answering no stops the process (although I seem to remember that sometimes I’m given the option of seeing the page locally). Normally, answering yes opens the page in Firefox. Is Fierfox reading data from the testing server or the remote folder?
Even more important than fixing this experimental site is for me to understand under what circumstances data is transferred, automatically or by choice, among local, remote and testing servers, and how to avoid corrupting the processes. Can you help me understand, or is there any documentation describing the interrelationships clearly enough for me to manage data correctly? Even if I don’t fully understand, I need to know how to avoid breaking it.
You're welcome, Richard.
By default, a local Testing Server is critical if you're developing server side files such as PHP or ASP. Testing Server is usually your WAMP or MAMP environment so it can parse these server-side dynamic files. Previewing dynamic files happens from Testing Server, although even plain HTML files will be previewed from there if you have a Testing Server defined. As a fallback, for plain HTML files, without a Testing Server defined, previews happen from your Local copy.
Remote server is the place that you push your final files into, after previewing and finalizing them.
Here are a few articles that will help you better understand this process:
Managing Files & Folders in DW - http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcd a9110b1f693f21-7ed0a.html
Synchronizing Files in DW - http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcd a9110b1f693f21-7ea5a.html
How to Set-up a Local Testing Server in DW and why it is important to do so (Devnet Article written by one of our most valued members, David Powers)- http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server. html
Trust this helps.
Thanks for the helpful information. It’s very important to know technical terms, acronyms, concepts, etc.. However, I find that I don’t really understand the implications, ramifications and pitfalls lurking behind the theoretical information until I do my own experiments, which can lead to errors like the one I crashed into. Evidently, my particular error is not a common one.
None of the information cited is seriously at odds with my guesses and assumptions, and none of it pinpoints what I did to break my site’s local-remote-testing server interactions. My recourse now seems to be to start over with this site, and watch every step carefully in case I break it again.
Thanks again. If I run into additional trouble, I will report it.