JOJO and Openx

JOJO and Openx, a forum discussion on Jojo CMS. Join us for more discussions on JOJO and Openx on our Plugin Support forum.

Back to Forum Index : Back to Plugin Support   RSS

8 Oct 2008
Posts: 7


I am trying to create a plugin to create a campaign in openx. However I am just getting the following error:
Fatal error: XML-RPC Error (5): Didn't receive 200 OK from remote server. (HTTP/1.1 404 Not Found) in method logon()

I have the require and include statements working fine. I just haven't included the full path here for them.

The error was on line 158 in:

I will attach that file from openx.

Here is the code that I am using:
if (!@include('')) {
die('Error: cannot load the OpenAds XML_RPC proxy class');

require_once 'AdvertiserInfo.php';
$xmlRpcHost = 'localhost';
$webXmlRpcDir = _SITEURL . '/openx/www/api/v1/xmlrpc';
$username = 'username';
$password = 'password';

$service = new OA_Api_Xmlrpc($xmlRpcHost, $webXmlRpcDir, $username, $password);

$oAdvertiserInfo = new OA_Dll_AdvertiserInfo();
$oAdvertiserInfo->advertiserName = 'Tech1 Ltd';
$oAdvertiserInfo->contactName = 'Casey Sam';
$oAdvertiserInfo->emailAddress = '';
$oAdvertiserInfo->advertiserId = $service->addAdvertiser($oAdvertiserInfo);

I have openx installed in the public_html folder.

Back to Forum Index : Back to Plugin Support   RSS
You must be logged in to post a reply

You need to Register or Log In before posting on these forums.