Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey there-
I upgraded to D5.10 recently and I noticed that my ads aren't always showing up. I have two ads right next to each other and one shows up but the other doesn't. So I tried to check out the invocation code (using javascript) and they were both the same in OpenX but in the module I noticed the 'code' text area is so small, it doesn't seem to be getting all of the invocation code I paste in there.
I've also checked out the html of the page (using Firebug) and it shows that only a portion of the invocation code is actually going through... How can I fix this?
Thanks!
Comments
Comment #1
VM CreditAttribution: VM commentedshould consider updating to drupal 5.11 and see if the problem doesn't correct itself. If nothing else you won't be running insecure code as you are with 5.10
Comment #2
tflmike CreditAttribution: tflmike commentedI've played with it a bit and now I've noticed that it only seems to show one ad at a time. I changed the invocation code for the 2nd ad and it showed up! But then when I changed the invocation code on the 1st ad, it showed the 1st ad and not the 2nd!
Yea... I know I should upgrade to 5.11 but I'm very hesitant. My last upgrade to 5.10 went very badly. It destroyed half my site and I still don't have it back to where it was!
Comment #3
VM CreditAttribution: VM commentedrunning insecure code should make you more hesitant but the risk is yours : )
I don't run ads, so can't help further with the ads issue.
good luck.
Comment #4
tflmike CreditAttribution: tflmike commentedOk. Now the ads are showing up, but they seem to come and go with a reload on different pages... could this be a memory limit issue or maybe the javascript isn't loading fast enough?
Thanks!
Comment #5
jaydub CreditAttribution: jaydub commentedwhat version of OpenX are you running? I assume you are using the javascript invocation method? do you have a public site where one could check and see what javascript output is being generated for your site?