API

randy soule's Avatar

randy soule

18 Apr, 2011 09:01 PM

I am getting the following error. Any ideas?

require('CheddarGetter/Client.php');
require('CheddarGetter/Client/Exception.php');
require('CheddarGetter/Response.php');
require('CheddarGetter/Response/Exception.php');


$client = new CheddarGetter_Client('https://cheddargetter.com', $USERNAME, $PASSWORD, $PRODUCT );
$customers = $client->getCustomer( $CUSTOMER );

print_r($customers->toArray());
  1. 1 Posted by randy soule on 19 Apr, 2011 10:12 AM

    randy soule's Avatar

    I guess I forgot the erro message

    Warning: domdocument::domdocument() expects parameter 2 to be long, string given in C:\xampp\htdocs\1_MOSSO\RSA\billing\CheddarGetter\Response.php on line 28

  2. Support Staff 2 Posted by Marc Guyer on 19 Apr, 2011 10:45 PM

    Marc Guyer's Avatar

    Hi Randy -- Since you're using xampp, I suspect this glitch:

    http://www.php.net/manual/en/domdocument.construct.php#84476

  3. Dean closed this discussion on 16 Jan, 2013 04:49 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac