"Quick fix" for when you can't login to your site
In /includes/pnSession.php, change this line :
if (pnConfigGetVar('intranet') == false) {
to
if (pnConfigGetVar('intranet') == true) {
As an alternative, comment out the following lines in the same file :
// ini_set('session.cookie_domain',$domain);
and
// ini_set('session.referer_check',$domain);
For more tips and tricks, see
Mike's Pub