FORMfields, the premiere web framework
Login
Support Home | Knowledge Base | Documentation | Forums | Contact Us
Info
FORMfields & FORMgen :: PHP Configuration

Turning Off PHP Notice & Strict Messages

(2588 views. Last Updated: 2014-08-16 2:24 PM)

Note: this is required when using FORMfields with the latest versions of PHP.

FORMfields Lib 3.0 turns on full error reporting and even reports notices. This is true even when you have turned off notice reporting via php.ini. Some forms and conventions that were used with earlier versions of the FORMfields Lib generate notice errors. You can turn off notice reporting globally by editing src/FfGlobals.php and replacing:
error_reporting(E_ALL);
with:
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
Or, you can turn off notice reporting on a per form basis by adding:
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
right after the require command that includes FORMfields.php.
Info
Support | Earn Money
Copyright © 2005-2019 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.