Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Andrew Folts
Andrew Folts
14,238 Points

MAMP Wordpress database error (denied by server configuration)?

A few weeks ago I was having problems with Wordpress permalinks, and so I started messing around with my Mac's httpd.conf settings, among other things. BIG MISTAKE.

Either that or my update to OSX Sierra royally screwed up MAMP, and now I can't connect to any of my local sites. Here's what I'm getting in the Apache error log:

File does not exist: /Applications/MAMP/htdocs/docs-assets, referer: http://localhost/MAMP/?language=English

[Fri Nov 25 23:04:38 2016] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store

I've tried reinstalling MAMP multiple times and resetting various settings on my Mac to no avail.

Does anyone have any tips for solutions I could possibly try? (Banging my head against the wall here.)

Thanks!

1 Answer

Hi Andrew - have you disabled web sharing on your Mac at all?

Andrew Folts
Andrew Folts
14,238 Points

I actually fixed it (the simplest solution is usually the right one).

It must have been something to do with the Mac update, because I downloaded a newer version of MAMP and everything worked fine.