Comments (5)
参照#7 ,加sudo
from 91porn_php.
参照#7 ,加sudo
还是一样的错误,我的是群晖Docker环境下的CentOS,和你给的链接还有些区别。
[root@centos1 /]# cd /etc/91porn_php
bash: cd: /etc/91porn_php: No such file or directory
[root@centos1 /]# ls
91porn_php bin etc lib media opt root sbin sys usr
anaconda-post.log dev home lib64 mnt proc run srv tmp var
[root@centos1 /]# cd /91porn_php
[root@centos1 91porn_php]# sudo php 91porn.php
PHP Notice: Undefined offset: 1 in /91porn_php/detailPage.php on line 15
PHP Warning: file_get_contents(http://91porn.com/index.php): failed to open stream: HTTP reques
t failed! in /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 349
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not load file http:/
/91porn.com/index.php' in /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:358
Stack trace:
#0 /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(241): DiDom\Document->loadFile('
http://91porn.c...')
#1 /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http:
//91porn.c...', true, 'html')
#2 /91porn_php/91porn.php(12): DiDom\Document->__construct('http://91porn.c...', true, 'User-Age
nt:Mozi...')
#3 /91porn_php/91porn.php(24): listPage()
#4 {main}
thrown in /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 358
from 91porn_php.
目测是因为你那过不了墙,拿不到内容导致的,你在翻墙环境下试试看
from 91porn_php.
目测是因为你那过不了墙,拿不到内容导致的,你在翻墙环境下试试看
不是被墙的原因,我已经挂了代理,可以正常ping通
[root@centos1 /]# ping 91porn.com
PING 91porn.com (104.27.133.103) 56(84) bytes of data.
64 bytes from 104.27.133.103 (104.27.133.103): icmp_seq=1 ttl=54 time=153 ms
64 bytes from 104.27.133.103 (104.27.133.103): icmp_seq=2 ttl=54 time=152 ms
64 bytes from 104.27.133.103 (104.27.133.103): icmp_seq=3 ttl=54 time=152 ms
64 bytes from 104.27.133.103 (104.27.133.103): icmp_seq=4 ttl=54 time=152 ms
64 bytes from 104.27.133.103 (104.27.133.103): icmp_seq=5 ttl=54 time=152 ms
^C
--- 91porn.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 152.182/152.433/153.085/0.330 ms
[root@centos1 /]# cd /91porn_php
[root@centos1 91porn_php]# sudo php 91porn.php
PHP Notice: Undefined offset: 1 in /91porn_php/detailPage.php on line 15
PHP Warning: file_get_contents(http://91porn.com/index.php): failed to open stream: HTTP reques
t failed! in /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 349
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not load file http:/
/91porn.com/index.php' in /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:358
Stack trace:
#0 /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(241): DiDom\Document->loadFile('
http://91porn.c...')
#1 /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http:
//91porn.c...', true, 'html')
#2 /91porn_php/91porn.php(12): DiDom\Document->__construct('http://91porn.c...', true, 'User-Age
nt:Mozi...')
#3 /91porn_php/91porn.php(24): listPage()
#4 {main}
thrown in /91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 358
from 91porn_php.
root@ZhijieCloud:/volume1/downloads/91porn_php# ping 91porn.com
PING 91porn.com (104.27.132.103) 56(84) bytes of data.
64 bytes from 104.27.132.103: icmp_seq=1 ttl=51 time=182 ms
64 bytes from 104.27.132.103: icmp_seq=2 ttl=51 time=182 ms
64 bytes from 104.27.132.103: icmp_seq=3 ttl=51 time=182 ms
64 bytes from 104.27.132.103: icmp_seq=4 ttl=51 time=182 ms
64 bytes from 104.27.132.103: icmp_seq=5 ttl=51 time=182 ms
64 bytes from 104.27.132.103: icmp_seq=6 ttl=51 time=183 ms
^C
--- 91porn.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5770ms
rtt min/avg/max/mdev = 182.024/182.424/183.050/0.670 ms
root@ZhijieCloud:/volume1/downloads/91porn_php# php 91porn.php
PHP Warning: file_get_contents(http://91porn.com/index.php): failed to open stream: HTTP request failed! in /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 349
Warning: file_get_contents(http://91porn.com/index.php): failed to open stream: HTTP request failed! in /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 349
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not load file http://91porn.com/index.php' in /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:358
Stack trace:
#0 /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(241): DiDom\Document->loadFile('http://91porn.c...')
#1 /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html')
#2 /volume1/downloads/91porn_php/91porn.php(21): DiDom\Document->__construct('http://91porn.c...', true, 'User-Agent:Mozi...')
#3 /volume1/downloads/91porn_php/91porn.php(33): listPage()
#4 {main}
thrown in /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 358
Fatal error: Uncaught exception 'RuntimeException' with message 'Could not load file http://91porn.com/index.php' in /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:358
Stack trace:
#0 /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(241): DiDom\Document->loadFile('http://91porn.c...')
#1 /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load('http://91porn.c...', true, 'html')
#2 /volume1/downloads/91porn_php/91porn.php(21): DiDom\Document->__construct('http://91porn.c...', true, 'User-Agent:Mozi...')
#3 /volume1/downloads/91porn_php/91porn.php(33): listPage()
#4 {main}
thrown in /volume1/downloads/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php on line 358
root@ZhijieCloud:/volume1/downloads/91porn_php#
亲测就是没过墙,我是在路由器上开了ss,并且把91porn.com加了黑名单
from 91porn_php.
Related Issues (20)
- 麻烦大佬看看这个报错 HOT 3
- 更新了,执行php,提示报错。 HOT 2
- 麻烦大佬看下错误提示 HOT 1
- 大佬 这个报错怎么回事,麻烦看一下啊!! HOT 6
- 大佬今天刚拉的代码,帮我看看哪里出了问题 HOT 2
- 群晖docker 里面下载只能下载几条视频后面就下载不起来了。 HOT 4
- 下载单个视频文件的文件名
- 运行docker容器命令,报错
- 出错了。。 HOT 2
- 有验证的代理服务器 应该如何配置呢 HOT 1
- node运行md5.js时报错 HOT 1
- 现在91好像改了,解析出来放不了 HOT 2
- 解析出来的地址都是404 HOT 1
- 更新程序后,下载有限制
- 这个还能用吗
- 爬虫在白天用不了
- Porn
- 报错求救
- V
- 下载了没有用呀
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 91porn_php.