How to Fix Magento 2.3.5-p1 Installation Error -Installation Incomplete
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.
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;
}
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.