1
anthony
Random PHP code appearing in HTML output
  • 2004/1/31 0:21

  • anthony

  • Just popping in

  • Posts: 1

  • Since: 2003/5/11


I've been seeing this problem intermittently: I get what seem to be chunks of php source code injected into the html output served - typically right at the start or after the ned, but also even in the middle. A typical one starts like this
does not have old functions that are required in old modulesso include them now
        
include XOOPS_ROOT_PATH.'/include/old_theme_functions.php';
        
// need this also
        
$xoopsTheme['thename'] = $xoopsConfig['theme_set'];
        
ob_start();
    }
}
?>
<!DOCTYPE html PUBLIC ...

and ends like this
</body>
</
html>&type=debug&file='.$dummyfile.'", "popup", 680, 450);
        </script>';
    }
}
?>

The code seems to come out of header.php. When it appears, it's moderately consistent (but changed abruptly at the last upgrade).
Any suggestions?




TopTop



Login

Who's Online

137 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits