Error on login

7 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: 3 hours ago   (RSS)

Received the following error message upon login. This has never been an issue before as I have always set the CMS set for never log off!

Error message:

Warning: session_regenerate_id(): Session ID cannot be regenerated when there is no active session in /home/name_of_server/public_html/cmsAdmin/plugins/websiteMembership_1.05/websiteMembership.php on line 85 removePrefixedCookie: Can't remove cookie(lastUrl), headers already sent! Output started in /home/name_of_server/public_html/cmsAdmin/lib/errorlog_functions.php line 130. in /home/name_of_server/public_html/cmsAdmin/plugins/websiteMembership_1.05/websiteMembership.php on line 112

nmsinc

HI nmsinc, 

Did that happen just once, or is it ongoing?  And can you email me the stacktrace from the error log?

I'll take a look, thanks!

Dave Edis - Senior Developer
interactivetools.com

By nmsinc - Monday at 3:19pm - edited: Monday at 3:19pm

I have the backtrace - not sure how to access the stack trace!

#0 Script started at /home/name_of_server/public_html/user-login.php:0
#1 include_once() at /home/name_of_server/public_html/user-login.php:5
#2 doAction() at /home/name_of_server/public_html/cmsAdmin/lib/viewer_functions.php:18
#3 _websiteLogin_init() at /home/name_of_server/public_html/cmsAdmin/lib/plugin_functions.php:301
#4 _websiteLogin_login() at /home/name_of_server/public_html/cmsAdmin/plugins/websiteMembership_1.05/websiteMembership.php:37
#5 removePrefixedCookie() at /home/name_of_serverpublic_html/cmsAdmin/plugins/websiteMembership_1.05/websiteMembership.php:112
#6 trigger_error() at /home/name_of_server/public_html/cmsAdmin/lib/http_functions.php:329
#7 Caught Fatal error at /home/name_of_server/public_html/cmsAdmin/lib/http_functions.php:329

The cookie:

cms_8b392_lastUrl => "https://name_of_server.com/collections/workAccounts.php"
cms_8b392_loginsession => "==Qf5ETM5IzNxQzNxojIzNXZjNWQ0NXYsJCLiETN3ImNlZWO0QmY0AjZwAzN1MjNwcTMwITZkNTNwYzM3QGN2gTMiZGJxEGazRiI6ICazFGSkJ3b3N3chBnIsIyYul2ct5mI6ISZtFmbyV2c1Jye"
PHPSESSID_465875 => ***REDACTED***
PHPSESSID_726833 => ***REDACTED***
roundcube_cookies => "enabled"

nmsinc

Thanks!

Did that happen just once, or is it ongoing?

Dave Edis - Senior Developer
interactivetools.com

You helped update our site with the new CMS a couple of months back. I'm on the site daily until I took a vacation and was away for more than 10 days. Upon returning, I was not able to login! The CMS has the auto-logoff set for ten days! 

I can login to the CMS with no issues and I would think that when I access the site controlled by the membership script it would see my login, it does not!

nmsinc

Hi nmsinc, 

Okay, great.  I'm glad that was resolved, and thanks for posting the fix!

Let us know if you run into any more issues.

Dave Edis - Senior Developer
interactivetools.com