The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Session initialisation failed post nuke error

Discussion in 'Database Discussions' started by david510, Jan 14, 2005.

  1. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    When I installed the postnuke through the cpanel, it is showing the error 'Session initialisation failed' . Please help me witht his issue. Is there any seetings I have to change in the php.ini file?

    Regards,
    David
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Try running a repair on the DB via phpMyAdmin.
     
  3. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Same problem...were you able to fix it?

    Mike
     
  4. webits

    webits Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Anyone got a fix for this

    I've been looking for fix for this with no luck..
     
  5. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    Back-up your database.

    Then check for the table called pn_session_info in phpMyAdmin, and most probably you'll see is dead,
    Delete it and re-create it from the sql source.

    Code:
    DROP TABLE `pn_session_info`;
    
    --
    -- Table structure for table `pn_session_info` (PostNuke 0.7.6 RC1)
    -- should be the same with PostNuke 0.7.5
    --
    CREATE TABLE `pn_session_info` (
      `pn_sessid` varchar(32) NOT NULL default '',
      `pn_ipaddr` varchar(20) NOT NULL default '',
      `pn_firstused` int(11) NOT NULL default '0',
      `pn_lastused` int(11) NOT NULL default '0',
      `pn_uid` int(11) NOT NULL default '0',
      `pn_vars` blob,
      PRIMARY KEY  (`pn_sessid`)
    ) TYPE=MyISAM;
    
    That's all.
     
  6. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Thanks, but that didn't fix the problem. Is anyone else experiencing this problem?

    Thanks
    Mike
     
  7. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    If the dropping and recreating of session_info table dint work then you should look for this :

    Check for session.autostart in your php.ini file and make sure that it has been set to off

    Code:
    php_flag session.auto_start off
    Way to go !!
     
  8. Matnet

    Matnet Registered

    Joined:
    Jan 18, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    i faced the same problem.. plz assist. to settle down the postnuke preinstalled script.
     
  9. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I solved this by copying a default php.ini file from another server and restarting apache.
     
Loading...

Share This Page