跳转到主要内容
你行网

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

 

  • 登录或注册以发表评论

文章标签

  • drush

评论

文章标签

CSS
Excel
ubuntu
php
vim
五笔
Linux
VPN
command
HTML
drupal 8
drupal 7
centos
composer
Mysql
drush
模块(module)
Drupal
JavaSrcipt
apache
drupal 9
英语
nerdtree
SEO
network
果树种植
surround
drupal10
主题(theme)
ssh
phpmyadmin
yum
二进制
权限
声音
ssl
selinux
HTML5
WireGuard
password
Dreamweaver
DDEV
flameshot
翻译
颜色
uploadprogress
firewalld
kernel
邮件验证
视图(views)
快捷键
gzip
xdebug
错误
电脑基础
ckeditor
C语言
简介
源地址
mbstring
certbot
php扩展
git
csharp
httpd
apt
电子秤
压缩解压
breadcrumb
表单
短信验证
AI
firmware
摄影
diff
superfish
重定向
drupal 11
网站备份
docker
版本号
tagclouds
java
RSS
adsense
电脑技巧
端口
KVM
simple_adsense
算法
youtube
JavaScript
cookie
badblocks
网站运营
计算机基础
RFID
zip
dns
标签优化
VUE
gimp
form
mod_expires 模块
赚钱
ip
http验证
curl
重定向,301
netstat
字段
maven
input
nginx
哈希值
npm
wps
更多

相关文章

  • drush 命令中文对照表
  • drush 10 详细安装教程
  • Drupal 9 使用composer 和drush更新核心和模块
  • 使用 whereis drush 查看drush 安装路径
  • drush 11启用和禁止drupal9维护模式
  • Ubuntu 20.04.2 LTS 使用composer安装 drush 教程
  • centos 7 阿里云基础服务器安装 composer 和 drush
  • composer 安装drush 教程
  • drush 命令中英文对照使用说明
  • drush 命令帮助
RSS源

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

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