Getting Error 404 when trying to open php documents in DW CS3 Test server

I am new to DW, php, MySQL and Apache. I have set up a test
environment but obviously have done something wrong. I currently
create my web pages from scratch in notepad and update my site with
a GUI FTP program, but I know with these new tools, I will
eventually be able to create the type of web site that I really
want and need. Every time I try to open any php document in DW CS3
using the"Preview/Debug in browser" button I get an error 404. The
browsers I use are ie7.0.5730.11 and Nav 9.0b2 . I know this may
not even be a DW issue, but I really am at an impasse. Any help
would be much appreciated.

Jharek Wolf wrote:
> As I previously mentioned I am new to Apache also. Are
you willing to
> continue helping me?
It sounds as though you need to be taken through this process
step by
step. Even though you say you defined a testing server, the
fact that
you didn't have your documents in the server's document root
suggests
your site definition might also be wrong.
First things first. Since you're new to Apache, what happens
when you
type
http://localhost/ into your browser
address bar? Depending on the
version of Apache, you should get an Apache test page or
simply a page
that says "It works!". If you get neither, it means Apache is
either not
running or that it has been incorrectly installed.
Assuming Apache is working, have you installed PHP? If so,
put the
following code into a blank file (there must be no HTML or
DOCTYPE -
just the following line):
<?php phpinfo(); ?>
Save the file as test.php in the Apache document root. Then
type
http://localhost/test.php into
your browser address bar. If you see a
page with masses of detail about your PHP configuration, PHP
is working.
You can then move to the final stage. Create a new folder
inside the
Apache document root. This is where you should store your
site. If you
call it "mysite", these are the settings you need in the
Testing server
definition:
Testing server folder: /path/to/htdocs/mysite/
URL prefix:
http://localhost/mysite/
Don't take "/path/to/htdocs/mysite/" literally. It indicates
the
location of htdocs/mysite on your local hard drive. Use the
folder icon
to the right of the Testing server folder field to navigate
to it.
If you're new to PHP, you might find that my book, "The
Essential Guide
to Dreamweaver CS3 with CSS, Ajax, and PHP" answers a lot of
your
questions. It covers all the Dreamweaver PHP server behaviors
in detail,
as well as teaching the basics of PHP and database
maintenance. You can
find more details by following the link in my sig.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • I get error 23132 when trying to open a M4v file

    I use to be able to play m4v files on both iTunes and Quick Time 7. Suddenly, after upgrading iTunes, I get error 23132 when trying to open a M4v file. How do I fix it to view the files on QuickTime?

    There is software you installed to work with your company's cloud service, update it or talk to the developer.
    If it's Apple's software,  then run through this list of fixes.
    ..Step by Step to fix your Mac

  • Getting error message while trying to open any document in the library

    Hello,
    I am getting the following error message when trying to open any document in the Library. The Workspace name is Contract Lifecycle Management for Public Sector
    Error
    System error. Please re-try your action. If you continue to get this error, please contact the Administrator.
    Oracle Access Manager Version: 11.1.1.3.0
    Copyright © 1996,2010, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

    Ram,
    The error was coming fro OAM which is the authentication system for BeehiveOnline. I suspect but cannot confirm that you have a cookie in the browser that has a different identity from the one you need - maybe you have logged into another OAM OIDin another system.
    If you clear cache in your browser or use a different one I think the problem will go away. If you are unsure how to clear cookies you could go to one of the websites like otn.oracle.com and log out of your account - that will flush out the authentication cookies.
    Phil

  • Get error message when trying to open a file in Adobe Indesign

    Hi,
    I would appreciate some help here.
    Just installed ID, and want to get started. When I try to open any file (pdf. jpg etc) I get the following message:
    "Can´t open file. It might be that Adobe ID don´t support the file format, that the plug-in-module that supports the file format are missing, or that the file is open in another program".
    I have tried ID on both my PC and Mac - the same error message is shown on both computers. It must be said that I am normaly as PS and AI user, and have not tried ID before. Maybe it is an easy solution to the problem, thus Adobe chat line could not help me.
    I appreciate any help you can offer!
    Regards, Catherine A

    click file > place formats to import graphic files.
    http://helpx.adobe.com/indesign/kb/supported-file-formats-indesign-cs5.html

  • Error message when trying to open PHP include?

    Hi there,
    I have seen a number of posts here about issues with
    Contribute editing PHP pages and am starting to get concerned... I
    have another one to add to the list.
    I have created a site that uses PHP includes for the header
    and the drop down menus, so that the client can go in and edit one
    or two files to change things sitewide. Sounds good, right? Well,
    in Contribute I can't open either of the PHP files that are being
    included to edit them. I keep getting errors and whether I click on
    "YES" or "NO" (to the question of whether I want to continue
    running scripts on the page) it doesn't let me out...the error
    warning box keeps popping up and I am in an endless loop. The only
    way out is CTRL-ALT-DELETE.
    One guess I had is that I am maybe missing something
    important in the included PHP file that is necessary for it to be
    recognized as a proper PHP file? In other words, the included PHP
    files contain no header tags or anything like that, it is literally
    just some divs that are supposed to be inserted at a particular
    point on every page. Am I missing something, or am I encountering a
    limitation of Contribute?
    Many thanks!!
    Tim

    I think it's the content of the include that is causing your
    troubles. Somehow you created a menu using Fireworks(?) or
    Dreamweaver(?) and Contribute indicates javascripterrors, not php
    errors...
    Maybe its better, in this case, constructing a menu that
    contains only an unordered list (check out project7 menus, or stu
    nichols css site for more examples). Updating the menu will be
    simpeler and also with less chance of errors by users. You can open
    such a file without any troubles in Contribute.

  • Getting error message when trying to open Office

    Hi,
    I did try to search for this problem, but couldn't find it.... Just today, I tried to open a word doc in Mac Office 2008, and I kept getting an error message... I get the same error message if I try to open up anything in Office... I get the error message that "MS Office has encountered a problem and needs to close"
    What's the deal? If I try to update Mac Office I get this: "You cannot install Office 2008 12.1.1 Update on this volume. A version of the software required to install this update was not found on this volume."
    I wouldn't have Office if I didn't need it for work...
    Thanks.

    Since Office is not an Apple product, please post related questions on Microsoft's own forums for their Mac applications, as Apple discussions only provide support for Apple products:
    http://www.officeformac.com/productforums

  • I am getting error messages when trying to open itunes. I have tried to reinstall but the error keeps coming up.

    I am getting error messages whe I try to open itunes.  I have tried to reinstall three times.

    What does the error message say? (Precise text, please.)

  • Getting error message when trying to open I Tunes in Windows 7

    Getting error message: The I-Tunes application could not be opened. You do not have enough access priviliges for this operation. Just installed Itunes 64 bit in Windows 7 (64-bit)

    Since Office is not an Apple product, please post related questions on Microsoft's own forums for their Mac applications, as Apple discussions only provide support for Apple products:
    http://www.officeformac.com/productforums

  • Got errors when trying to open word document with Office Web App Server and customized WOPI host

    I am configuring the Office Web App Server with our ASP.NET MVC WOPI host based on this example. https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6. While both the OWA server and WOPI server has been set up and I can use Excel and PowerPoint
    app to open and edit xls and ppt file now, there are problems opening word documents no matter I enable or disable the editing function of OWA server.
    When I open a word document while enabling editing I got this error:
    If I disable editing I got this message:
    I have tried several file so I thought it is not the files' problem. Also I didn't find any exception in the log of OWA server. 

    Hi Gary Jiang,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing issues about
    apps for Office.
    Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.
    Also if you have the question about WOPI, I suggest that you get more effective response from
    Office
    Protocols forum.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problems shutting down and getting 'Error -39 when trying to open my files

    After working all evening using my Macbook Pro, I close out all my programs and shut down the computer.
    However, the computer refuses to shut down. The screen freezes and just sits there. After about 10 minutes of waiting I eventually hold down the power button to shut the computer off.
    When I restart the MacBook Pro and try to open the file I was working on, I get the following error. 'While attempting to access [FILE], the file manager reported an error -39.'
    Why does this keep happening?
    MacBook Pro 2.4 GHz Intel Core 2 Duo
    4 GB Ram MHz DDR3
    Mac OS X 10.5.8
    Finale 2010
    Logic Studio 9
    Yamaha PSR-310 via Midi Interface
    null

    I don't think you're having an Apple hard disk issue, because your other applications are working without problems.
    I believe you are getting the corrupted file(s) (End of file, Error -39) because you are powering off the computer before the application and the computer have completely shut down.
    I can't tell you why it is happening, but I suspect that the Finale application is being extremely slow to shut down, and it is leaving the '.mus' file open until it quits.
    *Kostby, thanks so much for your reply. I actually work for a software company, so I asked a few people around here and they agree with you. For some reason, the application is taking a very, very long time to quit, and it's causing the computer to keep running instead of shutting down.*
    Perhaps some file was corrupted in the old version of the Finale application was carried over with the upgrade? Have you tried reinstalling the application?
    *I haven't, but this is a good idea. I will completely remove the program and start over.*
    Hardware...
    I notice that the keyboard dates from 2006/2007.
    *Actually, it's from 1993 (time flies...)*
    Is the midi interface Firewire or USB?
    USB
    Does the midi interface ever cause an error or a 'hang' with or without the keyboard?
    *Not that I'm aware of. I haven't used it in awhile, and it's not been connected to the computer in weeks.*
    Are there software drivers needed to make the Midi interface work with the Mac.
    *No, I simply plugged it in and it worked. No extra software or drivers needed.*
    Are the drivers old? (e.g. 10.4.x or 10.5.3)
    N/A
    Have you tried saving the file to a USB flash drive, rather than a physical hard disk?
    *I haven't, but I'll need to save a few tonight if I do a reinstall of Finale.*
    Powering off vs suspending vs leaving it run...
    Do you get the 'spinning beachball' (spindump) when Finale apparently hangs?
    *No spinning beachball. The desktop simply freezes...*
    What happens if you leave it on for an hour or overnight after the apparent 'hang'?
    *Never done that. Longest I've left it alone during the 'hang' has been about 15 minutes.*
    Does the screen ever come back and let you use the computer again?
    *After 15 minutes I would hit the power button and force it to shut off. I've never allowed it to go on for this long. I just thought if it didn't come back after 15 minutes it wasn't ever coming back.*
    Does the file corruption occur when you suspend the application by closing the lid, rather than shutting it off?
    *I've never just closed the lid on my Macbook Pro. I've always either set it to sleep or shut down and waited for it to do so before closing the lid.*
    Thanks again for the great suggestions. I will try them all this evening when I get home from work.
    Best,
    Dana

  • Get error message when trying to open email

    When I try to open my email I get an error message that says you are probably not logged on to the portal.  I have signed on to my email account.  I have restarted my computer, I have made sure that I am not on face time, I have also logged off and logged back onto my email account.  Is there a solution to this problem????

    try running mail assistant, you might have the wrong port selected some how.

  • Adobe After Effects CC, getting error message when trying to open

    error -10810
    Just bought a new computer and registered with Adobe for the CC and can't open After effects. What can I do?

    That is a Mac OS error code that says that the OS doesn't have any room left in its process table to run another process. Restart your computer and then start After Effects.

  • I am getting error message when trying to a document in Adobe InDesign

    Hi All
    I am getting the following error message when trying to open a document in Adobe InDesign
    Document contains an invalid frame.
    Story text begins -
    Delete frame and associated story?
    Options are yes no.
    clicking no a couple of times and the document opens but then InDesign will crash with the error below
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: InDesign.exe
      Application Version: 8.0.0.370
      Application Timestamp: 4f72c3ee
      Fault Module Name: TEXT EDITOR.RPLN
      Fault Module Version: 8.0.0.370
      Fault Module Timestamp: 4f72ca9c
      Exception Code: c0000005
      Exception Offset: 0004d97e
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 2057
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    This error message can different each time and is happening on multiple documents

    thanks for the reply.
    i've installed the latest updates but still getting the error when InDesign crashes (see below)
    Thanks
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: InDesign.exe
      Application Version: 8.1.0.420
      Application Timestamp: 54aaae3e
      Fault Module Name: Public.dll
      Fault Module Version: 8.1.0.420
      Fault Module Timestamp: 54aaadca
      Exception Code: c0000005
      Exception Offset: 0019ac73
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 2057
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

  • I recently upgraded to Mac OS X.  I hadn't try to access anything in iWorks 09 since the upgrade, until now.  I get an error message when trying to open any of the iWorks 09 applications.  What's the fix for this?

    I recently upgraded to Mac OS X.  I haven't tried to access anything in iWorks 09 since the upgrade, until now.  I get an error message when trying to open any of the iWorks 09 applications.  What's the fix for this?

    Follow Sonicray's advice and when you post try to give as much info about your Mac, your OS, etc... Fill out your Profile info.

  • HT1925 I am trying to open Itunes after an upgrade to itunes--it won't open and now says MSVCR80.dll is missimng.  Where do I get this missing DLL.  Also says Error 7 when trying to open (windows error 126)?? I am on Windows 7 if that matters.Help please

    I am trying to open Itunes after an upgrade to itunes--it won't open and now says MSVCR80.dll is missimng.  Where do I get this missing DLL.  Also says Error 7 when trying to open (windows error 126)?? I am on Windows 7 if that matters.Help please

    See the user tip: https://discussions.apple.com/docs/DOC-6562 for the most complete information.

Maybe you are looking for