d'erreur de l'analyseur : balise de Début prévue, '<' non trouvé

J'utilise PHP pour la première fois. Je suis en utilisant le php de l'échantillon pour le téléchargement de l'image sur ebay bac à sable. J'obtiens l'erreur suivante sur l'exécution du fichier PHP:

PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 69
PHP Warning:  simplexml_load_string(): HTTP/1.1 200 OK in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 69
PHP Warning:  simplexml_load_string(): ^ in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 69
PHP Notice:  Trying to get property of non-object in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 92
PHP Notice:  Trying to get property of non-object in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 93
PHP Notice:  Trying to get property of non-object in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 93
PHP Notice:  Trying to get property of non-object in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 94
PHP Notice:  Trying to get property of non-object in /home/nish/stuff/market place/test/php5/UploadImage/UploadSiteHostedPictures.php on line 94

Lignes correspondantes sont:

69. $respXmlObj = simplexml_load_string($respXmlStr);     //create SimpleXML object from string for easier parsing
                                                      //need SimpleXML library loaded for this

92. $ack        = $respXmlObj->Ack;
93. $picNameOut = $respXmlObj->SiteHostedPictureDetails->PictureName;
94. $picURL     = $respXmlObj->SiteHostedPictureDetails->FullURL;

Ce que je peux comprendre, c'est la respXMLObj n'est pas configuré correctement. J'ai vérifié que le simleXML est activée.

Quelqu'un pourrait-il svp m'aider à déboguer. Grâce

Le $respXmlStr est titulaire d'un fichier XML non valide.
Pouvez-vous montrer votre XML? Ressemble un invalide avec manquant "<" au début.
Je suis le XML comme une réponse à une requête http
oui, mais à vous de mettre les premières répondre (y compris les en-têtes HTTP) dans l'analyseur XML. N'utilisez pas de prise, mais un client HTTP à la place.
Sa chaîne commence par "HTTP/1.1 200 OK" apparemment.

OriginalL'auteur nish | 2013-12-06