Timeline for Magento 2 css and js not working after install
Current License: CC BY-SA 4.0
23 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 6, 2021 at 20:59 | answer | added | Paktas | timeline score: 1 | |
Dec 1, 2020 at 8:18 | answer | added | Rohit Chauhan | timeline score: 0 | |
Sep 13, 2018 at 14:31 | review | Suggested edits | |||
Sep 13, 2018 at 15:08 | |||||
S Sep 12, 2018 at 12:23 | history | suggested | Aasim Goriya | CC BY-SA 4.0 |
Formatting
|
Sep 12, 2018 at 12:02 | review | Suggested edits | |||
S Sep 12, 2018 at 12:23 | |||||
Aug 24, 2018 at 12:57 | answer | added | Kajal Solanki | timeline score: 5 | |
Mar 26, 2018 at 16:10 | comment | added | circlesix | Ok, that might be the problem. I would try getting the path to just one file in the pub folder, a css or js file. Try to hit that file with the full path in the browser. It's going to fail (we already know that from the console errors) but then changing just that file to 755. if you still can't hit it, change it to 775. and finally 777. That might be the reason these files can't be hit. | |
Mar 26, 2018 at 16:02 | comment | added | Ruben Perdigao | @circlesix the permissions are 644 | |
Mar 25, 2018 at 19:16 | comment | added | circlesix |
@ruben, inside the pub dir, when you navigate all the way down to the files that are kicking the 404 error on the site, what do you see? and what are the file permission and ownership?
|
|
Mar 25, 2018 at 15:54 | answer | added | PЯINCƎ | timeline score: 0 | |
Mar 25, 2018 at 15:19 | comment | added | Ruben Perdigao | @circlesix i always deploy to pt_PT with : php bin/magento setup:content-static:deploy pt_PT, but still doesn't work. | |
Mar 25, 2018 at 15:14 | comment | added | circlesix |
Are the files in the correct pub folder? you are looking to the pt_PT inside pub , but sometime during deploys Magento will only populate the en_US folder. Check that dir and if it's empty run php bin/magento setup:content-static:deploy pt_PT
|
|
Mar 25, 2018 at 15:08 | comment | added | Ruben Perdigao | @Venkatesh copied the .htacess from here: github.com/magento/magento2/blob/2.2-develop/pub/static/…, but still no luck | |
Mar 25, 2018 at 14:58 | comment | added | Venkatesh | Could you follow the steps given in this link magento.stackexchange.com/questions/212514/… | |
Mar 25, 2018 at 14:57 | comment | added | Ruben Perdigao | @Venkatesh it is there | |
Mar 25, 2018 at 14:54 | comment | added | Venkatesh | Could you check .htaccess file is present in pub/static | |
Mar 25, 2018 at 14:48 | comment | added | Ruben Perdigao | @Venkatesh i did it, and i clear the config cache, but it still doesn't work | |
Mar 25, 2018 at 14:43 | comment | added | Venkatesh |
Please try this "INSERT INTO core_config_data (path , value ) VALUES ('dev/static/sign', 0) ON DUPLICATE KEY UPDATE value =0;"
|
|
Mar 25, 2018 at 14:36 | comment | added | Ruben Perdigao | @Venkatesh it says that i have a syntax error in : ('path', 'value') VALUES ('dev/static/sign', 0) ON DUPLICATE KEY UPDATE value = 0 | |
Mar 25, 2018 at 14:31 | comment | added | Venkatesh | Have you tried this "INSERT INTO 'core_config_data' ('path', 'value') VALUES ('dev/static/sign', 0) ON DUPLICATE KEY UPDATE value = 0;" in Database. | |
Mar 25, 2018 at 14:27 | comment | added | Ruben Perdigao | @Venkatesh i tried it but still doesn't work. | |
Mar 25, 2018 at 14:21 | comment | added | Venkatesh | Please check this link which could help you magento.stackexchange.com/questions/154728/… | |
Mar 25, 2018 at 13:49 | history | asked | Ruben Perdigao | CC BY-SA 3.0 |