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

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form