Unable to prevew php pages in local testing environment

Hi everyone,

I’ve download our magento site to my local testing environment on my computer. I’ve installed MAMP and have imported the database into phpMyAdmin. I’m using Dreamweaver to edit the php pages. When I try to preview one of the pages in a browser I get the following error:

“You don’t have permission to access /My Site/mysite.net/html/app/design/frontend/default/new/template/custom/home.phtml on this server”

The url string in the browser is being prefixed by:

http://localhost:8888/

I wondered if anyone could tell me how I can get this to work so I can see what the pages will look like locally?

Thanks in advance for any help.

Check the file permissions, I don’t know about Macs but you might have it set so that the current Mac user doesn’t have permission to access the folders.

Drop the port number, it might work without the port number, if it doesn’t check what port number it should be using on the Mac

Thanks for the reply,

I’m the administrator on the mac so I would have permission to view all folders.

Also, where would I drop the port number in MAMP Pro?