Skip to main content
Participant
August 17, 2007
Question

Dev Toolbox Error

  • August 17, 2007
  • 1 reply
  • 350 views
I'm trying to create a user registration form using the developer toolbox, I'm building it and everything, when I'm running it, I'm getting the following error:

Fatal error: Class 'tNG_FormValidation' not found in D:\wamp\www\dw\r.php on line 14

Here is the code from line 14 till 18

quote:

$formValidation = new tNG_FormValidation();
$formValidation->addField("user", true, "text", "", "", "", "");
$formValidation->addField("pass", true, "text", "", "", "", "");
$formValidation->addField("email", true, "text", "email", "", "", "");
$tNGs->prepareValidation($formValidation);


Can someone please tell me what am I doing wrong?
This topic has been closed for replies.

1 reply

Inspiring
August 17, 2007
GS0997 wrote:
> I'm trying to create a user registration form using the developer toolbox, I'm
> building it and everything, when I'm running it, I'm getting the following
> error:
>
> Fatal error: Class 'tNG_FormValidation' not found in D:\wamp\www\dw\r.php
> on line 14


It means that the file containing the definition for the
tNG_FormValidation class cannot be found.

All the class files are located in the includes folder that ADDT creates
in your site root. Don't ask me which one, because the ADDT includes
folder contains about 30 subfolders and more than 150 files.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/