3

I have successfully installed Magento 2.3.1 in Xampp. But both the frontend and admin panel of the site are not working.

I have cleared the cache but still, it's not working.

Could anyone please help me with this?

enter image description here

Siva
  • 1,120
  • 1
  • 14
  • 33
  • 1
    you can refer here, this might be related https://magento.stackexchange.com/questions/255820/magento-admin-panel-not-loading-properly-no-options-for-login?answertab=active#tab-top – fmsthird Apr 08 '19 at 08:20
  • 2
    @magefms Thanks you very much. It's perfectly working. Please put this in the answer and i will mark it so that others who encounter this same issue will get output. – Siva Apr 08 '19 at 08:40

2 Answers2

3

Try editing the Validator file from vendor folder with namespace

Magento\Framework\View\Element\Template\File

At around line 138 replace code with this one

$realPath = str_replace('\\', '/',$this->fileDriver->getRealPath($path));

save then cache:flush

fmsthird
  • 4,592
  • 4
  • 17
  • 41
0
  1. This might be caused by your PHP version compatibility with your Xampp.
  2. Try to update the PHP version then try.
Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
Asad Khan
  • 1,486
  • 11
  • 37