Giter Club home page Giter Club logo

Comments (5)

zzjzz9266a avatar zzjzz9266a commented on August 16, 2024

参照#7 ,加sudo

from 91porn_php.

justwjx avatar justwjx commented on August 16, 2024

参照#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.

zzjzz9266a avatar zzjzz9266a commented on August 16, 2024

目测是因为你那过不了墙,拿不到内容导致的,你在翻墙环境下试试看

from 91porn_php.

justwjx avatar justwjx commented on August 16, 2024

目测是因为你那过不了墙,拿不到内容导致的,你在翻墙环境下试试看

不是被墙的原因,我已经挂了代理,可以正常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.

zzjzz9266a avatar zzjzz9266a commented on August 16, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.