En:Warning Undefined variable
From phpCMS
Question: Why do I get "Warning: Undefined variable in ..."?
Answer:
This message is triggered if a lazy programmer has forgotten to define all variables before they are used and in his development system all warnings were turned off.
Solution (for the programmer): Turn the warnings 'on' in the php.ini, the name of the variable is 'error_reporting' and the needed value is 'E_ALL & ~E_NOTICE'. The line should look like this:
error_reporting = E_ALL & ~E_NOTICE
This is not really needed in the current phpCMS versions because the code was cleaned up and an iniset is inserted.
(Original entry by mycra, further developed by obw)
Diese Seite in anderen Sprachen: Deutsch
Main Page: FAQ MainPage | Top Page: English FAQ MainPage

