I just emerged from an all-afternoon debugging session dealing with a very bizarre (to me, anyway) issue having to do with IFRAMEs. I have a fix/kludge around it, but perhaps others will have more rational thoughts about it....
Gory details: I'm running Drupal 4.7.2 on PHP 4.4.2.
I have a page that contains a bunch of content and an IFRAME that loads another Drupal file, a la:
<iframe name='reportframe' src='/staffreports.php' scrolling='yes' frameborder='0'></iframe>
staffreports.php starts off like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Westwind Breeze</title>
<meta http-equiv="Content-Type" content="text/html">
<style type="text/css" media="all">@import "/misc/drupal.css";</style>
<style type="text/css" media="all">@import "/modules/banner/banner.css";</style>
<style type="text/css" media="all">@import "/themes/duckburgPHP/style.css";</style>
</head>
<body>
<?php
require_once 'includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
--snip--
?>
</body>
</html>
The bootstrap stuff is there to let me do some node and database stuff -- if there's a better way to deal with this, please let me know. But the page loads just fine, and does what I want it to.
However, when I click on ANY link on the main page OR the IFRAME, the page I get to throws the warning: