API
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());
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
1 Posted by randy soule on 19 Apr, 2011 10:12 AM
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
Support Staff 2 Posted by Marc Guyer on 19 Apr, 2011 10:45 PM
Hi Randy -- Since you're using xampp, I suspect this glitch:
http://www.php.net/manual/en/domdocument.construct.php#84476
Dean closed this discussion on 16 Jan, 2013 04:49 PM.