Unknown Error? Need Help

Discussion in 'PHP' started by bartolay13, Jan 7, 2008.

  1. #1
    hi there,
    i got this error, that doesnt show where and what line is it... please help.

    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



    thanks in advance..
     
    bartolay13, Jan 7, 2008 IP
  2. blacknet

    blacknet Active Member

    Messages:
    709
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    70
    #2
    the error tell's you everything you need to know man.. use ini_set to set session.bug_compat_42 or the warn to off like it says.. or do the correct thing and upgrade your code.. (debug line by line, it's easy enough..

    <?php
    echo "here";
    exit();
    ?>
    keep sticking that in, when you don't see here, you've found the line!
     
    blacknet, Jan 7, 2008 IP