Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO CSS Magento 2.0.4 #3970

Closed
Lreeseg opened this issue Apr 1, 2016 · 14 comments
Closed

NO CSS Magento 2.0.4 #3970

Lreeseg opened this issue Apr 1, 2016 · 14 comments

Comments

@Lreeseg
Copy link

Lreeseg commented Apr 1, 2016

Just updated to Magento 2.0.4....
My CSS is not loading in either my webpages OR the magento backend. Everything is only shown html.

How do I fix this?

@mazhalai
Copy link
Contributor

mazhalai commented Apr 1, 2016

Try bin/magento setup:static-content:deploy

@Lreeseg
Copy link
Author

Lreeseg commented Apr 1, 2016

This is going to sound stupid.
Is this supposed to be done in a terminal?

On Apr 1, 2016, at 12:17 PM, mazhalai <notifications@git.luolix.topmailto:notifications@github.com> wrote:

Try bin/magento setup:static-content:deploy


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/3970#issuecomment-204456712

@mazhalai
Copy link
Contributor

mazhalai commented Apr 1, 2016

Yes.

@chloeefr
Copy link

chloeefr commented Apr 1, 2016

This command runs fine for me but doesn't change the output on the frontend.

This is how I updated via Composer:

rm -rf vendor/*
Edit composer.js file to "version": "2.0.4" , and also under "require".
composer update
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

No errors in terminal output after this ran, but same on Frontend with no CSS showing.

@mazhalai
Copy link
Contributor

mazhalai commented Apr 1, 2016

@chloeefr did you check your file permissions?

@chloeefr
Copy link

chloeefr commented Apr 1, 2016

@mazhalai Checked and all seem correct - any specifics I need to be checking?

@mazhalai
Copy link
Contributor

mazhalai commented Apr 1, 2016

@chloeefr any error on browser console?

@chloeefr
Copy link

chloeefr commented Apr 1, 2016

@mazhalai

"Uncaught ReferenceError: Unable to process binding "text: function (){return element.label }"
Message: element is not defined" .. knockout.js

Have attached system.log

system-log.txt

@mazhalai
Copy link
Contributor

@chloeefr that means js files are not loading. Please verify that you have a user as specified here and permissions are as specified here.

@mazhalai
Copy link
Contributor

mazhalai commented May 9, 2016

@chloeefr closing due to non-responsiveness.

@mazhalai mazhalai closed this as completed May 9, 2016
@ghost
Copy link

ghost commented May 11, 2016

Same issue on a fresh install, @mazhalai I have tried everything mentioned including setup:static-content:deploy

@maksek
Copy link
Contributor

maksek commented May 12, 2016

@jupiter01, most likely it is related to permission. We have documentation on devdocs how to install Magento 2.

@ghost
Copy link

ghost commented May 12, 2016

@maksek you are correct, had to fix permissions again after executing setup:static-content:deploy

@lijithmg
Copy link

@jupiter01 You should run the command setup:static-content:deploy from the user were your websever can execute the files.

magento-engcom-team pushed a commit that referenced this issue Mar 30, 2019
[EngCom] Public Pull Requests - GraphQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants