Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZC 1.5.7, PHP 7.3 - Logged out of admin when viewing session data #4

Closed
mc12345678 opened this issue Jan 2, 2021 · 1 comment
Closed

Comments

@mc12345678
Copy link
Owner

After installation of Version 1.5.9 to ZC 1.5.7b, when attempting to "view" the user tracking history of a session, had a myDEBUG-adm file generated and was logged out of the admin:

[DATE TIME TIMEZONE] Request URI: /admin/index.php?cmd=user_tracking, IP address: IP_ADDRESS
#1  session_decode() called at [/PATH_TO_STORE/admin/user_tracking.php:778]
#2  require(/PATH_TO_STORE/admin/user_tracking.php) called at [/PATH_TO_STORE/admin/index.php:11]
--> PHP Warning: session_decode(): Failed to decode session object. Session has been destroyed in /PATH_TO_STORE/admin/user_tracking.php on line 778.

[DATE TIME TIMEZONE] Request URI: /admin/index.php?cmd=user_tracking, IP address: IP_ADDRESS
#1  session_decode() called at [/PATH_TO_STORE/admin/user_tracking.php:787]
#2  require(/PATH_TO_STORE/admin/user_tracking.php) called at [/PATH_TO_STORE/admin/index.php:11]
--> PHP Warning: session_decode(): Session is not active. You cannot decode session data in /PATH_TO_STORE/admin/user_tracking.php on line 787.

The code of the Zen Cart's who's online is able to provide the desired information without this issue. The hint may be in the associated class file that may also allow stepping away from individual code within the plugin and depend even more on ZC's code.

@mc12345678
Copy link
Owner Author

Fixed primarily in: 182f0ec

To be released as part of version 1.5.10 upon update of other information to support distribution to Zen Cart forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant