homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Google / Google Desktop Tools and Google Labs Projects
Forum Library, Charter, Moderator: open

Google Desktop Tools and Google Labs Projects Forum

google api testing

 4:09 pm on Mar 21, 2008 (gmt 0)

I am simply overwhelmed by the amount of info in the google api website.


1. I submitted the developer form request and received a temp e-mail and password.

2. I wanted to test the soap interaction with the sand box server and got stuck.

- I used the php sample cod and received a server error: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set

I believe that the open_basedir is set in the web host server.

3. Do I need a pub_id for making the soap requests? If Yes, How do
I get one?

4. is it possible to check association withe live account while testing? or should I open am account by sending the appropriate soap request?

5. How do I get live? do I need to contact the adsense api team by email?

Comments will be very much appreciated!



 5:50 am on Mar 22, 2008 (gmt 0)

I haven't worked with the Google API, but I have worked with CURL.
The problem is the config of your box - when open_basedir is set (or safe mode is on) the CURLOPT_FOLLOWLOCATION option WILL NOT WORK - period.
It is unlikely that you can get your host to change the setting - its a security issue. (I can get CURLOPT_FOLLOWLOCATION to work here on my development box, but not on any of my live servers)
The follow-location allows the CURL call to follow 301s (etc) to the next page, so you only have to do one call and get the final destination.
My work around has been to loop until you have a 200 (or 404 etc) result - while you get a 301, 302, etc, you loop and call the next page.

But I can't help with the API itself, sorry - this post is probably in the wrong forum for your question


 5:55 am on Mar 22, 2008 (gmt 0)

This is not google problem. You need to configure /etc/php.ini. safe_mode and open_basedir defined to control php. Look at php.net for more help regarding these directives.


 3:11 pm on Mar 25, 2008 (gmt 0)

leadegroot, Can you post your curl cod?



 9:31 pm on Mar 25, 2008 (gmt 0)

It wouldn't help - its embedded in some other stuff, and I don't have time to extract it :( Sorry.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google Desktop Tools and Google Labs Projects
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved