V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  programV2  ›  全部回复第 66 页 / 共 77 页
回复总数  1525
1 ... 62  63  64  65  66  67  68  69  70  71 ... 77  
我可能没表达清楚:  之前用 GHOST 把笔记本 win7 系统备份做成GHO文件, 现在那台笔记本主板坏了,所以想在虚拟机里把这个GHO系统还原跑起来, 不知道有没有可行的方案, 谢谢!
@merryfreespace when i ran command to show database, it looks like :
| information_schema |
| drupal |
+--------------------+
2 rows in set
@merryfreespace thank you for your help. in this case i would like to disable captcha module manually in the database, reCaptcha has blocked me out of admin panel of my website, now i have access to my server and database thru SSH, when i ran command:
UPDATE system SET status = 0 WHERE name = "recaptcha";

Seeing an error
“ERROR 1146 (42S02): Table 'drupal.system' doesn't exist,


When i ran the following command to show table , i can not find the table named "system" of 131 rows in set:
select table_name from information_schema.tables where table_schema='drupal' and table_type='base table';

So wondering if I use the right table name? how to find the exact system table name to disable captcha module in Drupal ? my Drupal version is 8.5.5 Thank you very much.
@sleepm 查看文档也是用 UPDATE system SET status = 0 WHERE name = "recaptcha"; 不知道为什么提示表名不存在? system table 有不同的名称?
@sleepm 确认已经有把数据库恢复回去了,不然网站上内容都会是空的,现在是由于这个 recaptcha +忘了后台密码就进不了后台的
@sleepm 请问 Drupal 关闭 recaptcha 模块是在 System 这个表吗?如何查看在哪个 table 关闭 recaptcha 模块?
@sleepm 谢谢 V 友指点, 但我执行了 mysql -u user -p drupal 已经选中了数据库呀

我第一次接触 Drupal 并且官方文档没有 docker 内容,网上关于这个的内容也很少,找不到一个可以参考的,
谢谢 V 友们, @gefranks @manami @sleepm 虽然我重新搭建导入数据库后网站可以打开, 但由于原来老网站开启了 reCAPTCHA 模块, 旧域名弃用了, 现在进不了后台了, 连后台密码也忘记了, 我访问容器登陆数据库尝试关闭模块, 执行 UPDATE system SET status = 0 WHERE name = "recaptcha"; 出现如下错误 :

ERROR 1146 (42S02): Table 'drupal.system' doesn't exist,

我的数据库名 是 drupal , 是我这个命令写错了吗?

另外请教 V 友们 你们是如何在 docker 上安装 drush 的, 谢谢!
@manami 谢谢. 相关目录及文件权限都给了, 也重启了好几次,
@sleepm 谢谢. 浏览器报错如下, 一会我把日志贴上来,

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.
2020-01-19 14:29:35 +08:00
回复了 programV2 创建的主题 问与答 Putty 在连接断开时重新连接的快捷键?
@Oa 请问 V 友你说的是 SecureCRT? 还是其他客户端?? 谢谢
@Tumblr 请问 V 友找到理想的全文检索工具了吗? 发现 windows 自带的检索有时候搜索会遗漏

@ddup V 友,感谢您的工具, 请问您的归海数据跟 everything 和 AnyTXT Searcher 及楼上提到的几个工具在全文搜索方面哪个更准确? 我硬盘空间大, 不担心臃肿,检索速度慢也没关系, 我主要是看重全文搜索方面的精确度, 我的需求是不要遗漏搜索结果
@PerFectTime 谢谢 V 友的分享, 请问有没有靠谱的香港持牌秘书公司推荐?
2020-01-18 22:32:09 +08:00
回复了 programV2 创建的主题 问与答 Putty 在连接断开时重新连接的快捷键?
@CHANGEX929 谢谢 V 友, 我试了下不行, 只要在 putty 输入界面上右击就行了吗? 谢谢!!
@saeed 我修改完 后重新启动容器, 浏览器输入域名出现

An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.
2020-01-18 14:35:10 +08:00
回复了 xatest 创建的主题 推广 本码农给老婆的钻戒/珠宝店做下推广,给 V 友们抽几个奖~
分了 子
@saeed 我在 dns 记录里把 www.example.com 做的 cname 指向 example.com, 这里只要写一条记录就可以了吗? 再次谢谢

$settings['trusted_host_patterns'] = array(
'^example\.com$',
);
@saeed 谢谢 V 友, 请问我不是在本地安装, 是在 VPS 上, 这个 trusted_host_patterns 是写服务器 IP 还是绑定的域名?
2020-01-17 17:32:49 +08:00
回复了 programV2 创建的主题 程序员 docker 环境变量.env 文件中多个端口如何配置
@iamwho 就是说要用不同变量名称? 那我改成 NGINX_PORTA 和 NGINX_PORTB 可以吗?
NGINX_PORTA=80:80

NGINX_PORTB=443:443
2020-01-17 17:06:29 +08:00
回复了 programV2 创建的主题 程序员 docker 环境变量.env 文件中多个端口如何配置
@biello 谢谢指点, 那可以同时有两个相同变量名称吗? 比如我上例中写的
NGINX_PORT=80:80

NGINX_PORT=443:443

这样可以吗?
1 ... 62  63  64  65  66  67  68  69  70  71 ... 77  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5099 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 08:21 · PVG 16:21 · LAX 01:21 · JFK 04:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.