PostNice CMS

where everything fits together

Main Menu  
Topics  
Online  
There are 0 registered users online.

You can log-in or register for a user account here.
test  
PostNice CMS Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
M00N0iOffline
Post subject: Fixed: login not working, unrecognized session  PostPosted: Aug 08, 2012 - 06:13 AM
Site Admin


Joined: Jun 12, 2012
Posts: 31

Status: Offline
Postnuke was looking for the session cookie in $_REQUEST, but in newer PHP versions, cookies are no longer included by default in $_REQUEST, so the following line in pnAPI.php has to be changed:

Code:
    if (pnConfigGetVar('anonymoussessions') || !empty($_REQUEST['POSTNUKESID'])) {


into

Code:
    if (pnConfigGetVar('anonymoussessions') || !empty($_REQUEST['POSTNUKESID'] || !empty($_COOKIE['POSTNUKESID'])) {


This change has been integrated into the newest Lazarus edition.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
valdaiOffline
Post subject:   PostPosted: Apr 27, 2018 - 06:43 AM



Joined: Apr 20, 2018
Posts: 6482

Status: Offline
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460em6460
em6460
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
Contact  
write me an Email:
webmaster@postnice.org
W3C Validation  
Login  




 


 Log in Problems?
 New User? Sign Up!
Languages  
Preferred language: