Fatal error: Class 'tNG_dispatcher' not found

Fatal error: Class 'tNG_dispatcher' not found

Fatal error: Class 'tNG_dispatcher' not found
divider

Fatal error: Class 'tNG_dispatcher' not found.

If you get this error search for the following code-blocks:

// Make a transaction dispatcher instance
$tNGs = new tNG_dispatcher("../");
// Load the tNG classes
require_once('../includes/tng/tNG.inc.php');

Make sure the second block is parsed BEFORE the first one.

Simply change them around to load the tNG class first before parsing the tNG_dispatcher

// Load the tNG classes
require_once('../includes/tng/tNG.inc.php');
// Make a transaction dispatcher instance
$tNGs = new tNG_dispatcher("../");
Written by:  - 7 Sep, 2009