|
You're unlikely to have problems with the core modules and blocks discussed in this chapter. The core PostNuke components are very consistent after your Content Management System (CMS) install is complete. Third-party module integration is always a moving target, and you might find issues using version combinations that are not fully tested. Some of the more common issues found with these third-party modules are outlined in the following sections. Inconsistent pnBloodhound DatapnBloodhound only tracks users that visit a PostNuke page that includes the module's block. For consistent data, you must be certain the block appears on all pages. Depending on the theme you are using, it might require additional changes to make the block universal. Xanthia themes can be especially difficult to adjust to include universal modules. Also due to the way PostNuke and PHP itself handle sessions, it is not possible to track all visitors. If your site has static pages, user traffic to those areas is not tracked. Search engine bots and spiders (and possibly some visitors) might not trigger a load of the block and, therefore, remain invisible. "undefined constant" in Statistics Parameter ConfigurationYou might see this error message at the top of the Statistics Parameter Configuration page: Notice: Use of undefined constant _MONTH - assumed '_MONTH' in [your server path]/modules/statistics/pnadmin.php on line 86 This is a known issue in Statistics v5, and it is easy to fix. Edit the admin.php file at the following path: /modules/statistics/pnlang/eng/admin.php Around line 70, you see a series of time-related definitions. Insert this line: define('_MONTH','Month'); // added for bug fix between Day and External, as shown in the following code segment: define('_ARCHIVE','Archive'); define('_ALL','All'); define('_MINUTE','Minute'); define('_HOUR','Hour'); define('_DAY','Day'); define('_MONTH','Month'); // added for bug fix define('_EXTERNAL','External'); define('_NONE','None'); define('_FUNCTION','Function'); Save the change and the error message is gone. Statistics Collect Stats Check Box Doesn't Remain CheckedSome versions of PostNuke seem to have a problem with the automated install of Statistics. First try selecting the check box again and resubmit. If that fails, deactivate the module, remove it from PostNuke, and then reinstall it cleanly a second time. Confirm that the Statistics folder's permissions allow writing to the directory. Should the automated installs not produce a working system, your only option is a manual install. The manual process has more steps and can be a bit more complicated. The complete manual install instructions are available online in the module's official readme document at http://www.mtrad.com/statistics_README.php. |
|