Rate this article

Fatal error: Class 'tNG_dispatcher' not found

Rating: 5.0/5 (1 vote cast)

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("../");

Adobe

ionCube Online PHP Encoder
Free PositiveSSL and WhoisGuard with Every Domain Purchase
XMS Systems

Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites.
We do not take any responsibility for any data-loss, loss in functionality or any problem that might arise in what-ever way or form by making use of the information on this site.

"Friends of Interakt" has no connection to the Adobe Interakt Company