Coder Social home page Coder Social logo

user_tracking's People

Contributors

mc12345678 avatar

Watchers

 avatar

Forkers

drbyte

user_tracking's Issues

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

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.

HTML code included within php "section"

Line 390 of admin/user_tracking.php includes code that was "commented out" from the previous version; however, is not made to display as would be expected for its placement. It should either be removed or if desired to still be a placeholder made to be pushed to the browser rather than parsed as php.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.