how to remove this warning

N1ke

New Member
UpSmH.jpg
When I search the item it shows parse error and giving the warning.how to remove this warning.When I search the item it shows parse error and giving the warning.how to remove this warning.How to get rid of this warning & error ?\[code\]Warning: simplexml_load_file() [<a href='http://stackoverflow.com/questions/15516626/function.simplexml-load-file'>function.simplexml-load-file</a>]: http://svcs.sandbox.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SERVICE-VERSION=1.8.0&GLOBAL-ID=EBAY-US&SECURITY-APPNAME=arifliaq-093e-43f2-a6ac-1e8ce8da2625&keywords=110114826574&paginationInput.entriesPerPage=1&outputSelector=SellerInfo:1: parser error : Opening and ending tag mismatch: link line 1 and head in C:\wamp\www\PHP_PlaceOfferGS_TradingShopping\Browsing.php on line 39"\[/code\]Code:\[code\]<?phprequire_once('./sessionHeader.php');require_once('./SingleItem.php');require_once('./keys.php');error_reporting(E_ALL); // useful to see all notices in development?><HTML><HEAD><TITLE>Browsing on eBay</TITLE><link rel="stylesheet" type="text/css" href="http://stackoverflow.com/questions/15516626/style.css" /><script type="text/javascript" src="http://stackoverflow.com/questions/15516626/js/JQuery.js"></script><script type="text/javascript" src="http://stackoverflow.com/questions/15516626/js/ShowDetails.js"></script></HEAD><BODY><H1>Browsing on eBay</H1><br><?phpglobal $shoppingURL,$appID,$eBayVersion,$findingURL,$compatabilityLevel, $findingVer; // these come from keys.php//need to urlencode the user-input keyword for the Finding API$safeQuery = urlencode($_POST['QueryString']);//construct the URL; we want to get only one returned item to keep things simple so set entriesPerPage to 1// (by default, only one page is returned)$apicall = "$findingURL?OPERATION-NAME=findItemsAdvanced&SERVICE-VERSION=$findingVer" . "&GLOBAL-ID=EBAY-US" . "&SECURITY-APPNAME=$appID" . "&keywords=$safeQuery" . "&paginationInput.entriesPerPage=1" . "&outputSelector=SellerInfo";if ($debug) { print"<p>$apicall</p>"; //see what call is if we're debugging-$debug comes from keys.php } // Load the call and capture the document returned by the Finding API $resp = simplexml_load_file($apicall);// Check to see if the response was loaded, else print an errorif ($resp) {$results = '';if ($resp->paginationOutput->totalEntries == 0) { $results .= "<BR>Sorry, there were no results found\n";} else { $results .= "<DIV ALIGN=CENTER> \n"; // If the response was loaded, parse it and build links // To keep things simple, we're showing only the first returned item; foreach($resp->searchResult->item as $item) { $browseItem = new SingleItem($resp->searchResult->item->itemId); $results .= $browseItem->getBrowseItemAsHTML_Table(); $results .= "<form name=\"BidOrBuyIt\" method=\"post\" action=\"./Login.php\" >\n"; $results .= "<INPUT TYPE=\"submit\" NAME=\"BidOrBuyIt\" VALUE=http://stackoverflow.com/"Bid or Buy It!\"> </form>\n"; $_SESSION['ItemID'] = (string)$browseItem->resp->Item->ItemID; // cast to string to keep in $_SESSION } // for each $results .= "</DIV> \n";}} else {$results = "<BR>Sorry, did not receive a search result\n";} // if $respprint $results;?></BODY></HTML>![warning][1]\[/code\]SimpleXMLElement Object ( [ack] => Success [version] => 1.12.0 [timestamp] => 2013-03-20T06:58:06.486Z [searchResult] => SimpleXMLElement Object ( [@attributes] => Array ( [count] => 1 ) [item] => SimpleXMLElement Object ( [itemId] => 110114803281 [title] => Leather Shoes [globalId] => EBAY-US [primaryCategory] => SimpleXMLElement Object ( [categoryId] => 377 [categoryName] => Fiction & Literature ) [viewItemURL] => http://www.sandbox.ebay.com/itm/Leather-Shoes-/110114803281?pt=US_Fiction_Books [paymentMethod] => PayPal [autoPay] => false [postalCode] => 95125 [location] => San Jose,CA,USA [country] => US [sellerInfo] => SimpleXMLElement Object ( [feedbackScore] => 0 [positiveFeedbackPercent] => 0.0 [feedbackRatingStar] => None [topRatedSeller] => false ) [shippingInfo] => SimpleXMLElement Object ( [shippingServiceCost] => 2.5 [shippingType] => Flat [shipToLocations] => US [expeditedShipping] => false [oneDayShippingAvailable] => false [handlingTime] => 3 ) [sellingStatus] => SimpleXMLElement Object ( [currentPrice] => 1.0 [convertedCurrentPrice] => 1.0 [bidCount] => 0 [sellingState] => Active [timeLeft] => P3DT6H42M8S ) [listingInfo] => SimpleXMLElement Object ( [bestOfferEnabled] => false [buyItNowAvailable] => false [startTime] => 2013-03-16T13:40:14.000Z [endTime] => 2013-03-23T13:40:14.000Z [listingType] => Auction [gift] => false ) [returnsAccepted] => true [condition] => SimpleXMLElement Object ( [conditionId] => 2750 [conditionDisplayName] => Like New ) [isMultiVariationListing] => false [topRatedListing] => false ) ) [paginationOutput] => SimpleXMLElement Object ( [totalPages] => 1 [totalEntries] => 1 [pageNumber] => 1 [entriesPerPage] => 1 ) [itemSearchURL] => http://www.sandbox.ebay.com/sch/i.html?_nkw=110114803281&_ddo=1&_ipg=1&_os=S|D&_pgn=1 )
 
Back
Top