HOW TO RESOLVE “INSTALLATIO IS INCOMPLETE” ERROR DURING INSTALLATION OF MAGENTO 2 OR INSTALLATION STOPS AT 51%
Created by Bhavesh Gohil & Vicky Parekh on Date: 06/11/2020
During Installing the Magento 2, in the last step after press install button, the installation stop at 51% & give error as Installation is incomplete. Below are the steps to resolve this problem. :
STEP 1 :
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;
}