How to fix broken Quickstart package installation?
After uploading and extracting the Quickstart installation package, if you see broken Joomla! installation page while trying to install the Quickstart package on your website, please follow below steps.
REASON: It's Files and Folders permission issue. Nowadays, some hosting company adds some restrictions on their server for security purpose. And for the reason, your extracted files and folders doesn't get required permission during extracting the zip file.Login to your hosting control panel and go to File manager.
- Login to your hosting control panel and go to File manager.
- Create a php file called "permission.php" on your website root directory where you uploaded and extracted the Quickstart package.
- Now edit "permission.php" file and add below codes and Save-
<?php
header('Content-Type: text/plain');
/**
* Changes permissions on files and directories within $dir and dives recursively
* into found subdirectories.
*/
function chmod_r($dir, $dirPermissions, $filePermissions) {
$dp = opendir($dir);
while($file = readdir($dp)) {
if (($file == ".") || ($file == ".."))
continue;
$fullPath = $dir."/".$file;
if(is_dir($fullPath)) {
echo('DIR:' . $fullPath . "\n");
chmod($fullPath, $dirPermissions);
chmod_r($fullPath, $dirPermissions, $filePermissions);
} else {
echo('FILE:' . $fullPath . "\n");
chmod($fullPath, $filePermissions);
}
}
closedir($dp);
}
chmod_r(dirname(__FILE__), 0755, 0644);
?>
- Now browse http://YourDomain.tld/permission.php
- After completing loading the page, browse your site http://YourDomain.tld and complete the installation.
- Now you can delete permission.php file you created.