Home » Web Services » Services_Ebay » Bug #4779
Fatal error:
Details
| Submitted | 2005-07-10 05:45 UTC |
|---|---|
| From | eme at megacameras dot com |
| Status | Suspended |
| Package | Services_Ebay |
| PHP Version | 5.0.4 |
| OS | Windows 2003 |
| Roadmaps | (Not assigned) |
Comments
[2005-07-10 05:45 UTC] eme at megacameras dot com
Description:
------------
After downloading 0.12.0 the new version I am getting
This is my session.php file where the UTF-8 change was made
Can you please tell me what the problem could be.
Reproduce code:
---------------
$devId = 'XXXX'; //Test Developers ID
$appId = 'XXXX'; //Test Application Key
$certId = 'XXXX';
$username = 'XXXX';
$password = 'XXXX';
$token = 'XXXX';
$session = Services_Ebay::getSession($devId, $appId, $certId);
$session->setToken($token);
$session->setUrl(Services_Ebay_Session::URL_SANDBOX);
// create new proxy object
$ebay = new Services_Ebay($session);
// search eBay
$searchTerms = 'new ipod mini';
$items = $ebay->GetSearchResults($searchTerms);
// print the results
foreach ($items as $item) {
echo $item;
echo "<br />";
}
Expected result:
----------------
I am trying to get the search results.
Actual result:
--------------
-------------------------------- BOF
<br />
<b>Fatal error</b>: Uncaught <table border="1" cellspacing="0">
<tr><td colspan="3" bgcolor="#aaaaaa" align="center"><b>Exception trace</b></td></tr>
<tr><td align="center" bgcolor="#cccccc" width="20"><b>#</b></td><td align="center" bgcolor="#cccccc"><b>Function</b></td><td align="center" bgcolor="#cccccc"><b>Location</b></td></tr>
<tr><td align="center">0</td><td>Services_Ebay_Session::sendRequest()</td><td>C:\php\PEAR\Services\Ebay\Session.php:490</td></tr>
<tr><td align="center">1</td><td>Services_Ebay_Session->sendRequest('GetSearchResults', Array, 1, true)</td><td>C:\php\PEAR\Services\Ebay\Call.php:114</td></tr>
<tr><td align="center">2</td><td>Services_Ebay_Call_GetSearchResults->call(Object(Services_Ebay_Session))</td><td>C:\php\PEAR\Services\Ebay\Call\GetSearchResults.php:41</td></tr>
<tr><td align="center">3</td><td>Services_Ebay_Call_GetSearchResults->call(Object(Services_Ebay_Session))</td><td>C:\php\PEAR\Services\Ebay.php:379</td></tr>
<tr><td align="center">4</td><td>Services_Ebay->__call('GetSearchResults', Array) in <b>C:\php\PEAR\Services\Ebay\Session.php</b> on line <b>490</b><br />
----------------------------------EOF
[2005-08-22 22:00 UTC] xulchris at gmail dot com
I get the same error message on Fedora Linux.
[2005-09-02 19:56 UTC] james at ur dot com
I am getting the exact same error with the same version on Linux. PHP 5.0.4, Services_Ebay 0.12.0