Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you try to check the updates and you have a connectivity problem or the drupal server is down you receive a large warning list without any explication.
Maybe should be easy to show a simple message like: "Impossible to connect to the update server" than this warnings list:
Failed to get available update data for one project.
Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Space required after the Public Identifier in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : SystemLiteral " or ' expected in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 3: parser error : AttValue: " or ' expected in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 3: parser error : attributes construct error in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 3: parser error : Couldn't find end of Start Tag META line 3 in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : AttValue: " or ' expected in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): A { in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : attributes construct error in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): A { in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : Couldn't find end of Start Tag STYLE line 4 in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): A { in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 37: parser error : Opening and ending tag mismatch: HEAD line 2 and STYLE in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 38: parser error : AttValue: " or ' expected in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 38: parser error : attributes construct error in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 38: parser error : Couldn't find end of Start Tag META line 38 in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 38: parser error : Opening and ending tag mismatch: HTML line 2 and HEAD in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): Entity: line 39: parser error : Extra content at the end of the document in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Warning: SimpleXMLElement::__construct(): ^ in update_parse_xml() (line 352 of C:\AppServ\www\drupal7\modules\update\update.fetch.inc).
Comments
Comment #1
Josh The Geek CreditAttribution: Josh The Geek commentedThis should be major . (See http://drupal.org/node/45111)
Comment #2
oriol_e9gThe try catch structure is not working fine
This solve the problem in my case
Comment #3
catchDuplicate of #565288: cannot install Drupal when Drupal.org is 503 (at Drupalcon!).