I am using google-sensapility-3.0
<?php
include_once(dirname(__FILE__).'/google-sensapility-3.0/
sensapility.php');
global $SENSAPILITY_AUTH;
global $SENSAPILITY_CLIENTS;
$lang = 'ko';
$acctSrvc = $SENSAPILITY_CLIENTS->getService('Account');
$SENSAPILITY_AUTH->setDebugMode(false);
$correspondenceLanguage = $lang;
$websiteLanguage = 'ko';
try{
$SENSAPILITY_AUTH->setDebugAssociation( 'NotAssociated');
$SENSAPILITY_AUTH->setDebugZip($zipcode);
$SENSAPILITY_AUTH->setDebugPhone($phone);
$result = $acctSrvc->createAccount( $email,
'Individual','
pptwear.com', $websiteLanguage,
$correspondenceLanguage, true,
array('ContentAds'),'
code.google.com') ;
$SENSAPILITY_AUTH->setDebugAssociation( 'NotAssociated');
}
catch (Exception $e)
{
echo "Duplicate $loginEmail\n";
}
And this is error log. but I don't want see error log.
I want disapear error log.
array(1) { [0]=> array(2) { ["type"]=> array(1) { ["value"]=>
string(10) "ContentAds" } ["id"]=> string(23) "ca-
pub-4042624592630261" } } array(1) { [0]=> array(2) { ["type"]=>
array(1) { ["value"]=> string(10) "ContentAds" } ["id"]=> string(23)
"ca-pub-4042624592630261" } } Fault occured!
Code:
Message: soapenv:Server.userException
Detail: The specified email address is already in use.
Created account: