Code from Openx 2.6.1

ocell - September 23, 2008 - 14:38
Project:Openads
Version:5.x-1.1
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

I've just installed OpenX 2.6.1 along with a Drupal 5.10. I've tested OpenX and put the invocation code in blocks in drupal. All banners showed up perfectly (so OpenX works) but we had some problems with the watchdog table, so we installed the Open X module.
Now I can't configure it to show any Ad because I can't find the code for the zones. I've seen other support requests but I found nothing to help me.

The zone id Is 1
The code is ?? -> I've tried 1, 0 and any of the random codes in "n", for example n=1674b6c

Here is the generated code from OpenX 2.6.1:

From the Website page:
Header script:

<!-- Generated by OpenX 2.6.1 -->
<script type='text/javascript' src='http://skimo.drupalhost.cat/openx/www/delivery/spcjs.php?id=1'></script>

Zone 1

<script type='text/javascript'><!--// <![CDATA[
    /* [id1] Skimo.org - Left sidebar 1 */
    OA_show(1);
// ]]> --></script><noscript><a target='_blank' href='http://skimo.drupalhost.cat/openx/www/delivery/ck.php?n=1674b6c'><img border='0' alt='' src='http://skimo.drupalhost.cat/openx/www/delivery/avw.php?zoneid=1&amp;n=1674b6c' /></a></noscript>

And here is the javascript code from the zone page:

<!--/* OpenX Javascript Tag v2.6.1 */-->

<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://skimo.drupalhost.cat/openx/www/delivery/ajs.php':'http://skimo.drupalhost.cat/openx/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=1");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://skimo.drupalhost.cat/openx/www/delivery/ck.php?n=a0500fba&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://skimo.drupalhost.cat/openx/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a0500fba' border='0' alt='' /></a></noscript>

Could you help me?

Thank you,
Oriol

#1

jaydub - September 24, 2008 - 05:42

If you are using the Openx drupal module created by the OpenX
team then please go there for support. The Openads
module that this project covers does not have the code
you mentioned above.

http://forum.openx.org/index.php?showforum=71
http://www.openx.org/openx-module-for-drupal

#2

ocell - September 24, 2008 - 10:30

Hi Jaydub,

the header of the module from openx says:
$Id: openx.module,v 1.7.2.4 2008/04/14 11:15:05 jaydub Exp $

And it says you're the new maintainer from March 2008. But I see both versions (or module packages) are slightly different. I'll investigate it.

The curious thing is that it works on remote and the zone 9 of ads.openx.org/delivery But all the rest (javascript, local, etc) don't work. So is a matter of finding the correct settings.

Please don't close this issue as I'll try the module from Drupal.org and tell you if it's all ok.

#3

jaydub - October 3, 2008 - 02:28

I did not commit anything called openx.module. The OpenX developers who
put together their own form of the module took the original openads.module
code and replaced all text saying openads with openx and then proceeded
to make their own changes.

They have not created a Drupal project for their module as openx.module
and so have no CVS commit messages like this one. Sorry but I have nothing
to do with the openx.module so you'll have to get support from the OpenX
forums.

If you install and use openads.module I can try and help...it's just hard to
help on the other project as I didn't write it and don't know how their
module works.

#4

ocell - October 10, 2008 - 10:35

Ok, we installed the openads version but we could'nt get it to work. Then we installed the OpenX version and everything is fine.

Thank you for your help and sorry for the mistake about the modules.

#5

ocell - October 10, 2008 - 10:36
Status:active» closed

#6

cookiesunshinex - December 22, 2008 - 18:25
Status:closed» active

Hello,

I have the same issue as the user above. However, I'm using OpenX Adserver 2.6.1 which has been working fine for a while.
I have a drupal 5.14 site with the OpenAds module 5.x-1.1 2008-Apr-25 installed.

I have tried generating the invocation code for the website (publisher) as well as the zone and cannot figure out what the code is.

My output is similar to the user above.

Each time I choose "Remote"
supply the OpenX delivery URL
Supply the publisher ID
Then the Zone ID
Name
And code (taken from the publisher invocation code).

Then I click on "Save configuration"
I get a "Page Not Found" page.

URL is http://www.mydomain.com/admin/settings/openads

I do have mod_sec turned on...could this be causing problems? Any other ideas?

#7

jaydub - December 23, 2008 - 02:09

Why don't you try disabling mod_sec first and see if you still have the problem...

#8

cookiesunshinex - December 23, 2008 - 14:35
Status:active» closed

jaydub.

I'm sorry for posting before trying it first. I disabled mod_sec apache module, then I was able to plug-in all the variables into the OpenX (openads) adserver configuration page and click "save configuration" without any problems.

I then re-enabled mod_sec.

Again, sorry for the disruption.

But I hope this helps someone out there who has mod_sec installed and can't get the module going...

 
 

Drupal is a registered trademark of Dries Buytaert.