Welcome Guest, Not a member yet? Register   Sign In
Setting up Infusionsoft as a library
#1

[eluser]Unknown[/eluser]
Hello everyone,

I am having some trouble implementing the infusionsoft SDK. I noticed the posting at: http://ellislab.com/forums/viewthread/163703/ however, updating the XML_RPC did not help.

outside of CI, the following code works as expected:

Code:
require("isdk.php");  

$app = new iSDK;
if($app->cfgCon("gkcc")){

echo "app connected!<br/>";
}
else {
echo "connection failed!<br/>";

}


However in my codeigniter controller, I have it setup like so:


Code:
public function index()
{
  $this->load->library('isdk');
  if($this->isdk->cfgCon("gkcc"))
  {
   echo "app connected!<br/>";
  }
  else {
   echo "connection failed!<br/>";
  }
}

the Isdk.php library has: include("xmlrpc-3.0/lib/xmlrpc.inc"); which is also in the libraries folder.


The error generated in CodeIgniter is a 500 Internal Server Error.

Any questions/comments/suggestions are greatly appreciated. Thanks!






Theme © iAndrew 2016 - Forum software by © MyBB