PHP/SQL Problem... Help!

Discussion in 'Programming' started by razz.jazz, Jun 18, 2011.

  1. #1
    I have a PHP site trying to write to my SQL database. It is trying to go to name2.php. However, its like it cannot find name2.php which will then executive adding to the directory.

    I get this on the site:


    The server encountered an internal error or misconfiguration and was unable to complete your request.

    and in the log folder, it produces:

    PHP 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

    Can anyone help with what this means?
     
    razz.jazz, Jun 18, 2011 IP
  2. web.business

    web.business Greenhorn

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    you can solve this problem by enter php.ini file and set session.bug_compat_42 to 1 .
     
    web.business, Jun 18, 2011 IP
  3. razz.jazz

    razz.jazz Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Doesn't work man. Just created one and still getting the same error.
     
    razz.jazz, Jun 20, 2011 IP