{"id":250,"date":"2020-02-22T14:55:49","date_gmt":"2020-02-22T14:55:49","guid":{"rendered":"http:\/\/texeltech.com\/?p=250"},"modified":"2020-02-22T14:55:51","modified_gmt":"2020-02-22T14:55:51","slug":"magento-2-not-loading-full-in-xampp-windows-10","status":"publish","type":"post","link":"http:\/\/www.texeltech.com\/?p=250","title":{"rendered":"Magento 2 not loading full in XAMPP, Windows 10"},"content":{"rendered":"\n<p>After Successful installation Magento 2.3.x not showing in XAMPP Windows 10. <\/p>\n\n\n\n<p>You will fix it very easy by adding a line in the following file:<br>&#8230;\\vendor\\magento\\framework\\View\\Element\\Template\\File\\Validator.php<br>At the above mentioned file find the function  <strong>isPathInDirectories<\/strong> and add the following line :<br>$realPath = str_replace(&#8216;\\\\&#8217;, &#8216;\/&#8217;, $realPath);<br><br>Here is the full function :<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">protected function isPathInDirectories($path, $directories)\n{\n    if (!is_array($directories)) {\n        $directories = (array)$directories;\n    }\n    $realPath = $this->fileDriver->getRealPath($path);\n    $realPath = str_replace('\\\\', '\/', $realPath); <em>\/\/ New line added in function<\/em>\n    foreach ($directories as $directory) {\n        if (0 === strpos($realPath, $directory)) {\n            return true;\n        }\n    }\n    return false;\n}<\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After Successful installation Magento 2.3.x not showing in XAMPP Windows 10. You will fix it very easy by adding a line in the following file:&#8230;\\vendor\\magento\\framework\\View\\Element\\Template\\File\\Validator.phpAt the above mentioned file find the function isPathInDirectories and add&hellip;<\/p>\n","protected":false},"author":2,"featured_media":251,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"_links":{"self":[{"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/posts\/250"}],"collection":[{"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":1,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":252,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions\/252"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=\/wp\/v2\/media\/251"}],"wp:attachment":[{"href":"http:\/\/www.texeltech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.texeltech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}