跳转到主要内容
你行网

Main navigation

  • 首页
  • Drupal
  • 编程与开发
  • 数据库
  • 操作系统与应用
  • 服务器与运维
  • 社区
User account menu
  • 登录

面包屑

  1. 首页

在运行drush 命令时出现错误

由 hrs, 3 十月, 2020

我在给drupal 进行维护时,输入drush sset system.maintenance.mode 0 时出现下列错误。

sh: module:行1: 语法错误: 未预期的文件结尾
sh: `BASH_FUNC_module' 函数定义导入错误
 

检查之后 ,原来是我把drush sset system.maintenance_mode 0  下面的_ 号输成. 号了。

之后每次输入drush 命令都会出现上面的错误。

解决办法是输入下列命令即可。

unset module

 

  • 登录或注册以发表评论
内容类型分类
操作系统与运用
文章归类
Linux

文章标签

  • drush

评论

文章标签

Excel
CSS
ubuntu
php
vim
五笔
VPN
Linux
command
HTML
drupal 8
drupal 7
centos
composer
Mysql
模块(module)
drush
Drupal
JavaSrcipt
apache
英语
drupal 9
nerdtree
荔壳风
network
果树种植
surround
drupal10
SEO
主题(theme)
更多

相关文章

  • linux-firmware 是什么,有哪些作用?
  • journalctl 的使用和简介
  • linux 网络检查命令
  • drush 命令中文对照表
  • 在drupal 使用composer一次性安装多个模块
  • composer update 命令的参数列表
  • Composer 的常用命令
  • diff 是什么?
  • 如何在 CentOS 7 上使用 Certbot 独立模式检索 Let's Encrypt SSL 证书
  • certbot 安装免费ssl 证书
RSS源

友情链接 网站地图 版权信息 联系我们 网址导航 社区

Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号