System: Ubundu 14.4 LTS
php version: php -v:
PHP 5.6.19-1+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Mysql version: 5.5.47
Apache : 2.0
My previous thread that addressed the same problem during the previous release.
I am still facing the same issue with latest (march-31). No css/javascript files are getting loaded in the static folder. Am I missing something basic? As a end user I was expected to have few clicks that will install the script and displaying the home screen. But I getting back to the same square one from January release. Yes Maganto 2 is very difficult for me.
How to fix the problem of loading css and javascript files? https://mage2.pro/t/259
@Dmitry_Fedyuk wrote:How to fix the problem of loading css and javascript files? https://mage2.pro/t/259
Thanks for your help. It helped me for home page display.
First I changed the permission and deleted some files
1)cd [path to magento]
2)rm -rf var/di/* var/generation/* var/cache/* var/page_cache/* var/view_preprocessed/* var/composer_home/cache/*
3) sudo chmod 777 var -R
4) sudo chmod 777 pub -R
5) sudo php bin/magento setup:static-content:deploy
6) Repeat step 3 & 4.
7)change the .htaccess since magento installed in sub directory
https://mage2.pro/t/topic/260
Now I could see the home page. But all sub pages, including /admin shows 404. I run this command
php bin/magento info:adminuri
Which says
Admin URI: /admin
I went to the /vendor/magento/module-backend/App/Area/FrontNameResolver.php and changed according to this link https://community.magento.com/t5/Installing-Magento-2/Magento-2-Localhost-Admin-url-returning-404-er... I still see the 404 error.
Any help?