1. under #eBay Class change: var $redirect_url = "auction.php?eb="; to: var $redirect_url = "ebay/auction.php?eb="; 2. under # default ebay search variables change: var $eb_template = "template.ebay.results.html"; to: var $eb_template = "ebay/template.ebay.results.html"; NOTE-> 1&2 ABOVE ASSUME YOU HAVE PLACED EBAY.PHP AND TEMPLATE.EBAY.RESULTS.HTML IN A FOLDER CALLED "EBAY" AS DESCRIBED IN THE TUTORIAL. UPDATE AS NECESSARY IF YOU HAVE THESE IN ANOTHER LOCATION. 3. Hard key the following variables under #assign variables...i tested on ebay partner network, so these are my current settings: change: $this->eb_saaff = $aff_type; to: $this->eb_saaff = "afepn"; change: $this->eb_pid = $ebay_pid; to: $this->eb_pid = "0123456789"; change: $this->eb_cid = urlencode($ebay_cid); to: $this->eb_cid = urlencode("Default campaign"); NoTE-> if you are using a campaign cid, you can add it in place of Default campaign above ...such as $this->eb_cid = urlencode("1234567890"); 4. Remove the following code: # some error trapping before we query ebay if ($this->eb_saaff == "") {echo "Set the affiliate type variable in ebay.php"; exit;} if ($this->eb_pid == "") {echo "Set the affiliate id variable in ebay.php"; exit;} error_reporting(0); 5. Change the following getTemplate() code: change: function getTemplate() { $ch = curl_init($this->site_url . $this->eb_template); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $xml = curl_exec($ch); curl_close($ch); $html = $xml; $this->template = $html; } to: function getTemplate() { $html = file_get_contents($this->site_url . $this->eb_template); # if the file_get_contents() function fails, then try curl # some shared hosts prevent the use of file() for security reasons if ($html == false) { $ch = curl_init($this->site_url . $this->eb_template); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $xml = curl_exec($ch); curl_close($ch); $html = $xml; } $this->template = $html; } 6. Remove the if() wrapper from this section: change: if ($this->eb_saaff == "afepn") { $url .= "customid=" . $this->eb_cid . "&"; } to: $url .= "customid=" . $this->eb_cid . "&"; 7. Force curl instead of using file() change: $fp = file($xml_file); # if the file() function fails, then try curl # some shared hosts prevent the use of file() for security reasons if ($fp == false) { $ch = curl_init($xml_file); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $xml = curl_exec($ch); curl_close($ch); $fp = explode("\n", $xml); } to: $ch = curl_init($xml_file); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $xml = curl_exec($ch); curl_close($ch); $fp = explode("\n", $xml);