尝试安装octobercms,并使用homestead在浏览器中运行install.php文件,然后继续获得';未指定输入';
我对php、laravel和octobercms非常陌生,正在尝试安装它。我已经安装了laravel,现在我正在尝试为octobercms进行向导安装,目前当我尝试在浏览器中运行install.php时,它会给我“未指定输入” 这是我的homestad.yaml文件:尝试安装octobercms,并使用homestead在浏览器中运行install.php文件,然后继续获得';未指定输入';,php,laravel,homestead,octobercms,Php,Laravel,Homestead,Octobercms,我对php、laravel和octobercms非常陌生,正在尝试安装它。我已经安装了laravel,现在我正在尝试为octobercms进行向导安装,目前当我尝试在浏览器中运行install.php时,它会给我“未指定输入” 这是我的homestad.yaml文件: box: laravel/homestead-7 ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pu
box: laravel/homestead-7
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Homestead/Projects
to: /Users/marika/Homestead/Projects
sites:
- map: local.octobercms.com
to: /Users/marika/Homestead/Projects/DevelopmentalDesigners
databases:
- homestead
这是我的主机文件中的内容:
192.168.10.10 local.octobercms.com
至于我的站点中的文件夹文件和路径,我在终端中进行了pwd,因此我知道它们是正确的路径,如下所示:
➜ Projects git:(master) ✗ pwd
/Users/marika/Homestead/Projects
➜ Projects git:(master) ✗ cd DevelopmentalDesigners
➜ DevelopmentalDesigners git:(master) ✗ pwd
/Users/marika/Homestead/Projects/DevelopmentalDesigners
➜ DevelopmentalDesigners git:(master) ✗
我的文件如下所示:
<?php include 'install_files/php/boot.php'; ?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>October Installation</title>
<!-- Styles -->
<link href="install_files/css/vendor.css" rel="stylesheet">
<link href="install_files/css/layout.css" rel="stylesheet">
<link href="install_files/css/controls.css" rel="stylesheet">
<link href="install_files/css/animations.css" rel="stylesheet">
<link href="install_files/css/fonts.css" rel="stylesheet">
<!-- Base URL -->
<?php if (!isset($fatalError)): ?>
<script>
<!--
installerBaseUrl = '<?= $installer->getBaseUrl() ?>';
// -->
</script>
<?php endif ?>
</head>
<body class="js">
<div id="wrap">
<!-- Header -->
<header>
<div class="container" id="containerHeader"></div>
<!-- Title -->
<section class="title">
<div class="container" id="containerTitle"></div>
</section>
</header>
<!-- Body -->
<section class="body">
<?php if (isset($fatalError)): ?>
<div class="container">
<div class="callout callout-danger"><?= $fatalError ?></div>
</div>
<?php else: ?>
<div class="container" id="containerBody"></div>
<?php endif ?>
</section>
</div>
<!-- Footer -->
<footer>
<div class="container" id="containerFooter"></div>
</footer>
<?php if (!isset($fatalError)): ?>
<!-- Render Partials -->
<?php
$partialList = array(
'header',
'title',
'footer',
'check',
'check/fail',
'config',
'config/mysql',
'config/pgsql',
'config/sqlite',
'config/sqlsrv',
'config/fail',
'config/database',
'config/admin',
'config/advanced',
'starter',
'themes',
'themes/theme',
'project',
'project/project',
'project/plugins',
'project/plugin',
'project/themes',
'project/theme',
'project/suggestion',
'project/fail',
'progress',
'progress/fail',
'complete',
);
?>
<?php foreach ($partialList as $file): ?>
<script type="text/template" data-partial="<?= $file ?>">
<?php include 'install_files/partials/'.$file.'.htm'; ?>
</script>
<?php endforeach ?>
<!-- Scripts -->
<script src="install_files/js/vendor.js"></script>
<script src="install_files/js/app.js"></script>
<script src="install_files/js/check.js"></script>
<script src="install_files/js/config.js"></script>
<script src="install_files/js/starter.js"></script>
<script src="install_files/js/themes.js"></script>
<script src="install_files/js/project.js"></script>
<script src="install_files/js/progress.js"></script>
<script src="install_files/js/complete.js"></script>
<!-- Bespoke Properties -->
<script>
/*
* Checker Page
*/
Installer.Pages.systemCheck.title = 'System Check'
Installer.Pages.systemCheck.nextButton = 'Agree & Continue'
Installer.Pages.systemCheck.requirements = [
{ code: 'phpVersion', label: 'PHP version 5.4 or greater required' },
{ code: 'curlLibrary', label: 'cURL PHP Extension is required' },
{ code: 'liveConnection', label: 'Test connection to the installation server' },
{ code: 'writePermission', label: 'Permission to write to directories and files', reason: 'The installer was unable to write to the installation directories and files.' },
{ code: 'pdoLibrary', label: 'PDO PHP Extension is required' },
{ code: 'mcryptLibrary', label: 'MCrypt PHP Extension is required' },
{ code: 'mbstringLibrary', label: 'Mbstring PHP Extension is required' },
{ code: 'sslLibrary', label: 'OpenSSL PHP Extension is required' },
{ code: 'zipLibrary', label: 'ZipArchive PHP Library is required' },
{ code: 'gdLibrary', label: 'GD PHP Library is required' }
]
/*
* Config Page
*/
Installer.Pages.configForm.title = 'Configuration'
Installer.Pages.configForm.nextButton = 'Continue'
Installer.Pages.configForm.sections = [
{ code: 'database', label: 'Database', category: 'General', handler: 'onValidateDatabase', partial: 'config/database' },
{ code: 'admin', label: 'Administrator', category: 'General', handler: 'onValidateAdminAccount', partial: 'config/admin' },
{ code: 'advanced', label: 'Advanced', category: 'Advanced', handler: 'onValidateAdvancedConfig', partial: 'config/advanced' }
]
/*
* Starter Page
*/
Installer.Pages.starterForm.title = 'Getting started'
/*
* Themes Page
*/
Installer.Pages.themesForm.title = 'Start from a theme'
/*
* Project Page
*/
Installer.Pages.projectForm.title = 'Project details'
Installer.Pages.projectForm.nextButton = 'Install!'
Installer.Pages.projectForm.sections = [
{ code: 'project', label: 'Project', partial: 'project/project' },
{ code: 'plugins', label: 'Plugins', partial: 'project/plugins' },
{ code: 'themes', label: 'Themes', partial: 'project/themes' }
]
/*
* Progress Page
*/
Installer.Pages.installProgress.title = 'Installation progress...'
Installer.Pages.installProgress.steps = [
{ code: 'getMetaData', label: 'Requesting package information' },
{ code: 'downloadCore', label: 'Downloading application files' },
{ code: 'downloadPlugins', label: 'Downloading plugin: ' },
{ code: 'downloadThemes', label: 'Downloading theme: ' },
{ code: 'extractCore', label: 'Unpacking application files' },
{ code: 'extractPlugins', label: 'Unpacking plugin: ' },
{ code: 'extractThemes', label: 'Unpacking plugin: ' },
{ code: 'setupConfig', label: 'Building configuration files' },
{ code: 'createAdmin', label: 'Create admin account' },
{ code: 'setupProject', label: 'Setting website project' },
{ code: 'finishInstall', label: 'Finishing installation' }
]
/*
* Final Pages
*/
Installer.Pages.installComplete.title = 'Congratulations!'
</script>
<?php endif ?>
</body>
</html>
我的install.php文件如下所示:
<?php include 'install_files/php/boot.php'; ?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>October Installation</title>
<!-- Styles -->
<link href="install_files/css/vendor.css" rel="stylesheet">
<link href="install_files/css/layout.css" rel="stylesheet">
<link href="install_files/css/controls.css" rel="stylesheet">
<link href="install_files/css/animations.css" rel="stylesheet">
<link href="install_files/css/fonts.css" rel="stylesheet">
<!-- Base URL -->
<?php if (!isset($fatalError)): ?>
<script>
<!--
installerBaseUrl = '<?= $installer->getBaseUrl() ?>';
// -->
</script>
<?php endif ?>
</head>
<body class="js">
<div id="wrap">
<!-- Header -->
<header>
<div class="container" id="containerHeader"></div>
<!-- Title -->
<section class="title">
<div class="container" id="containerTitle"></div>
</section>
</header>
<!-- Body -->
<section class="body">
<?php if (isset($fatalError)): ?>
<div class="container">
<div class="callout callout-danger"><?= $fatalError ?></div>
</div>
<?php else: ?>
<div class="container" id="containerBody"></div>
<?php endif ?>
</section>
</div>
<!-- Footer -->
<footer>
<div class="container" id="containerFooter"></div>
</footer>
<?php if (!isset($fatalError)): ?>
<!-- Render Partials -->
<?php
$partialList = array(
'header',
'title',
'footer',
'check',
'check/fail',
'config',
'config/mysql',
'config/pgsql',
'config/sqlite',
'config/sqlsrv',
'config/fail',
'config/database',
'config/admin',
'config/advanced',
'starter',
'themes',
'themes/theme',
'project',
'project/project',
'project/plugins',
'project/plugin',
'project/themes',
'project/theme',
'project/suggestion',
'project/fail',
'progress',
'progress/fail',
'complete',
);
?>
<?php foreach ($partialList as $file): ?>
<script type="text/template" data-partial="<?= $file ?>">
<?php include 'install_files/partials/'.$file.'.htm'; ?>
</script>
<?php endforeach ?>
<!-- Scripts -->
<script src="install_files/js/vendor.js"></script>
<script src="install_files/js/app.js"></script>
<script src="install_files/js/check.js"></script>
<script src="install_files/js/config.js"></script>
<script src="install_files/js/starter.js"></script>
<script src="install_files/js/themes.js"></script>
<script src="install_files/js/project.js"></script>
<script src="install_files/js/progress.js"></script>
<script src="install_files/js/complete.js"></script>
<!-- Bespoke Properties -->
<script>
/*
* Checker Page
*/
Installer.Pages.systemCheck.title = 'System Check'
Installer.Pages.systemCheck.nextButton = 'Agree & Continue'
Installer.Pages.systemCheck.requirements = [
{ code: 'phpVersion', label: 'PHP version 5.4 or greater required' },
{ code: 'curlLibrary', label: 'cURL PHP Extension is required' },
{ code: 'liveConnection', label: 'Test connection to the installation server' },
{ code: 'writePermission', label: 'Permission to write to directories and files', reason: 'The installer was unable to write to the installation directories and files.' },
{ code: 'pdoLibrary', label: 'PDO PHP Extension is required' },
{ code: 'mcryptLibrary', label: 'MCrypt PHP Extension is required' },
{ code: 'mbstringLibrary', label: 'Mbstring PHP Extension is required' },
{ code: 'sslLibrary', label: 'OpenSSL PHP Extension is required' },
{ code: 'zipLibrary', label: 'ZipArchive PHP Library is required' },
{ code: 'gdLibrary', label: 'GD PHP Library is required' }
]
/*
* Config Page
*/
Installer.Pages.configForm.title = 'Configuration'
Installer.Pages.configForm.nextButton = 'Continue'
Installer.Pages.configForm.sections = [
{ code: 'database', label: 'Database', category: 'General', handler: 'onValidateDatabase', partial: 'config/database' },
{ code: 'admin', label: 'Administrator', category: 'General', handler: 'onValidateAdminAccount', partial: 'config/admin' },
{ code: 'advanced', label: 'Advanced', category: 'Advanced', handler: 'onValidateAdvancedConfig', partial: 'config/advanced' }
]
/*
* Starter Page
*/
Installer.Pages.starterForm.title = 'Getting started'
/*
* Themes Page
*/
Installer.Pages.themesForm.title = 'Start from a theme'
/*
* Project Page
*/
Installer.Pages.projectForm.title = 'Project details'
Installer.Pages.projectForm.nextButton = 'Install!'
Installer.Pages.projectForm.sections = [
{ code: 'project', label: 'Project', partial: 'project/project' },
{ code: 'plugins', label: 'Plugins', partial: 'project/plugins' },
{ code: 'themes', label: 'Themes', partial: 'project/themes' }
]
/*
* Progress Page
*/
Installer.Pages.installProgress.title = 'Installation progress...'
Installer.Pages.installProgress.steps = [
{ code: 'getMetaData', label: 'Requesting package information' },
{ code: 'downloadCore', label: 'Downloading application files' },
{ code: 'downloadPlugins', label: 'Downloading plugin: ' },
{ code: 'downloadThemes', label: 'Downloading theme: ' },
{ code: 'extractCore', label: 'Unpacking application files' },
{ code: 'extractPlugins', label: 'Unpacking plugin: ' },
{ code: 'extractThemes', label: 'Unpacking plugin: ' },
{ code: 'setupConfig', label: 'Building configuration files' },
{ code: 'createAdmin', label: 'Create admin account' },
{ code: 'setupProject', label: 'Setting website project' },
{ code: 'finishInstall', label: 'Finishing installation' }
]
/*
* Final Pages
*/
Installer.Pages.installComplete.title = 'Congratulations!'
</script>
<?php endif ?>
</body>
</html>
十月装置
/*
*检查页
*/
Installer.Pages.systemCheck.title='系统检查'
Installer.Pages.systemCheck.nextButton='同意并继续'
Installer.Pages.systemCheck.requirements=[
{代码:'phpVersion',标签:'PHP版本5.4或更高版本必需'},
{代码:'curlLibrary',标签:'CurlPHP扩展是必需的'},
{code:'liveConnection',label:'testconnection to the installation server'},
{代码:“writePermission”,标签:“写入目录和文件的权限”,原因:“安装程序无法写入安装目录和文件”。},
{代码:'pdoLibrary',标签:'PDO PHP扩展是必需的'},
{代码:'mcryptLibrary',标签:'MCrypt PHP扩展是必需的'},
{代码:'mbstringLibrary',标签:'MBStringPHP扩展是必需的'},
{代码:'sslLibrary',标签:'OpenSSL PHP扩展是必需的'},
{代码:'zipLibrary',标签:'ZipArchive PHP库是必需的'},
{代码:'gdLibrary',标签:'GD PHP Library是必需的'}
]
/*
*配置页
*/
Installer.Pages.configForm.title='Configuration'
Installer.Pages.configForm.nextButton='继续'
Installer.Pages.configForm.sections=[
{code:'database',label:'database',category:'General',handler:'onValidateDatabase',partial:'config/database'},
{code:'admin',label:'Administrator',category:'General',handler:'onValidateAdminAccount',partial:'config/admin'},
{代码:'advanced',标签:'advanced',类别:'advanced',处理程序:'OnValidateAvancedConfig',部分:'config/advanced'}
]
/*
*起始页
*/
Installer.Pages.starterForm.title='Getting started'
/*
*主题页
*/
Installer.Pages.themesForm.title='从主题开始'
/*
*项目页面
*/
Installer.Pages.projectForm.title='项目详细信息'
Installer.Pages.projectForm.nextButton='Install!'
Installer.Pages.projectForm.sections=[
{代码:'project',标签:'project',部分:'project/project'},
{代码:'plugins',标签:'plugins',部分:'project/plugins'},
{代码:'themes',标签:'themes',部分:'project/themes'}
]
/*
*进度页
*/
Installer.Pages.installProgress.title='安装进度…'
Installer.Pages.installProgress.steps=[
{代码:'getMetaData',标签:'Requesting package information'},
{代码:'downloadCore',标签:'Downloading application files'},
{代码:“downloadPlugins”,标签:“DownloadPlugin:”},
{代码:“下载主题”,标签:“下载主题:”},
{代码:'extractCore',标签:'Unpacking application files'},
{代码:'extractPlugins',标签:'Unpacking plugin:'},
{代码:'extractThemes',标签:'Unpacking plugin:'},
{代码:'setupConfig',标签:'Building configuration files'},
{代码:'createAdmin',标签:'createAdmin account'},
{代码:“设置项目”,标签:“设置网站项目”},
{代码:'finishInstall',标签:'Finishing installation'}
]
/*
*最后几页
*/
Installer.Pages.installComplete.title='祝贺您!'
任何帮助都将不胜感激!我真的迷路了!几天来我一直在努力解决这个问题。我遵循官方文件,在我的宅地上安装没有问题。我希望它能帮助你
我遵循官方文件,在我的宅地上安装没有问题。我希望它能帮助你 控制台安装gi