There was an error with your request or the service is unavailable.
SoapFault Object
(
[message:protected] => Not Authenticated: 0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859
[string:private] =>
[code:protected] => 0
[file:protected] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code
[line:protected] => 133
[trace:private] => Array
(
[0] => Array
(
[function] => __call
[class] => SoapClient
[type] => ->
[args] => Array
(
[0] => search
[1] => Array
(
[0] => Array
(
[developerKey] => 0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859
[websiteId] => 3130572
[advertiserIds] => joined
[keywords] => laptop+computer
[serviceableArea] =>
[upc] =>
[manufacturerName] =>
[manufacturerSku] =>
[advertiserSku] =>
[lowPrice] =>
[highPrice] =>
[lowSalePrice] =>
[highSalePrice] =>
[currency] =>
[isbn] =>
[sortBy] => price
[sortOrder] => asc
[startAt] => 0
[maxResults] => 10
)
)
)
)
[1] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code
[line] => 133
[function] => search
[class] => SoapClient
[type] => ->
[args] => Array
(
[0] => Array
(
[developerKey] => 0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859
[websiteId] => 3130572
[advertiserIds] => joined
[keywords] => laptop+computer
[serviceableArea] =>
[upc] =>
[manufacturerName] =>
[manufacturerSku] =>
[advertiserSku] =>
[lowPrice] =>
[highPrice] =>
[lowSalePrice] =>
[highSalePrice] =>
[currency] =>
[isbn] =>
[sortBy] => price
[sortOrder] => asc
[startAt] => 0
[maxResults] => 10
)
)
)
[2] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code
[line] => 91
[function] => fun_prod
[args] => Array
(
[0] => Array
(
[developerKey] => 0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859
[websiteId] => 3130572
[advertiserIds] => joined
[keywords] => laptop+computer
[serviceableArea] =>
[upc] =>
[manufacturerName] =>
[manufacturerSku] =>
[advertiserSku] =>
[lowPrice] =>
[highPrice] =>
[lowSalePrice] =>
[highSalePrice] =>
[currency] =>
[isbn] =>
[sortBy] => price
[sortOrder] => asc
[startAt] => 0
[maxResults] => 10
)
[1] => laptop+computer
)
)
[3] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/plugins/exec-php/includes/runtime.php
[line] => 42
[function] => eval
)
[4] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/plugins/exec-php/includes/runtime.php
[line] => 62
[function] => eval_php
[class] => ExecPhp_Runtime
[type] => ->
[args] => Array
(
[0] =>
$ini = ini_set("soap.wsdl_cache_enabled","0");
try{
$developerKey="0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859";
$keywords="laptop+computer";
$webid=3130572;
$adsid="joined";
$param=array(
"developerKey" =>$developerKey,
"websiteId" =>$webid,
"advertiserIds" =>$adsid,
"keywords" => $keywords,
"serviceableArea" => '',
"upc" => '',
"manufacturerName" => '',
"manufacturerSku" => '',
"advertiserSku" => '',
"lowPrice" => '',
"highPrice" => '',
"lowSalePrice" => '',
"highSalePrice" => '',
"currency" => '',
"isbn" => '',
"sortBy" => 'price',
"sortOrder" => 'asc',
"startAt" => 0,
"maxResults" => 10
);
$sitepath="/home1/howtoea4/public_html/comparelaptop/blog/";
$yest= mktime(0,0,0,date("m"),date("d")-1,date("Y"));
$todayfile=$sitepath.date("Ymd").".txt";
$filename=$sitepath.date("Ymd", $yest).".txt";
$permission=@chmod($todayfile,0777);
unlink($todayfile);
if(file_exists($filename))
{
unlink($filename);
}
if(!file_exists($todayfile))
{
echo $content=fun_prod($param,$keywords);
$filenew=fopen($todayfile,"w");
fwrite($filenew,$content);
fclose($filenew);
}
else
{
$target_url=$todayfile;
$filenew=fopen($todayfile,"r");
echo $tabledata=getProduct($target_url);
}
}
catch (Exception $e)
{
echo "
There was an error with your request or the service is unavailable.
";
print_r ($e);
}
/********************************************************
find product
*********************************************************/
function getProduct($turl)
{
$fp = fopen($turl, 'r' );
$content = "";
while( !feof( $fp ) )
{
$content.= trim( fgets( $fp, 4096 ) );
}
return $content;
}
function fun_prod($param,$keywords)
{
$client = new SoapClient('https://api.cj.com/wsdl/version2/productSearchServiceV2.wsdl', array('trace'=> true));
$results = $client->search($param);
$total=$results->out->totalResults;
$data.="
if ($results->out->products->Product!="")
{
foreach ($results->out->products->Product as $product)
{
if($product->name!=$name)
{
$price = sprintf('%01.2f', $product->price);
$desc=$product->description;
$data.= "
| ".$product->name." | ||
|
||
";
$name=$product->name;
}
}
}
$data.='
';
return $data;
}
?>
)
)
[5] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-includes/plugin.php
[line] => 166
[function] => filter_user_content
[class] => ExecPhp_Runtime
[type] => ->
[args] => Array
(
[0] =>
$ini = ini_set("soap.wsdl_cache_enabled","0");
try{
$developerKey="0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859";
$keywords="laptop+computer";
$webid=3130572;
$adsid="joined";
$param=array(
"developerKey" =>$developerKey,
"websiteId" =>$webid,
"advertiserIds" =>$adsid,
"keywords" => $keywords,
"serviceableArea" => '',
"upc" => '',
"manufacturerName" => '',
"manufacturerSku" => '',
"advertiserSku" => '',
"lowPrice" => '',
"highPrice" => '',
"lowSalePrice" => '',
"highSalePrice" => '',
"currency" => '',
"isbn" => '',
"sortBy" => 'price',
"sortOrder" => 'asc',
"startAt" => 0,
"maxResults" => 10
);
$sitepath="/home1/howtoea4/public_html/comparelaptop/blog/";
$yest= mktime(0,0,0,date("m"),date("d")-1,date("Y"));
$todayfile=$sitepath.date("Ymd").".txt";
$filename=$sitepath.date("Ymd", $yest).".txt";
$permission=@chmod($todayfile,0777);
unlink($todayfile);
if(file_exists($filename))
{
unlink($filename);
}
if(!file_exists($todayfile))
{
echo $content=fun_prod($param,$keywords);
$filenew=fopen($todayfile,"w");
fwrite($filenew,$content);
fclose($filenew);
}
else
{
$target_url=$todayfile;
$filenew=fopen($todayfile,"r");
echo $tabledata=getProduct($target_url);
}
}
catch (Exception $e)
{
echo "
There was an error with your request or the service is unavailable.
";
print_r ($e);
}
/********************************************************
find product
*********************************************************/
function getProduct($turl)
{
$fp = fopen($turl, 'r' );
$content = "";
while( !feof( $fp ) )
{
$content.= trim( fgets( $fp, 4096 ) );
}
return $content;
}
function fun_prod($param,$keywords)
{
$client = new SoapClient('https://api.cj.com/wsdl/version2/productSearchServiceV2.wsdl', array('trace'=> true));
$results = $client->search($param);
$total=$results->out->totalResults;
$data.="
if ($results->out->products->Product!="")
{
foreach ($results->out->products->Product as $product)
{
if($product->name!=$name)
{
$price = sprintf('%01.2f', $product->price);
$desc=$product->description;
$data.= "
| ".$product->name." | ||
|
||
";
$name=$product->name;
}
}
}
$data.='
';
return $data;
}
?>
)
)
[6] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-includes/post-template.php
[line] => 166
[function] => apply_filters
)
[7] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/themes/curved-10/page.php
[line] => 24
[function] => the_content
)
[8] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-includes/template-loader.php
[line] => 37
[args] => Array
(
[0] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-content/themes/curved-10/page.php
)
[function] => include
)
[9] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-blog-header.php
[line] => 16
[args] => Array
(
[0] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-includes/template-loader.php
)
[function] => require_once
)
[10] => Array
(
[file] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/index.php
[line] => 17
[args] => Array
(
[0] => /mnt/stor3-wc2-dfw1/485618/www.comparelaptop.net/web/content/blog/wp-blog-header.php
)
[function] => require
)
)
[faultstring] => Not Authenticated: 0081048012886b13239dc291f6b12f8e1498609917cc938515e7177f929df6143d69ffe69038b1e5d42aa7ae989ebc4300dc6692314744d70549a7ee12fe143005/17682b9c3127cbf7203e16a13d1035a4c2e8739dffbd9bdd976989f99db2f184d5664fc3bee5e236a410faf61ed2533b6ccce1ea963148f4492a2279d092c859
[faultcode] => soap:Server
)