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

搭建完成后访问 91porn.php显示500错误 #1

Closed
rainlgtao opened this issue Jul 3, 2018 · 2 comments
Closed

搭建完成后访问 91porn.php显示500错误 #1

rainlgtao opened this issue Jul 3, 2018 · 2 comments

Comments

@rainlgtao
Copy link

搭建完成后访问 91porn.php显示500错误;
访问91all.php 显示如下:
http://91porn.com/v.php?category=top&viewtype=basic&page=1 exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0 /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html') #1 /home/wwwroot/91porn/91all.php(29): DiDom\Document->__construct('http://91porn.c...', true, 'Accept-Language...') #2 /home/wwwroot/91porn/91all.php(48): listPage('http://91porn.c...') #3 {main} http://91porn.com/v.php?category=top&viewtype=basic&page=1&page=2 exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0 /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html') #1 /home/wwwroot/91porn/91all.php(29): DiDom\Document->__construct('http://91porn.c...', true, 'Accept-Language...') #2 /home/wwwroot/91porn/91all.php(48): listPage('http://91porn.c...') #3 {main} http://91porn.com/v.php?category=top&viewtype=basic&page=1&page=2&page=3 exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0 /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html') #1 /home/wwwroot/91porn/91all.php(29): DiDom\Document->__construct('http://91porn.c...', true, 'Accept-Language...') #2 /home/wwwroot/91porn/91all.php(48): listPage('http://91porn.c...') #3 {main} http://91porn.com/v.php?category=top&viewtype=basic&page=1&page=2&page=3&page=4 exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0 /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html') #1 /home/wwwroot/91porn/91all.php(29): DiDom\Document->__construct('http://91porn.c...', true, 'Accept-Language...') #2 /home/wwwroot/91porn/91all.php(48): listPage('http://91porn.c...') #3 {main} http://91porn.com/v.php?category=top&viewtype=basic&page=1&page=2&page=3&page=4&page=5 exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0 /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html') #1 /home/wwwroot/91porn/91all.php(29): DiDom\Document->__construct('http://91porn.c...', true, 'Accept-Language...') #2 /home/wwwroot/91porn/91all.php(48): listPage('http://91porn.c...') #3 {main} http://91porn.com/v.php?category=top&viewtype=basic&page=1&page=2&page=3&page=4&page=5&page=6 exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /home/wwwroot/91porn/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0

请问是哪的原因,谢谢

@rainlgtao
Copy link
Author

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'DiDom\Document::load expects parameter 4 to be integer, string given' in /www/wwwroot/vendor/imangazaliev/didom/src/DiDom/Document.php:235 Stack trace: #0 /www/wwwroot/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html') #1 /www/wwwroot/91porn.php(21): DiDom\Document->__construct('http://91porn.c...', true, 'User-Agent:Mozi...') #2 /www/wwwroot/91porn.php(33): listPage() #3 {main} thrown in /www/wwwroot/vendor/imangazaliev/didom/src/DiDom/Document.php on line 235

@zzjzz9266a
Copy link
Owner

已解决,请更新到最新~~

@zzjzz9266a zzjzz9266a reopened this Jul 5, 2018
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