Topic: PunBB Interferring With Other PHP Programs
Hey everyone, I have a pretty serious problem. Right now I use PunBB as the forums (of course), news, and user system on my site. I use my own scripts for everything else (content management, etc). The problem is, whenever I declare the required PunBB variables in my page:
<?php
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);
define('PUN_ROOT', './forums/');
require PUN_ROOT.'include/common.php';
?>
I get Undefined Index errors in my other scripts. It never tells me that it has anything to do with PunBB, but I know for a fact that it does because when I take out this code it works perfectly, like it always has before I started using PunBB. The errors look like this:
Notice: Undefined index: media_download in /xxx/xxx/public_html/media.php on line 4
Line for of media.php is this:
$download_id = $_GET['media_download']
It's always something like this, a variable being defined (like $var1 = $_GET['something']) on every page. How can I fix this?