Forum Moderators: buckworks & skibum

Message Too Old, No Replies

Code Samples: PHP ¦ require once (soapclientfactory) interrupts script

         

d3ngar

5:55 pm on Mar 18, 2009 (gmt 0)

10+ Year Member



// I have this thread running on the main API forum (http://
groups.google.com/group/adwords-api), but I couldn't get any help

Hi,
I'm trying to get Google's Code Sample working and I'm getting stuck at the very first point :s...

The one I'm looking at and would like to modify for our business needs is this one (and I guess when I got the first API working the other will be easy): [code.google.com...]

A little bit about the setup:
I have a Windoze XP machine that runs Apache 2.2.something, PHP 5.2.4 with SOAP module enabled. I didn't use any different folders, so I'm just putting all pages into different sub-folders on C:\Program Files \Apache Group\Apache2.2.xx\htfiles...

Script execution works...

I downloaded nuSOAP and put this stuff into a subfolder. Then I got the soapclientfactory.php and modified it to require the nusoap.php from the right location:

require_once('soaplib/nusoap.php');

Then I started producing the AlternateKeywords.php, but the script execution stops here:
<?php
require_once ('soapclientfactory.php') or die ("Couldn't load Soap Factory");

In fact nothing happens after this I see in the page code.
How can I debug what's going on?

netmeg

2:41 pm on Mar 19, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



you might want to clarify that you're looking for help with the AdWords API - if it's not in the title, the people who could help you might miss it.