Css and Js not loading from the static and media Magento 2Magento 2: 500 Internal Server ErrorLatest css changes not get updated in pub/static folder - magento 2.0.1magento 2.0 theme not working in 2.1Styles are not loading after removing pub/static and run setup:static-content:deploy in Magento 2Magento 2 CSS and Javascipt Not LoadingM2 backend theme css not loadingcdn deploy static files magento - still deploying to “normal” directoriesMagento2 css images deploy static files languagestyle-m.css style-m.css and print.css not in pub/staticAfter Migrating to New Server CSS and JS file not loading, also Backend Admin is not AccessibleIn production mode the site does not load

What problems does SciDraw still solve?

Restoring order in a deck of playing cards

Black-and-white film where monster/alien gets fried

Why colon to denote that a value belongs to a type?

How can I prevent interns from being expendable?

How did early x86 BIOS programmers manage to program full blown TUIs given very few bytes of ROM/EPROM?

How does an ARM MCU run faster than the external crystal?

Where do I put diamond mines on my map?

Looking after a wayward brother in mother's will

Where did the “Vikings wear helmets with horn” stereotype come from and why?

How to capture more stars?

The Passive Wisdom (Perception) score of my character on D&D Beyond seems too high

Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?

Modern approach to radio buttons

Is it possible to change original filename of an exe?

What's the connection between "kicking a pigeon" and "how a bill becomes a law"?

What are the problems in teaching guitar via Skype?

How does apt-get work, in detail?

What does uniform continuity mean exactly?

How to extract lower and upper bound in numeric format from a confidence interval string?

Can non-English-speaking characters use wordplay specific to English?

Is floating in space similar to falling under gravity?

1960s sci-fi novella with a character who is treated as invisible by being ignored

Leading and Suffering Numbers



Css and Js not loading from the static and media Magento 2


Magento 2: 500 Internal Server ErrorLatest css changes not get updated in pub/static folder - magento 2.0.1magento 2.0 theme not working in 2.1Styles are not loading after removing pub/static and run setup:static-content:deploy in Magento 2Magento 2 CSS and Javascipt Not LoadingM2 backend theme css not loadingcdn deploy static files magento - still deploying to “normal” directoriesMagento2 css images deploy static files languagestyle-m.css style-m.css and print.css not in pub/staticAfter Migrating to New Server CSS and JS file not loading, also Backend Admin is not AccessibleIn production mode the site does not load






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I put my code on server and when I deployed it i get the error Internal server 500 so I deleted the .htaccess from the root of directory but css and js not loading and run deploy the update the di:compile and put 777 /var /generated pub/media and pub/static when i see the folder under pub/static /frontend .fr_FR/theme/it is empty same for media no wysiwyg and there are some folder related to theme missing on server. In local everything is working fine.










share|improve this question
























  • Please check the file permission where you put your new code. if you are in production mode then please run static content deploy, then give permission 777 to pub ,var, generated

    – Pritam Info 24
    Dec 28 '18 at 13:53











  • i really did that but still same error

    – Developper Magento
    Dec 28 '18 at 14:00











  • one queston when i delete the .htaccess i find the Fo without css and js else if i keep it i get the intenal server error 500

    – Developper Magento
    Dec 28 '18 at 14:01











  • There probably two reasons for that. 1. some PHP module is lot loading or some misconfiguration 2. File permission. You may try solutions form this link magento.stackexchange.com/questions/100896/…, Thank you.

    – Pritam Info 24
    Dec 28 '18 at 14:08

















0















I put my code on server and when I deployed it i get the error Internal server 500 so I deleted the .htaccess from the root of directory but css and js not loading and run deploy the update the di:compile and put 777 /var /generated pub/media and pub/static when i see the folder under pub/static /frontend .fr_FR/theme/it is empty same for media no wysiwyg and there are some folder related to theme missing on server. In local everything is working fine.










share|improve this question
























  • Please check the file permission where you put your new code. if you are in production mode then please run static content deploy, then give permission 777 to pub ,var, generated

    – Pritam Info 24
    Dec 28 '18 at 13:53











  • i really did that but still same error

    – Developper Magento
    Dec 28 '18 at 14:00











  • one queston when i delete the .htaccess i find the Fo without css and js else if i keep it i get the intenal server error 500

    – Developper Magento
    Dec 28 '18 at 14:01











  • There probably two reasons for that. 1. some PHP module is lot loading or some misconfiguration 2. File permission. You may try solutions form this link magento.stackexchange.com/questions/100896/…, Thank you.

    – Pritam Info 24
    Dec 28 '18 at 14:08













0












0








0








I put my code on server and when I deployed it i get the error Internal server 500 so I deleted the .htaccess from the root of directory but css and js not loading and run deploy the update the di:compile and put 777 /var /generated pub/media and pub/static when i see the folder under pub/static /frontend .fr_FR/theme/it is empty same for media no wysiwyg and there are some folder related to theme missing on server. In local everything is working fine.










share|improve this question
















I put my code on server and when I deployed it i get the error Internal server 500 so I deleted the .htaccess from the root of directory but css and js not loading and run deploy the update the di:compile and put 777 /var /generated pub/media and pub/static when i see the folder under pub/static /frontend .fr_FR/theme/it is empty same for media no wysiwyg and there are some folder related to theme missing on server. In local everything is working fine.







magento2 js-css






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 22 at 10:02









Kirti Nariya

1,353517




1,353517










asked Dec 28 '18 at 13:25









Developper Magento Developper Magento

601112




601112












  • Please check the file permission where you put your new code. if you are in production mode then please run static content deploy, then give permission 777 to pub ,var, generated

    – Pritam Info 24
    Dec 28 '18 at 13:53











  • i really did that but still same error

    – Developper Magento
    Dec 28 '18 at 14:00











  • one queston when i delete the .htaccess i find the Fo without css and js else if i keep it i get the intenal server error 500

    – Developper Magento
    Dec 28 '18 at 14:01











  • There probably two reasons for that. 1. some PHP module is lot loading or some misconfiguration 2. File permission. You may try solutions form this link magento.stackexchange.com/questions/100896/…, Thank you.

    – Pritam Info 24
    Dec 28 '18 at 14:08

















  • Please check the file permission where you put your new code. if you are in production mode then please run static content deploy, then give permission 777 to pub ,var, generated

    – Pritam Info 24
    Dec 28 '18 at 13:53











  • i really did that but still same error

    – Developper Magento
    Dec 28 '18 at 14:00











  • one queston when i delete the .htaccess i find the Fo without css and js else if i keep it i get the intenal server error 500

    – Developper Magento
    Dec 28 '18 at 14:01











  • There probably two reasons for that. 1. some PHP module is lot loading or some misconfiguration 2. File permission. You may try solutions form this link magento.stackexchange.com/questions/100896/…, Thank you.

    – Pritam Info 24
    Dec 28 '18 at 14:08
















Please check the file permission where you put your new code. if you are in production mode then please run static content deploy, then give permission 777 to pub ,var, generated

– Pritam Info 24
Dec 28 '18 at 13:53





Please check the file permission where you put your new code. if you are in production mode then please run static content deploy, then give permission 777 to pub ,var, generated

– Pritam Info 24
Dec 28 '18 at 13:53













i really did that but still same error

– Developper Magento
Dec 28 '18 at 14:00





i really did that but still same error

– Developper Magento
Dec 28 '18 at 14:00













one queston when i delete the .htaccess i find the Fo without css and js else if i keep it i get the intenal server error 500

– Developper Magento
Dec 28 '18 at 14:01





one queston when i delete the .htaccess i find the Fo without css and js else if i keep it i get the intenal server error 500

– Developper Magento
Dec 28 '18 at 14:01













There probably two reasons for that. 1. some PHP module is lot loading or some misconfiguration 2. File permission. You may try solutions form this link magento.stackexchange.com/questions/100896/…, Thank you.

– Pritam Info 24
Dec 28 '18 at 14:08





There probably two reasons for that. 1. some PHP module is lot loading or some misconfiguration 2. File permission. You may try solutions form this link magento.stackexchange.com/questions/100896/…, Thank you.

– Pritam Info 24
Dec 28 '18 at 14:08










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f256083%2fcss-and-js-not-loading-from-the-static-and-media-magento-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f256083%2fcss-and-js-not-loading-from-the-static-and-media-magento-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?