Can't edit php files in dreamweaver, access to site root denied

Can anyone help me please?
I've recently purchased a Macbook Pro after my PCs failed on me and also had to get a Creative Suite Web Premium. I have always used Dreamweaver to edit my php files. In Windows XP, I had to run the programme to run as an Administrator to edit php files. Now I have not a clue how to do it on Mac! Each time I tried to save a php file, a dialog box appear stating: Access to Macintosh
HD:Library:Webserver:Documents:Untitled-1.php was denied
Regards
Sinead

You shouldn't have to do that on the Mac or Windows.  Only thing I could find that would suggest loading files from there is a tutorial by David.  And although I would normally agree with him, keeping the files in a system library folder for a testing environment is really unnecessary.  I'd recommend moving them into your /Users/{username}/Sites folder.  There is already a modification to the apache server to recognize that as http://localhost/~{username}.  Or install something like MAMP that is in the Applications folder.

Similar Messages

  • Can't edit .html file in dreamweaver?

    Why can't I edit .html file in Dreamweaver CS 5.5 when it is not attached to a template?
    I have always been able to edit it every other time I have opened the file (since I built the site over two years ago).
    Now each time I try to edit it in Design mode, no matter where I click in the file the whole page gets a dark grey overlay and I can't get a curser.
    I am still able to edit the code directly but I do not want to be restricted.
    The last thing I did the last time I opened the file was paste Google Analytics code in just before the </head> tag. I did this to all the files on the site but this is the only one that isn't working. I have tried taking out this code but it makes no difference.
    I am using a 6 month old Macbook pro.
    Can anyone help me?

    In your stylesheet you have -
    .container {    overflow:hidden; width: 100%;}
    .container2 {   overflow:hidden; width: 646px; margin:0 0 10px 0}
    Try right clicking on the page in Design view and then selecting Element view > Full and see if that helps.

  • Cannot save a php file in dreamweaver:access denied

    I am taking a course in PHP. I am using the environment download XAMPP, and working directly in dreamweaver. My very first project is the traditional Hello World script, a simple echo command... When I go to save the file, Dreamweaver gives me an error message :"Access to Macintosh:Applications:XAMPP:htdocs:Hello.php  was denied."  No other file name works, even saving a simple page with nothing but premade code on it works... I am stuck and stumped.

    Hello Allen.
    I don't think Firefox supports the vCard format by default... But you may want to try this extension, as I think it's what you want:
    https://addons.mozilla.org/en-US/firefox/addon/6204
    I hope this helps.

  • Display of PHP files in Dreamweaver

    After updating to Dreamweaver 8.0.2, I'm finding that I can't
    view php files in either the Split or Design modes. It will only
    appear in the code mode and won't let me select a browser to
    display either.
    Any suggestions?

    Open Preferences (Edit > Preferences) and switch to the
    File
    Types/Editors category. Make sure that .php (or whatever file
    extension
    you are using for your files) is *not* specified in the "open
    in code
    view" field.
    The name of this field should be "open only in code view".
    HTH,
    Randy
    > After updating to Dreamweaver 8.0.2, I'm finding that I
    can't view php files in
    > either the Split or Design modes. It will only appear in
    the code mode and
    > won't let me select a browser to display either.

  • Using PHP files in Dreamweaver?

    When I create a new PHP file in Dreamweaver the code is the same as an HTML file, shouldn't be different? with php commands or something?
    Thanks

    When I create a new PHP file in Dreamweaver the code is the same as an HTML file, shouldn't be different? with php commands or something?
    Not unless you add them.  PHP is a server-side programming language.  PHP web pages are no different than HTML pages except that they can parse data on the server.  With the right include statements or commands, PHP or ASP pages can publish information from server-side databases to form a dynamically driven web site.
    BUILDING DYNAMIC SITES in DW
    Set up a local testing server in Adobe Dreamweaver CS4
    http://www.adobe.com/newsletters/edge/december2009/articles/article2/index.html
    Setting up a PHP development environment for Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
    Building your first dynamic website – Part 1: Setting up your site and database connection
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Why can't edit my epub using Dreamweaver cc?

    I exported a fixed-layout ePub created in inDesign cc.   I want to edit the file with Dreamweaver cc.  When I opened it in Dreamweaver the files were read only.
    How can  unlock this.   I do not want to rename the files because it will screw up the iBook when I uploaded to Apple.  I looked through the code and it isn't a
    template.  Please help.
    Thanks,
    Janis

    Not sure what your process is, so forgive me if I reference steps you've already taken.
    Unlike Sigil (see the latest releases here) or Calibre, far as I know, Dreamweaver is not a direct editor of the .epub format. You have to unzip it, make your edits, then zip it back up. Unzipping an EPUB is just a matter of renaming it. So for example, if your file name is "Book1.epub", then make a copy of it and rename it to "Book1.zip", and unzip it. I usually just make a Dreamweaver site out of the unzipped folder, make my edits, re-zip it, then change the extension back to .epub.
    If you've already done all of that, maybe right clicking on a file or folder and selecting "Turn off Read Only" will help:

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • How can I edit the file name of the home page?

    How can I edit the file name of the home page?
    Gr Ammani

    I have a similar issue with regards to the filename...
    When I navigate to my website, it doesnt work unless I actually type the filename at the end of it. Example: type in "www.whitelion.com" (this is my real domain name) and it doesnt work. When I type in "www.whitelion.com/index.html" then it works.
    This is obviously inconvenient because my clients will never know to add the filename to the end of the site.
    Is there any setting or way to get the page to appear by just typing the original domain name without adding the extension?
    Thanks,
    Emelia

  • I can't edit my files, why?

    I can't edit my files, why?

    Hi eagle9454,
    Please see I purchased PDF pack and can't edit my files
    Best,
    Sara

  • Can you edit muse cc in dreamweaver

    Hi
    Can you edit Muse CC in Dreamweaver ?

    This question is really best on the Dreamweaver or Muse forums but here is the answer I found:
    "Muse is not intended to be a code generation hand-off tool for downstream editing. We recommend you do all of your site editing in Muse, rather than exporting the site from Muse and editing the code elsewhere. By staying within Muse, you can continue to use the full functionality of Muse to update your site. As soon as you move to altering the output of Muse, there's no going back (unless you're willing to re-make your changes each time you export from Muse). The HTML code output from Muse is not optimized for manual editing."
    Form this forum post: Re: Muse to Dreamweaver?
    So while it may be possible it is not recommended.
    Hope that helps.

  • How can i edit psd files in PS touch or which software/app i need for androiud tablet (newest tablet)

    how can i edit psd files in PS touch or which software/app i need for androiud tablet (newest tablet) @samsung

    You can import PSD files into Photoshop Touch but the PSD file will be flattened. (The original, of course, will remain untouched; PS Touch just copies it upon import.) I imagine this was done as a failsafe measure since PS Touch has no support for masks or adjustment layers (not to mention that PS Touch only has support for about 12 layers).

  • I purchased PDF pack and can't edit my files

    I can't edit PDF file. What do I do?

    Hi eagle9454,
    I am happy to help. But, I need a little more information. Have you converted PDF files to Word or another format, and are unable to edit those files? Or, were you hoping to edit PDF files with Adobe PDF Pack (which is something that it can't do)?
    Please let me know a bit more about the trouble that you're having, and we will get you pointed in the right direction.
    Best,
    Sara

  • Can you edit xml files in adobe contribute

    can you edit xml files in adobe contribute

    No, you can't even open them in recent versions of PSE.

  • Can't edit any files anymore - DTR is grayout in NWDS

    Hi Experts,
    For some reason I can't edit any files anymore, i.e. when right click on order.jsp, DTR is grayout. Seems like it happened after I reinstalled NWDS and reimported projects. I tried Sync sources, it did not help.
    Any suggestions / advises?
    Thanks, Jin

    Hi,
    Right now do you have any open activities? If so, is it on the same jsp file?
    If you have a open activity, obviously you will not edit option for the same file again.
    If that is not the case, there might be an update in your track. You need to perform "Update Configuration" on your track. go to Inactive Dc's -> Right click on your track and select "Update Configuration".
    You can also try, Closing and re opening the NWDS and logging in to NWDI again.
    Hope this helps!
    Regards,
    Jaya.

  • Can't edit any files anymore - DTR is  in NWDS

    Hi Experts, 
    For some reason I can't edit any files anymore, i.e. when right click on order.jsp, DTR is grayout.  Seems like it happened after I reinstalled NWDS and reimported projects.  I tried Sync sources, it did not help. 
    Any suggestions / advises?
    Thanks, Jin

    ok now

Maybe you are looking for

  • Vendor master Creation in Development Server and Production Server - ASAP

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. > Hello everyone, I just want to know that how to transfer the vendor accounts or

  • Premiere cs6 Mac OS 10.6.8 crashes

    Quad Core Xeon 2.66 with 5gb Ram. Frequent, regular crashes - particularly if trying to run "denoiser" or when trying to ripple insert clips. "Serious Error" message and need to close project and re-open. Fairly simple project - not graphic or animat

  • How to get rid of bing at "new tab"

    I dont have a toolbar, it does not hijack my homepage. But everytime I open a new tab (which was always blank) I get a stupid bing search bar. That is the only place it shows up, but it is sooo annoying because I always go straight to typing whatever

  • Service profiles and templates

    I was wondering what people are doing when creating service profiles for esxi. Are you creating a single service profile for each esxi server you deploy or are you using a template and then creating service profiles from that template? Also what is t

  • HT1689 cypher backups in Itunes

    Hello, I forgot my password to cypher backup in Itunes; how can I recover it ?