magento - Cannot access modal-popup.html template in Luma theme -


i'm stuck on point. don't know why i'm getting error on fresh magento 2 site. i'm using osx yosemite 10.10.5 mamp.

forbidden

you don't have permission access /magento/pub/static/frontend/magento/luma/en_us/magento_ui/templates/modal/modal-popup.html on server.

screenshot of error

from have found has not been answered elsewhere, please don't close unclear or not useful if can't answered.

solved finally!!!!! using mac yosemite 10.10.5 easy.

step1:

goto root folder of magento this:

cd applications/mamp/htdocs/magento

step2:

and 1 one type these

php bin/magento setup:static-content:deploy

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento cache:clean

and done!

if receive fatal error local missing in php bundle bla bla bla ... in php bin/magento setup:static-content:deploy step2. because php 5.5 or other version 1 running on mamp. can check command

php -i running on mac

and php running on mamp: http://localhost:8888/mamp/index.php?page=phpinfo&language=english

if both same have find anather solution or make php 1 supported magento.

if both not same have change "mac php" path "php inside mamp" folder. todo that: write in terminal

vim ~/.bash_profile

new vim terminal window open type , past path or correct one(in case one):

export path=/applications/mamp/bin/php/php7.0.0/bin:$path

to exit vim , go terminal: esc , wq or shift+zz

then in terminal type

source ~/.bash_profile

and come here cheers!!!(its important :))


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo