Support » Fixing WordPress » TraceWatch with WordPress

Viewing 8 replies - 1 through 8 (of 8 total)
  • Well, what works for others doesn’t work for everyone. I’ve written a plug-in that adds it to the shutdown hook, it solved all of my issues with running tracewatch in WP, but the only other person who gave it ago, wasn’t successful, though I think it was his set-up. Go to my website and send me a message through the “contact me” page if you’d like to give it a go, I will make it available, but I’d kind of like to know if it’s going to work for anyone else.


    I use TraceWatch at my site. I just went to their code generator page ( and inserted the code in my footer.

    Thx Mike and turk for the reply
    I’m gonna try it in my footer and see how things will go

    i too am trying to get TraceWatch to work properly in WP (1.5.2) using the PHP page code without much success.
    I’ve tried it on non-WP-generated pages and it works just like it should, but using the code in many different spots (header, footer, index, blog_header)in the WP pages doesn’t return any results.
    There seems to be mixed results with this, but haven’t found the implementation that works for me, yet.
    Still looking for anyone who has it working and how they set it up.

    the resolution to my situation:
    In my server directory I have TraceWatch folders/files in their own (non-root) folder (tw)
    My WP folders/files are in their own (non-root) folder (wordpress)
    With the TraceWatch code generator i needed to specify:

    * as a Remote TraceWatch address
    * /tw as the ‘other’ (non-root) address of the local TraceWatch files
    @include_once $GLOBALS[‘HTTP_SERVER_VARS’][‘DOCUMENT_ROOT’].’/tw’.’/twatch_include/extlogger.php’;
    with this code in the theme’s footer.php it works as it should for me.
    maybe this can save someone else some time…

    Wow, this is really cool stuff! Thanks for the info, and thanks for posting your own resolutions.

    Just add this

    @include_once $GLOBALS[‘HTTP_SERVER_VARS’][‘DOCUMENT_ROOT’].’/twatch_include/logger.php’;

    Has anybody worked out a fix for this? I have the provided snippet (@include_once $GLOBALS[‘HTTP_SERVER_VARS’][‘DOCUMENT_ROOT’].’/twatch_include/logger.php’;)
    in my footer.php…

    but no stat update is occuring. I made sure that the evaluation for document_root is correct and the file should be being included…. but no updates are occuring…

    I’ve tried wp-content/index.php, wp-blog-header.php, header.php, nothing is working.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘TraceWatch with WordPress’ is closed to new replies.