How can i solve this problem ?

Discussion in 'HTML & Website Design' started by dooma, Jul 23, 2009.

  1. #1
    dooma, Jul 23, 2009 IP
  2. Klevraco

    Klevraco Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    the cause of this is that session.php file contains characters (usually a space or an empty line) outside of the <?php and ?> tags. To fix the problem you remove any blank characters at the beginning and end of the file. Some text editors are prone to automatically adding extra line-ending characters at the ends of files.
     
    Klevraco, Jul 23, 2009 IP
  3. CZhakis

    CZhakis Member

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    You're wrong Klevraco, the file which contains blank characters is configuration.php.

    Try to save the file in different editor. It should works.
     
    CZhakis, Jul 23, 2009 IP
  4. anthony.ownz

    anthony.ownz Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What you could do as an alternative is get your hosting company to disable showing errors by modifying apache. Thus, the errors would disappear regardless of the coding issues.
     
    anthony.ownz, Jul 23, 2009 IP
  5. arunn

    arunn Active Member

    Messages:
    347
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #5
    still an error is an error.. and fixing is easier than hiding in the long run...
     
    arunn, Jul 23, 2009 IP
  6. anthony.ownz

    anthony.ownz Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I agree, but it looks like this guy has no idea where his code editor is to repair the lines needing to be corrected so my solution could come in handy for them.
     
    anthony.ownz, Jul 24, 2009 IP