Salve, ho acquistato un hosting magento e avviato la procedura di installazione da Cpanel. La procedura è terminata con successo, ma una volta che accedo al sito mi compare questo messaggio di errore e non saprei proprio come risolvere. Come posso fare?
Grazie
"An error has happened during application run. See exception log for details. Could not write error message to log. Please use developer mode to see the message"
Hi @mg_sena
ok - i understand the problem you are facing !
looks like you are in a default mode of Magento 2 and that is why exact error is not showing to you but instead error is logged in log directory !
So you need to go to Var/Log directory - open exception.log file and post its exact error over here !
Generally after installation this kind of error is generated , because code is not compiled and deployed.
So to solved this you need to run below commands from your SSH terminal(Command line window) from the root directory of magento 2 :
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush
Hope it helps !