Hello everyone!
I’m starting my PW journey and I’m enjoying it so far
However, I’m having the exactly same problem as posted here https://processwire.com/talk/topic/10073-image-not-showing-up-in-tutorial/?hl=%2Bimage+%2B403
I’m running MAMP 3.2.1 on OSX 10.10.3
The issue is that the image doesn’t load on the page. It just gives me a broken link. If I click on the broken link I get:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /site/assets/files/1015/
on this server.</p>
</body></html>
Here is my PHP code:
<img src="<?php echo $page->promote->url; ?>" />
And my field to showed that I used the same name for it.
More info:
I changed the assets/file permissions to 777. It didn’t work.
I changed MAMP user. It didn’t work.
There is no error.txt under logs folder.
There is no mod_security module.
I hope I can get some help here.
Regards, Daniel