Sounds like you have a slightly older version, and your server has register globals off.
Recent versions have this near the top of the "directory" file
| Code: |
if ($_POST['submit_add']){$show="add";}
if (empty($PATH_INFO)){$PATH_INFO = $_SERVER['PATH_INFO'];}
if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["ORIG_PATH_INFO"];}
if (empty($PATH_INFO)){$PATH_INFO = $HTTP_SERVER_VARS['PATH_INFO'];}
if (empty($PATH_INFO)){$PATH_INFO = $_SERVER["REQUEST_URI"];}
|
You certainly need the top line, but from your description, not the $PATH_INFO lines.
Also, in the directory file near lines 49 you should see
| Code: |
$logic = $_POST['logic'];if (empty($logic)){$term = $_GET['logic'];}
$term = $_POST['term'];if (empty($term)){$term = $_GET['term'];}
if (!empty($_GET['sr'])){$sr = $_GET['sr'];}
if (!empty($_GET['pp'])){$pp = $_GET['pp'];}
if (!empty($_GET['cp'])){$cp = $_GET['cp'];}
|
If you are missing the bottom 3 lines, add them
Finally, I recall there being an error in the navbar_top.php file for many of the themes,
like /original/navbar.top.php
Around line 55 locate
| Code: |
if ($usesession == "yes"){$html .= $and . session_name() . '='. session_id() ;$and = '&';}
if ($PID > 0){$html .= $and . 'PID=' . $PID ;}
|
Multiple ways to fix that, probably the easiest is to just define $and above these lines
| Code: |
$and = '?';
if ($usesession == "yes"){$html .= $and . session_name() . '='. session_id() ;$and = '&';}
if ($PID > 0){$html .= $and . 'PID=' . $PID ;}
|