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.
-
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, generatedPritam Biswas– Pritam Biswas2018-12-28 13:53:08 +00:00Commented Dec 28, 2018 at 13:53
-
i really did that but still same errorDevelopper Magento– Developper Magento2018-12-28 14:00:39 +00:00Commented Dec 28, 2018 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 500Developper Magento– Developper Magento2018-12-28 14:01:20 +00:00Commented Dec 28, 2018 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 Biswas– Pritam Biswas2018-12-28 14:08:03 +00:00Commented Dec 28, 2018 at 14:08
Add a comment
|