When using iframe I was getting tons of php errors like this:

Missing argument 2 for variable_get(), called in /home/rzlender/redesign/www/sites/all/modules/ad/adserve.inc on line 434 and defined in /home/rzlender/redesign/www/includes/bootstrap.inc on line 412.

Attached patch should fix it.

CommentFileSizeAuthor
Advariableget.patch861 bytesRok Žlender

Comments

mennonot’s picture

+1 Works for me.

I was getting this error repeatedly too (though I'm not using the iframe). I manually patched the code and the error went away, although I'm not clear what "/Attic/" is doing in this file path:

RCS file: /cvs/drupal-contrib/contributions/modules/ad/Attic/adserve.inc

jeremy’s picture

Status: Needs review » Fixed

Thanks for the bug report and patch! Slightly modified fix committed in the development branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.