Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer Loop "I don't speak chinese sorry" #6

Open
OzzyHelix opened this issue Nov 24, 2018 · 3 comments
Open

Installer Loop "I don't speak chinese sorry" #6

OzzyHelix opened this issue Nov 24, 2018 · 3 comments

Comments

@OzzyHelix
Copy link

首先,你好,请原谅我,我只会说英语,我正在使用谷歌翻译

错误的简要描述
安装程序出现问题,它会循环并显示“数据库地址无效!” 在安装程序的第3步中

如何重现
以下是如何重现它:
1.填写安装程序信息数据库用户名等。
2.单击下一步
3.首先得到一个空白屏幕
4.有时firefox有重发请求,有时候一个框说“数据库地址无效!”

你的期望
要解决的问题是让其他人没有这个问题。

****截图
image
image
image

操作系统(您使用的操作系统):

  • 客户端系统:Windows 10
  • 服务器系统:CentOS 7
  • 客户端浏览器:Firefox Developer
  • 浏览器版本:[64.0b11]

其他内容
这是一个数据库问题,我将非常感激,我再次使用谷歌翻译道歉

@kasuganosoras
Copy link
Member

kasuganosoras commented Nov 24, 2018

Hello, what is the database address you filled in?
Also You can try the "localhost" or "127.0.0.1"

if you use the browser translate tool, please disable it before submit.
Because the translate may changed the tag id or other things.

@OzzyHelix
Copy link
Author

I'm sorry mine was filled out with localhost

@kasuganosoras
Copy link
Member

kasuganosoras commented Dec 14, 2018

try to use the database address 127.0.0.1
if the problems still happend, you can try to comment the code in install/index.php
From line 20 to 23.

if(!preg_match("/^[A-Za-z0-9\-\_\.]+$/", $db_host)) {
    echo "<script>alert('数据库地址不合法!');location='?step=2';</script>";
    exit;
}

modify it to

/*if(!preg_match("/^[A-Za-z0-9\-\_\.]+$/", $db_host)) {
    echo "<script>alert('数据库地址不合法!');location='?step=2';</script>";
    exit;
}*/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants