php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67638 Unable to fetch php.net stylesheet
Submitted: 2014-07-17 08:22 UTC Modified: 2016-12-15 09:42 UTC
From: sobak@php.net Assigned: sobak (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
21 - 20 = ?
Subscribe to this entry?

 
 [2014-07-17 08:22 UTC] sobak@php.net
Description:
------------
During documentation build on my local machine I've encountered this error:

"[21:35:37 - Rendering Format      ] Starting PHP-Chunked-XHTML rendering    
[21:35:41 - E_WARNING            ] C:\WWW\xampp\htdocs\phd\phpdotnet\phd\Pac 
e\PHP\ChunkedXHTML.php:133                                                  
        file_get_contents(): php_network_getaddresses: getaddrinfo failed: 
[21:35:41 - E_WARNING            ] C:\WWW\xampp\htdocs\phd\phpdotnet\phd\Pac 
e\PHP\ChunkedXHTML.php:133                                                  
        file_get_contents(http://www.php.net/styles/theme-base.css): failed t 
pen stream: php_network_getaddresses: getaddrinfo failed                   
[21:35:41 - E_USER_WARNING        ] C:\WWW\xampp\htdocs\phd\phpdotnet\phd\Pac 
e\PHP\ChunkedXHTML.php:139                                                  
        Stylesheet http://www.php.net/styles/theme-base.css not fetched. Uses 
fault rendering style."

Strange thing for me - code like php -r "file_get_contents('http://www.php.net/styles/theme-base.css not fetched')" works fine.

I noticed that many logs in doc.php.net/logs directory also contain such errors, so I don't think that problem is on my side.

What causes this errors? DNS configuration on php.net? If yes, it means that this report is in wrong category, but I'm not sure so I filled it as PhD problem.

Regards.

Test script:
---------------
php render.php -d ../phpdoc/doc-base/.manual.xml -P PHP -f xhtml


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-15 09:42 UTC] sobak@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 20:01:29 2024 UTC