PostNuke Swiss Army Knife

VERSION 1.02 - Feb 09, 2005

Author: Christopher S. Bradford, Frank Schummertz (landseer)

What's New

Version 1.01 has some minor fixes and clean-ups. The biggest change is that it will now work properly with new versions of PHP with register_globals turned off. Thanks to contributor Martin Andersen for submitting changes.

Version 1.02 also supports PN .760 RC2 or later (changed include path to Adodb, added option to switch a PN site on after switching it off in the settings and logging out)

What is it?

This is a tool for system administrators of sites running the PostNuke content management system.   This tool contains a set of extremely powerful tools for helping administrators get out of some crappy situations, like when they lock themselves out of their own site and can no longer administer it.

Why?

I spend a lot of time in the PostNuke support forums, answering questions for people.  Mostly, the people that frequent the support forums are administrators new to PostNuke, or administrators that were handed a PostNuke based site and have little technical knowledge.  In either case, there are a few major pitfalls that a new PostNuke administrator can encounter.   These pitfalls occur frequently enough, that these same problems are encountered by different users several time each week.   Rather than continue to lead the users through technical details of fixing the problem, which they may not understand, I decided to do something about it.  Thus, I carved out the beginnings of a support tool to aid postnuke administrators in fixing their broken sites.

The Tool

The PostNuke Swiss Army Knife is contained within a single PHP script.  To use this script, copy it to your web root, and point your browser to the URL.  You'll begin at the main menu. The interface is extremely simple.  Anything fancier would be completely not necessary to get the job done. Here are the available functions in version 1.00, and the problem scenarios they are designed to fix:


*** IMPORTANT SECURITY WARNING ***

The PostNuke Swiss Army Knife provides very low level, raw access to critical components within the PostNuke system.  This script has no passwords, or other such front-end security. There are 2 recommended things with handling this tool to keep your site safe.1.  This script is designed to be renamed.  I HIGHLY RECOMMEND that you rename the script to something other than its default name. 2.  When not in use, move the script out of your web directory and keep in a safe location.

DOWNLOAD: psak_1.02.zip -- Version 1.02 archive


Design notes The PSAK is designed to coincide with postnuke, but work independently of system resources.  It does require the config.php, pntables.php, and the pnadodb database interface.  Otherwise, it doesn't use PostNuke system components, such as the API.  The nature of the tool is such that it should be as independant from PostNuke as possible.