I have been trying to integrate adsense API into drupal site for past few weeks.
http://code.google.com/apis/adsense/
Just got familiarized with the php codes for creating account,
associating account and displaying ads.
http://code.google.com/p/google-sensapility/source/browse/trunk/sampleco...
http://code.google.com/p/google-sensapility/source/browse/trunk/sampleco...
http://code.google.com/p/google-sensapility/source/browse/trunk/sampleco...
using Nusoap .
It works fine when I run these files independently.
After that I pasted the code for displaying ads into a block .
But got the error
Fatal error: Class 'soapclientNusoap' not found in /home/.../public_html/includes/common.inc(1655) : eval()'d code on line 129
What might be the issue.
The code for displaying ads is this
http://code.google.com/p/google-sensapility/source/browse/trunk/sampleco...
It is calling nusoap.php ..
I have replaced the line from
require_once('lib/nusoap.php');
to
require_once('www.mytestsite.com/lib/nusoap.php');
Why is this error coming ?
Fatal error: Class 'soapclientNusoap' not found in /home/.../public_html/includes/common.inc(1655) : eval()'d code on line 129
: