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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sobak@php.net
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 00:01:41 2024 UTC