How do I Correct the error: Session initialisation failed?
How do I Correct the error: Session initialisation failed? How do I Correct the error: Session initialisation failed?
On my version of PostNuke- 0.7.2.3-Phoenix, I began to receive the following error when I went to the root of my PostNuke site: Session initialisation failed (Note there seems to be a misspelling in initialization) A search of both spellings resulted in a few possible resolutions to my issue.1. Need to update security patches.
2. Need to restore pnSession.php at the root of the PostNuke installation.
3. Wrong permissions to site folders.
4. Corrupt nuke_session_info table in the mySQL database for my PostNuke installation.
After attempting the first 3, I discovered immediately after trying to access the nuke_session_info table through pgpMyAdmin that it was corrupt. In fact, I received the error 145 = Table was marked as crashed and should be repaired. The mySQL command reference outlined the syntax for checking and repairing the table. The two key commands to perform this repair are the “check table” and “repair table” commands in T-SQL.
The “check table” command is documented at: 4.4.4 CHECK
TABLE Syntax http://www.mysql.com/doc/en/CHECK_TABLE.html
The “repair table” command is documented at: 4.4.5 REPAIR
TABLE Syntax http://www.mysql.com/doc/en/REPAIR_TABLE.html
The commands I used to repair my table were:
check table nuke_session_info
repair table nuke_session_info
Note: the default option on the “check table” command is medium. This option scans the rows to verify that deleted links are okay. It also calculates a key checksum for the rows and verifies this with a calculated checksum for the keys.
User login
Who's new
- Rullydery
- eagenorce
- rittaarier
- swasseZex
- gaterfoko