Installation, Configuration, & Upgrades  :: 
Session initialisation failed
 Top

  • what is mean?how i can fixed?
    i recive on mainpage of mypostnuke site a blank whit message ''Session initialisation failed''.I have friends have PostNuke gettin problem whit "Session initialisation failed".What is does?how do i can handle it..?
    thnks!
  • In my experiance working for a webhost, when users recieve this error when their disk space gets completely full and their MySQL databases become currupted.

    --
    UGN Security Administrator.
    Looking for a good quality webhost? I choose
  • You have to execure SQL commad:
    REPAIR TABLE nuke_session_info

    Maybe it will help U.
    MG
  • I have the same problem, however when I checked the DB, it was all ok. I even repaired them just in case, and it's still not working.

    I had this same problem a while back with v.723, but I don't remember what I did to fix it. Now I'm using .750, is that why, because I'm using an RC?

    --
    http://www.entelite.com <-- PostNuke user site
    [ System Server ]
    Operating system: Linux
    Kernel version: 2.4.20-19.7
    Apache version: 1.3.28 (Unix)
    PERL version: 5.006001
    PHP version: 4.3.2
    MySQL version: 4.0.15-standard
  • Nevermind, I saw the problem, or rather I knew what it was after reading this tutorial. It seems that my pntables.php was the problem after I overwrote it with some other one. So read the tutorial, it might help.

    --
    http://www.entelite.com <-- PostNuke user site
    [ System Server ]
    Operating system: Linux
    Kernel version: 2.4.20-19.7
    Apache version: 1.3.28 (Unix)
    PERL version: 5.006001
    PHP version: 4.3.2
    MySQL version: 4.0.15-standard
  • Hi, I'm new to PostNuke and need help to start enjoying all its power!

    I did a succesful installation and loaded the homepage with no problem, but got the "Session initialisation failed" message each time i tried to click on any block or link. This is what i did after that:

    1) I checked config.php (database name, and tables prefix)
    2) I did empty, check and repair on nuke_session_info
    3) I dropped the session_info table and then created it again (thanks to kanimes for the link to that useful tutorial :wink: )

    After doing all that now the homepage doesnt load... it shows the "session init failed" message all the time

    I appreciate your help my knowledge in PHP is not very good.
  • .. seems to me a PHP configuration problem.. it's not limited to PN, but all PHP apps.. so more than likely has everything to do with the session settings in PHP..

    -IR

    --
    http://www.invalidresponse.com
  • Hi,
    What I did to get my site working is an unorthodox thing to do, but it works. Not sure if it can cause any other problems. It hasn't for me.
    Here's what I did:
    I commented out the following lines in includes/pnSession.php:

    Code

    foreach($GLOBALS as $k=>$v) {
            if (preg_match('/^PNSV/', $k)) {
                return false;
            }
        }

    to this:

    Code

    //foreach($GLOBALS as $k=>$v) {
      //      if (preg_match('/^PNSV/', $k)) {
      //          return false;
      //      }
      //  }

    That's around line 184 or so.
    Like I said, it cured my Session initialisation failed problem, but it is probably not the best thing to do.
    Peter

    Anduril

    Hi, I'm new to PostNuke and need help to start enjoying all its power!

    I did a succesful installation and loaded the homepage with no problem, but got the "Session initialisation failed" message each time i tried to click on any block or link. This is what i did after that:

    1) I checked config.php (database name, and tables prefix)
    2) I did empty, check and repair on nuke_session_info
    3) I dropped the session_info table and then created it again (thanks to kanimes for the link to that useful tutorial :wink: )

    After doing all that now the homepage doesnt load... it shows the "session init failed" message all the time

    I appreciate your help my knowledge in PHP is not very good.
  • My site was working along fine, there was no problem encountered with this problem. It was even working yesterday. I saw the problem only today with my site.

    So, as suggested, I tried the above suggestion. The site seems to be working fine again. But what do one missed out when we do:

    Code

    //foreach($GLOBALS as $k=>$v) {
      //      if (preg_match('/^PNSV/', $k)) {
      //          return false;
      //      }
      //  }


    I would be glad if any can enlighten me!

    Also, when I did a repair of my database, I got the following output:

    Quote

    databasename.nuke_session_info
    info : Wrong bytesec: 55-50-50 at 815188; Skipped
    info : Wrong bytesec: 55-50-50 at 815188; Skipped
    info : Wrong bytesec: 55-50-50 at 815188; Skipped
    info : Wrong bytesec: 55-50-50 at 815188; Skipped
    warning : Number of rows changed from 59 to 55
    status : OK


    Thanks!

    NB: Does anyone know how to fix this problem:

    Quote

    databasename.nuke_phpbb_sessions
    error : The handler for the table doesn't support repair
This list is based on the users active over the last 60 minutes.