SM Debug Bar
[resolved] Does not run on Windows (3 posts)

  1. JochenT
    Posted 3 years ago #

    The calculation of the variable $currentWorkingFile only considers forward slashes. Windows uses back slashes instead. Thus the function explode() does not match. A more system independant approach may be:

    $currentWorkingFile = basename(__FILE__);
    $cwdFullPath = dirname(__FILE__);
    $cwd = basename( $cwdFullPath);

    I use this mod since several month and had no problems on Linux or Windows.


  2. Seth Carstens
    Posted 3 years ago #

    Thanks for the info! We will get this patched up in the next release.

  3. Seth Carstens
    Posted 3 years ago #

    We have updated the plugin and with your recommended fix, everything appeared to work well on both linux and windows servers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SM Debug Bar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic