Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default How would i fix this error


    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/hhgsnet/public_html/usersystem/login.php:13) in /home/hhgsnet/public_html/usersystem/login.php on line 15
    On line 15 the code is;
    Code:
    session_start();
    +REP for heelpppp
    Ross

  2. #2
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    session_start(); needs to be at the top of the page I believe, before any html or anything.

    Kind Regards,
    Vince.
    Free Online Games And Videos:
    http://www.vincesgames.com



  3. #3
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    It's at the top of the PHP coding...

  4. #4
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    Quote Originally Posted by GoldenMerc View Post
    It's at the top of the PHP coding...
    Is it above HTML aswell?
    Free Online Games And Videos:
    http://www.vincesgames.com



  5. #5
    Join Date
    Dec 2008
    Posts
    12
    Tokens
    0

    Default

    Post the file here?

  6. #6
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Quote Originally Posted by ThisNameWillDo! View Post
    Is it above HTML aswell?
    Nopeeeeee!
    Code:
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <link href="style.css" rel="stylesheet" type="text/css" />
    <html>
    <head>
    <title>The site</title>
    </head>
    <body>
    <center>
      <p>R&T CARTS </p>
      <br>
      <p>    
    <?php
    //start session and include conf...
    include'config.php';

  7. #7
    Join Date
    Jan 2007
    Location
    Wales
    Posts
    2,432
    Tokens
    141

    Latest Awards:

    Default

    That would be your problem then...

    <?php
    include "config.php";
    session_start();
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <link href="style.css" rel="stylesheet" type="text/css" />
    <html>
    <head>
    <title>The site</title>
    </head>
    <body>
    <center>
    <p>R&T CARTS </p>
    <br>
    <p>
    <?php
    //REST OF PHP HERE
    ?>
    Last edited by ThisNameWillDo!; 30-03-2010 at 03:10 PM.
    Free Online Games And Videos:
    http://www.vincesgames.com



  8. #8
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/hhgsnet/public_html/usersystem/config.php:7) in /home/hhgsnet/public_html/usersystem/login.php on line 3

    Its sayingggg

  9. #9
    Join Date
    Jan 2008
    Location
    Wales
    Posts
    3,594
    Tokens
    1,387
    Habbo
    Skizzling

    Latest Awards:

    Default

    Theres not any spaces before the <?php or after the ?> is there?

  10. #10
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Put the "session_start();" above the include?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •