Menu

Problems @ Install

2002-05-07
2002-05-08
  • Niels Krijger

    Niels Krijger - 2002-05-07

    Hi, I've been working for a few hours (I do 10 things at once :)), to make PHPOpenChat work. Well, I can't change the php.ini file and I couldn't reach the includes map. I have triede some solutions, putting a code in the .htacces etc. but that didn't work. Now I've got put the files in the html folder and it works, almost.
    Here's my url: http://www.spelspelen.com/chat/html/
    Some pages (including the first) work, but the actual chatting etc. doesnt.

    Error:
    ----------------------
    Warning: Cannot add header information - headers already sent by (output started at /www/htdocs/spelspel/chat/html/dutch_inc.php:520) in /www/htdocs/spelspel/chat/html/login_inc.php on line 290

    Warning: Cannot send session cache limiter - headers already sent (output started at /www/htdocs/spelspel/chat/html/dutch_inc.php:520) in /www/htdocs/spelspel/chat/html/index.php on line 62

    Warning: Cannot add header information - headers already sent by (output started at /www/htdocs/spelspel/chat/html/dutch_inc.php:520) in /www/htdocs/spelspel/chat/html/index.php on line 76

    Warning: Cannot add header information - headers already sent by (output started at /www/htdocs/spelspel/chat/html/dutch_inc.php:520) in /www/htdocs/spelspel/chat/html/index.php on line 77
    -------------------

    I'm to noobish to figure it out, I'm trying but it won't work :(.

    another error @ the admin page (which doesn't load):
    -------------------
    Warning: open_basedir restriction in effect. File is in wrong directory in /www/htdocs/spelspel/chat/html/admin/index.php on line 18

    Warning: Failed opening 'defaults_inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /www/htdocs/spelspel/chat/html/admin/index.php on line 18
    --------------------

    The include files are in the html folder, is there a path I need to change or something? Plz help me out....

    Thnx

     
    • Bryan Frazier

      Bryan Frazier - 2002-05-07

      two questions...

      1)Did you setup a  MySQL database? (I imagine you did)

      2)did you chmod the .htacess & defaults_inc files to 777

      ...once you install the chat chmod them back to 644

       
    • Niels Krijger

      Niels Krijger - 2002-05-08

      Yes, I've set up a MySql database and the tables were created succesfully (etc.).

      I chmodded the htacces and defaults_inc.
      The install went succesfull (I installed everything 10 times now (or more)). But I can't change the .htacces file back to 644, cause I cant see it.

      Can this be the cause of the problem? (I don't think so cause there no restrictions or somethin...).

      My admin page works now, my only problem is this error:
      ----------------
      Warning: Cannot add header information - headers already sent by (output started at /www/htdocs/spelspel/chat/html/dutch_inc.php:520) in /www/htdocs/spelspel/chat/html/channels_inc.php on line 46
      ----------------

      Well, I never had a error like that in a script so I don't know where to look....

      any idea?

       
    • Niels Krijger

      Niels Krijger - 2002-05-08

      Hmms, I saw the other thread and I threw away the spaces at the bottom. It doesn't contain a 520 and a 519 line anymore, but I still get the same error.... on line 520.....
      I'm changing languages etc. but probably I can fix it (somehow).

      many thnx anyways...

       
    • Mirko Giese

      Mirko Giese - 2002-05-08

      try to delete anything in dutch_inc.php after the closing ?> which seems to cause this error. the es something like a space or newline which is send to the browser at an to early stage

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.