Proxy Config and Basics for debugging

I am just getting started with the API and am attempting to use the PHP library on our site. At work I am on an internal proxy server behind a firewall.

When I run basic scripts for clientGetDetail() and userGetCountries() I get the following error:

Warning: fopen( failed to open stream: Connection timed out in /srv/www/htdocs/www/contact/campaignMonitorAPI/CMBase.php on line 260 xml2array() error: Line 2: Invalid document end

To me this looks like the page is unable to connect. Maybe because of our proxy?

The weird thing is that when I run the subscriberAddWithCustomFields() demo I receive a success message but of course nothing actually gets added to the subscriber list.

Any thoughts on where to begin?

- Chris

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free