By running this command:
php bin/magento module:disable Magento_Csp
List of disabled modules: Magento_Csp
j'ai desactivé le module mais le problème persiste
error console
Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 10:27:52.210 (index):1 Refused to apply style from 'http://localhost/magento-ce-2.3.5-p1/pub/static/version1592321877/adminhtml/Magento/backend/en_US/jquery/jstree/themes/default/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 10:27:52.268 (index):1 Refused to apply style from 'http://localhost/magento-ce-2.3.5-p1/pub/static/version1592321877/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 10:27:52.274 (index):1 Refused to apply style from 'http://localhost/magento-ce-2.3.5-p1/pub/static/version1592321877/adminhtml/Magento/backend/en_US/extjs/resources/css/ytheme-magento.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 10:30:47.179 (index):1 Refused to apply style from 'http://localhost/magento-ce-2.3.5-p1/pub/static/version1592321877/adminhtml/Magento/backend/en_US/extjs/resources/css/ytheme-magento.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 10:30:47.199 (index):1 Refused to apply style from 'http://localhost/magento-ce-2.3.5-p1/pub/static/version1592321877/adminhtml/Magento/backend/en_US/jquery/jstree/themes/default/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. 10:30:47.358 (index):1 Refused to apply style from 'http://localhost/magento-ce-2.3.5-p1/pub/static/version1592321877/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Okay after disable try to run below commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
après l'exécution, j'obtiens cette erreur
Cette page ne fonctionne pas localhost vous a redirigé à de trop nombreuses reprises. Essayez de supprimer les cookies..
ERR_TOO_MANY_REDIRECTS
j'ai supprimé les cookies de mon navigateur, ça ne marche pas
@Manish Mittal a écrit :
Okay after disable try to run below commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
To correct this, please try to set Use Secure URLs in Admin to true, in System -> Config -> General -> Web.
Or with database access, change following record value to 1 :
SELECT * FROM core_config_data where path like '%web/secure/use_in_adminhtml%';
or try this:
https://magento.stackexchange.com/questions/94722/magento-2-error-err-too-many-redirects