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

配置好环境之后,访问主页报错 #2

Open
qian-xiang opened this issue Aug 22, 2019 · 4 comments
Open

配置好环境之后,访问主页报错 #2

qian-xiang opened this issue Aug 22, 2019 · 4 comments

Comments

@qian-xiang
Copy link

错误展示:
image

定位的index.php位置:
image

nginx error.log

image

环境:docker php + nginx + mysql5.7

已安装扩展

image

@qian-xiang
Copy link
Author

对了,php版本是7.3.5

@qian-xiang
Copy link
Author

打印了下这个变量,发现是空数组
image

@luzeming0211
Copy link

同样的问题

@QinhaoXie
Copy link

打印了下这个变量,发现是空数组 image

/moeins/app/Http/Controllers/IndexController.php

在这个文件的index()函数里可以看到,$slider是从www.360kan.com爬取的资源,应该是目标网站改版,爬取失败了

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

3 participants