php 4.3.7
Win 2k
IIS 5
One of my scripts that I thought I had finished started spitting out this error message at me:
The script is rather complex, including other scripts in a number of places, which include scripts, etc., so the "Unknown on line 0" is even worse than it would be otherwise. I've tried to go through the script that I got it on, and all of the scripts that it can possibly include, looking at all $_GET $_POST, and $_SESSION variables used. I may have missed something, but they all looked like normal usages to me, that work fine in other parts of the site. Examples:
At this point, I don't even know where the code that is that is causing the problems. I'm looking for suggestions of what I should be looking for.
Win 2k
IIS 5
One of my scripts that I thought I had finished started spitting out this error message at me:
Code:
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
The script is rather complex, including other scripts in a number of places, which include scripts, etc., so the "Unknown on line 0" is even worse than it would be otherwise. I've tried to go through the script that I got it on, and all of the scripts that it can possibly include, looking at all $_GET $_POST, and $_SESSION variables used. I may have missed something, but they all looked like normal usages to me, that work fine in other parts of the site. Examples:
Code:
$username = $_SESSION['userarray']['username'];
if (!isset($_POST['shipaddr']))
At this point, I don't even know where the code that is that is causing the problems. I'm looking for suggestions of what I should be looking for.