Fork me on GitHub

<!--[pndebug]--> or <!--[debug]-->  Bottom

  • I am trying to integrate PostNuke with some other software and I need to examine PostNuke's session and global variables. I recall that the debug facility will show a Popup with much of this info.

    I am using 0.750 for this particular site.

    I am trying to use either or tags to display the debug information.

    I have set the variables correctly in config.php

    With earlier versions of postnuke, I had success using (I think) .

    For pndebug I get the error:

    Code

    Smarty error: unable to read resource: "modules/pnRender/pntemplates/pndebug.html" in <sanitised>/public_html/includes/classes/Smarty/Smarty.class.php</b> on line 1083


    For debug I get the error:

    Code

    Warning:  Smarty error: unable to read resource: "file:includes/classes/Smarty/debug.tpl" in <sanitised>/public_html/includes/classes/Smarty/Smarty.class.php</b> on line 1083


    I checked the permsions on the files and this is not a permissions problem.

    I tried one of my other sites on my test server which is also a fairly standard install of PN750, however couldn't get the debug facility to work in that site either.

    To try and resolve the problem, I tried copying pndebug.html from the standard location to the templates directory of my theme. This attempted work around was not successful.

    Any suggestions or idea as to why debug tags are not working?

    BTW, I am running PN750 with latest patches on Apache 2.0.52 on Linux with PHP 4.3.11.
  • There are some strange issues with the pndebug plugin in .750 which have been fixed in .760 although I was not able to reproduce them. You can use the updated plugin + template from the RC5 if you want.

    --
    "He is not dangerous, he just wants to play...."
  • Ok thanks. I'll give the updated pndebug plugin a try and post the result.
  • Using the plugin from .760rc5 fixed the issue. Thanks for your help. I am now using the <--[pndebug]--> tag.

This list is based on users active over the last 60 minutes.