我已经让Drupal工作,但后来我搞砸了一些不兼容的模块(layout_plugin),打破了模块设置页面。我试图以不同的方式删除它但失败了。所以我决定从头开始。我删除了网站数据库并从默认情况下重新创建了Drupal文件夹。不幸的是,现在在设置时它会完成所有安装,但是在提交电子邮件,凭据和时间属性之后的最后一步,它以超长错误结束
Warning: curl_setopt_array(): Unable to create temporary file. in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('get', Object, Array) (Line: 129)
GuzzleHttp\Client->request('get', 'http://updates.drupal.org/release-history/drupal/8.x?site_key=sMbmiei0HAVBa9TUtPGTQnY_kZwJIE2wWA4Kv0fbVyo&version=8.3.7&list=automated_cron%2Cblock%2Cblock_content%2Cbreakpoint%2Cckeditor%2Ccolor%2Ccomment%2Cconfig%2Ccontact%2Ccontextual%2Cdatetime%2Cdblog%2Cdynamic_page_cache%2Ceditor%2Cfield%2Cfield_ui%2Cfile%2Cfilter%2Chelp%2Chistory%2Cimage%2Clink%2Cmenu_link_content%2Cmenu_ui%2Cnode%2Coptions%2Cpage_cache%2Cpath%2Cquickedit%2Crdf%2Csearch%2Cshortcut%2Cstandard%2Csystem%2Ctaxonomy%2Ctext%2Ctoolbar%2Ctour%2Cupdate%2Cuser%2Cviews%2Cviews_ui%2Cstable%2Cbartik%2Cseven%2Cclassy', Array) (Line: 87)
GuzzleHttp\Client->__call('get', Array) (Line: 65)
Drupal\update\UpdateFetcher->fetchProjectData(Array, 'sMbmiei0HAVBa9TUtPGTQnY_kZwJIE2wWA4Kv0fbVyo') (Line: 160)
Drupal\update\UpdateProcessor->processFetchTask(Array) (Line: 131)
Drupal\update\UpdateProcessor->fetchData() (Line: 423)
update_fetch_data() (Line: 249)
update_cron()
call_user_func_array('update_cron', Array) (Line: 391)
Drupal\Core\Extension\ModuleHandler->invoke('update', 'cron') (Line: 223)
Drupal\Core\Cron->invokeCronHandlers() (Line: 122)
Drupal\Core\Cron->run() (Line: 75)
Drupal\Core\ProxyClass\Cron->run() (Line: 1778)
install_finished(Array) (Line: 662)
install_run_task(Array, Array) (Line: 540)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Unable to create temporary file. in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('get', Object, Array) (Line: 129)
GuzzleHttp\Client->request('get', 'http://updates.drupal.org/release-history/drupal/8.x?site_key=sMbmiei0HAVBa9TUtPGTQnY_kZwJIE2wWA4Kv0fbVyo&version=8.3.7&list=automated_cron%2Cblock%2Cblock_content%2Cbreakpoint%2Cckeditor%2Ccolor%2Ccomment%2Cconfig%2Ccontact%2Ccontextual%2Cdatetime%2Cdblog%2Cdynamic_page_cache%2Ceditor%2Cfield%2Cfield_ui%2Cfile%2Cfilter%2Chelp%2Chistory%2Cimage%2Clink%2Cmenu_link_content%2Cmenu_ui%2Cnode%2Coptions%2Cpage_cache%2Cpath%2Cquickedit%2Crdf%2Csearch%2Cshortcut%2Cstandard%2Csystem%2Ctaxonomy%2Ctext%2Ctoolbar%2Ctour%2Cupdate%2Cuser%2Cviews%2Cviews_ui%2Cstable%2Cbartik%2Cseven%2Cclassy', Array) (Line: 87)
GuzzleHttp\Client->__call('get', Array) (Line: 65)
Drupal\update\UpdateFetcher->fetchProjectData(Array, 'sMbmiei0HAVBa9TUtPGTQnY_kZwJIE2wWA4Kv0fbVyo') (Line: 160)
Drupal\update\UpdateProcessor->processFetchTask(Array) (Line: 131)
Drupal\update\UpdateProcessor->fetchData() (Line: 423)
update_fetch_data() (Line: 249)
update_cron()
call_user_func_array('update_cron', Array) (Line: 391)
Drupal\Core\Extension\ModuleHandler->invoke('update', 'cron') (Line: 223)
Drupal\Core\Cron->invokeCronHandlers() (Line: 122)
Drupal\Core\Cron->run() (Line: 75)
Drupal\Core\ProxyClass\Cron->run() (Line: 1778)
install_finished(Array) (Line: 662)
install_run_task(Array, Array) (Line: 540)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Unable to create temporary file. in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('get', Object, Array) (Line: 129)
GuzzleHttp\Client->request('get', 'http://updates.drupal.org/release-history/drupal/8.x?site_key=sMbmiei0HAVBa9TUtPGTQnY_kZwJIE2wWA4Kv0fbVyo&version=8.3.7&list=automated_cron%2Cblock%2Cblock_content%2Cbreakpoint%2Cckeditor%2Ccolor%2Ccomment%2Cconfig%2Ccontact%2Ccontextual%2Cdatetime%2Cdblog%2Cdynamic_page_cache%2Ceditor%2Cfield%2Cfield_ui%2Cfile%2Cfilter%2Chelp%2Chistory%2Cimage%2Clink%2Cmenu_link_content%2Cmenu_ui%2Cnode%2Coptions%2Cpage_cache%2Cpath%2Cquickedit%2Crdf%2Csearch%2Cshortcut%2Cstandard%2Csystem%2Ctaxonomy%2Ctext%2Ctoolbar%2Ctour%2Cupdate%2Cuser%2Cviews%2Cviews_ui%2Cstable%2Cbartik%2Cseven%2Cclassy', Array) (Line: 87)
GuzzleHttp\Client->__call('get', Array) (Line: 65)
Drupal\update\UpdateFetcher->fetchProjectData(Array, 'sMbmiei0HAVBa9TUtPGTQnY_kZwJIE2wWA4Kv0fbVyo') (Line: 160)
Drupal\update\UpdateProcessor->processFetchTask(Array) (Line: 131)
Drupal\update\UpdateProcessor->fetchData() (Line: 423)
update_fetch_data() (Line: 249)
update_cron()
call_user_func_array('update_cron', Array) (Line: 391)
Drupal\Core\Extension\ModuleHandler->invoke('update', 'cron') (Line: 223)
Drupal\Core\Cron->invokeCronHandlers() (Line: 122)
Drupal\Core\Cron->run() (Line: 75)
Drupal\Core\ProxyClass\Cron->run() (Line: 1778)
install_finished(Array) (Line: 662)
install_run_task(Array, Array) (Line: 540)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
The website encountered an unexpected error. Please try again later.
RuntimeException: Failed to start the session because headers have already been sent by "C:\inetpub\wwwroot\drupal-8.3.7\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php" at line 40. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 140 of vendor\symfony\http-foundation\Session\Storage\NativeSessionStorage.php).
Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (Line: 163)
Drupal\Core\Session\SessionManager->startNow() (Line: 234)
Drupal\Core\Session\SessionManager->regenerate(, NULL) (Line: 173)
Symfony\Component\HttpFoundation\Session\Session->migrate() (Line: 557)
user_login_finalize(Object) (Line: 1785)
install_finished(Array) (Line: 662)
install_run_task(Array, Array) (Line: 540)
install_run_tasks(Array) (Line: 117)
install_drupal(Object) (Line: 44)
我想知道怎么能打破它。当我试图删除该模块时,我安装了PHP Composer,GIT和drush(但它在某种程度上没有连接到Drupal所以不能正常工作)。我想其中一些打破了它。
答案 0 :(得分:0)
这看起来像缺少文件问题。
要安装基本的Drupal 8核心,我建议从drupal.org下载.zip或.gzip ,将其放在网站docroot中,然后在那里解压缩整个存档。这是确保部署所有文件的最安全的方法。
还要确保有足够的磁盘空间来提取Drupal 8核心软件包中的所有文件。
然后确保您的空SQL已准备就绪,然后运行{site} /install.php并在询问时输入数据库凭据。
-
此外,在安装Drupal之前,请确保您的服务器可以提供普通的index.html文件,该文件验证基本服务器是否正常工作。
-
安装完核心后,请务必安装一个漂亮的免费Drupal 8主题,如magazine_lite或showcase_lite,以便更好地了解Drupal8网站的外观。
答案 1 :(得分:0)
GuzzleHttp无法创建临时文件来存储会话
在php.ini文件中取消注释此ligne
; sys_temp_dir =“ / tmp”
只需删除行首的分号