首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法到达快速启动站点

无法到达快速启动站点
EN

Drupal用户
提问于 2019-06-16 06:15:50
回答 1查看 218关注 0票数 1

我正试图在macOS上和MAMP一起发布一个macOS发行版:

代码语言:javascript
复制
[519] : php core/scripts/drupal -vvv --verbose  quick-start

 Select an installation profile [Install with commonly used features pre-configured.]:
  [standard  ] Install with commonly used features pre-configured.
  [minimal   ] Build a custom site without pre-configured functionality. Suitable for advanced users.
  [demo_umami] Install an example site that shows off some of Drupal’s capabilities.
 > demo_umami

Creating file: sites/default/settings.php
18/18 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓]
Congratulations, you installed Drupal!
Username: admin
Password: hIuWCqqnaD-TostT
Drupal development server started: 
This server is not meant for production use.
One time login url: 
Press Ctrl-C to quit the Drupal development server.
Browser command: open 'http://127.0.0.1:8888/user/reset/1/1560664888/oDldybNCOH_0nRc1n4YXZWm2NwEehXnN63rWHq_Isqo/login?destination=%2F'
Server command: '/Applications/MAMP/bin/php/php7.2.1/bin/php' '-S' '127.0.0.1:8888' '.ht.router.php'

不幸的是,给定的URL返回HTTP错误代码500。此外,我还添加了-vvv--verbose,没有其他的错误消息是可见的。

当我从MAMP改为OS标准PHP安装时,浏览器显示:

代码语言:javascript
复制
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required '.ht.router.php' (include_path='.:') in Unknown on line 0

实际上,在我启动快速启动命令的地方没有.ht.router.php

有什么想法吗?

EN

回答 1

Drupal用户

发布于 2019-06-16 07:17:01

那可是个下流的案子。我按照指示下载并解压缩了最新的Drupal版本。然后用Finder复制了一份。不幸的是,这忽略了以.开头的所有文件。

在复制了comannd行上的文件之后,所有东西都以ecpected的方式工作。感谢@leymannx把我推向正确的方向。

票数 2
EN
页面原文内容由Drupal提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://drupal.stackexchange.com/questions/282354

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档