Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
No folder /pub/static/frontend and /pub/static/backend after installation #1312
Hello Magento Early Adopters,
I'm having this weird error and I did not suceed to find the origin. First of all I would like to say that I succeeded to perform some installation of Magento 2 on a windows os with a xampp server before.
I'm now trying to install a magento instance on Windows Server with IIS
Basically after configuring composer etc.. the installations runs well. No error mentioned during the installation process etc.. No exceptio and nothing particular in the installation logs.
However at the end when I try to access at the backend or the front store it display the page but no css or images files are loaded. When I looked in the missing ressources, basically I have 404 errors for all css & images files supposed to be located in the following folders
Physically in my folder pub/static/ there is only the _requirejs folder and .htaccess file but no folder frontend and backend
I guess the folder frontend and backend are generated automatically because they are not by default in the initial clone of magento 2.0
So if anyone has got any ideas of where the problem could come from.
Additional information to consider: I have checked the permissions, the web server has full access (read and write) on every folders and file magento 2.0 root directory.
Have a great day,
Hi @atrhacker ,
you're right - the files for
Another solution is to run Magento CLI command for generation of static files:
Hello Olga, thank you very much for your inputs.
The thing that I don't understand is that the previous version of magento required as well mod_rewrite and I did not have any issues with an installation on IIS sever. Url rewriting were working perfectly without any customization.
I would be as well very much interested if you have any documentation regarding this new cache system for design contents, as in the future I will probably integrate some themes.
Thanks anyway for all your efforts magento team, keep on going, looking forward for the release candidate.
I'd suggest these articles: