0

Js, CSS is not loading properly. enter image description here

1

I solved this problem by using... php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

0

This could be an issue with symlinks. I see that deploy.php worked for you, but you may also try deleting the resources from pub/static and seeing if the instructions from https://magento.stackexchange.com/a/64808/594 work for you. If so, then it may save you some time during development as it should be faster than running deploy.php.

I hope this will help

  • I followed those steps perfectly but it is not working. And admin page showing page not found like that. – Kowsigan Atsayam Aug 9 at 11:38
0

please check it pub/static/ inside htaccess exits or not same path pub/media/ inside check it after all command apply it

  • htaccess exists in both folders. – Kowsigan Atsayam Aug 9 at 11:03
  • change to other default magento htaccess use it on same path after cache clean and flush – Rv Singh Aug 9 at 11:07
  • please ip define in your url change to admin side core_config_data inside – Rv Singh Aug 9 at 11:07
  • admin page showing page not found like that. – Kowsigan Atsayam Aug 9 at 11:09
  • please try to all command – Rv Singh Aug 9 at 11:11
0

Please check mod_rewrite enabled in your server and also check the directory symlinks like this in your server.

Open /etc/apache2/apache2.conf 

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
  • Is /var/www/ need to be included? – Kowsigan Atsayam Aug 9 at 11:22
  • your using windows right..find the keyword like FollowSymlinks and give granted access. – Jeeva Chezhiyan Aug 9 at 11:23
  • Yes, it is windows 10. I put like this <Directory /> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> but not working. It still shows the same thing. – Kowsigan Atsayam Aug 9 at 11:29
  • mod rewrite enabled or not?? – Jeeva Chezhiyan Aug 9 at 11:33
  • Yes, I enabled it already. Actually, my other Magento project working well. But this one I copied from a friend not loading CSS, js. – Kowsigan Atsayam Aug 9 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.