4 messages in com.googlegroups.adwords-apiRe: Help getting started with Apility...| Subject: | Re: Help getting started with Apility - can't get it work at all...![]() |
|---|---|
| From: | jl83 (adwo...@babelimmo.com) |
| Date: | 02/21/2008 05:34:03 AM |
| List: | com.googlegroups.adwords-api |
Hi Thomas,
Thank you very much for trying to help me !
I did not enable OO mode, because my server runs PHP 4.4.
I don't think I have cURL enabled, as I thought it was not necessary. If I should enable it, could you please let me know how to do that on my Redhat Linux server?
Please also let me know which test I should run once I have enabled cURL, knowing that I don't have PHP 5...
Thanks again for your help
JL
On Feb 21, 11:23 am, Tomac <stei...@gmail.com> wrote:
Hi JL,
First, I feel sorry that you run into trouble with APIlity. Let me begin with some basic questions and debugging options:
1) Did you enable or disable object-oriented mode in settings.ini? If you have /enabled/ OO-mode, you necessarily need to be running PHP 5, it won't by any means work with PHP 4. 2) Do you get any error message when you start your script? APIlity checks whether its requirements are fulfilled upon execution. You need to have cURL enabled, and if you are on PHP 4 the DOM XML extension enabled. 3) If none of the basic 1) and 2) cases applies, could you try to turn on debug mode (http://google-apility.sourceforge.net/#Debugging), and run the very simple script below (for this test, please simply use authentication.ini for authentication, and /enable/ OO-mode [assuming you are running PHP 5]):
<?php $apilityUser = new APIlityUser(); $apilityUser->getAllCampaigns(); print_r($apilityUser->getLastSoapRequests()); print_r($apilityUser->getLastSoapResponses()); ?>
Could you please let me know what the output of this script is? Before posting the output, please also make sure to xxxxx-out your password and tokens.
Hope this helps.
Best regards, Tom
-- Thomas Steinerhttp://blog.tomayac.de




