How to Fix Magento 2.3.5-p1 Installation Error -Installation Incomplete

How to Fix Magento 2.3.5-p1 Installation Error -Installation Incomplete

  • By admin
  • Magento 2
  • Comments Off on How to Fix Magento 2.3.5-p1 Installation Error -Installation Incomplete

How to Fix Magento 2.3.5-p1 Installation Error -Installation Incomplete

Magento installation for some versions sometimes we need to fix issue during installation. Magento Providing lot of eCommerce features and upgrade package timely.

magento2.3.5-p1-error

Find the bellow simple step you can run installation successfully.

Find validateURLScheme function in vendor\magento\framework\Image\Adapter\Gd2.php file. at line 96.
Replace function with this:

private function validateURLScheme(string $filename) : bool
{
$allowed_schemes = [‘ftp’, ‘ftps’, ‘http’, ‘https’];
$url = parse_url($filename);
if ($url && isset($url[‘scheme’]) && !in_array($url[‘scheme’], $allowed_schemes) && !file_exists($filename)) {
return false;
}

return true;
}

magetoinstall

Success:

magento success

 

And if sometimes user get error blank page after complete installation
Follow bellow step to resolve issue
Path : vendor\magento\framework\view\element\template\file\validator Line:138
Replace this line :
$realPath = $this->fileDriver->getRealPath($path);
To
$realPath = str_replace(‘\\’, ‘/’, $this->fileDriver->getRealPath($path));

Thanks, hope above code helpful for you, you can comment for the same.

Manifest Desires-Click Here