Forbidden you don't have permission to access /Magento/pub/static/frontend/Magento/luma/en_US/Magento Ui/templates/modal/modal-popup.html on this server.
Don't know why I am getting this error on magento fresh site.
Forbidden you don't have permission to access /Magento/pub/static/frontend/Magento/luma/en_US/Magento Ui/templates/modal/modal-popup.html on this server.
Don't know why I am getting this error on magento fresh site.
You needs to set the correct permission on your server.
I've had this problem before in MAMP. You have to try to change the system file permissions for the folders, but also the file permissions for the server.
In Windows I fix a lot of my problems simply by running as administrator but there isn't really an equivalent on Mac
Solved Finally!!!!! i am using mac Yosemite 10.10.5 its easy.
step1:
goto root folder of magento like this:
cd Applications/MAMP/htdocs/Magento
step2:
and then one by 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 you are done!
if you receive fatal error about Local missing in some php bundle bla bla bla ... in php bin/magento setup:static-content:deploy step2. Its because your php is 5.5 or other version than the one running on MAMP. Which you can check by this command
php -i its running on mac
and php running on MAMP: http://localhost:8888/MAMP/index.php?page=phpinfo&language=English
if both are same then you have to find anather solution or make php to the one supported by magento.
if both are not the same you have to change your "mac php" path to "php inside MAMP" folder. todo that: write in terminal
vim ~/.bash_profile
new VIM terminal window will be open then type i and past this path or the correct one(in my case its this one):
export PATH=/Applications/MAMP/bin/php/php7.0.0/bin:$PATH
to exit VIM and go back to terminal: esc and then wq or Shift+zz
then in terminal type
source ~/.bash_profile
and then come back here to cheers!!!(its important :))