Hi!
I had the same error once on my development machine at home while there was no error on my other machine at work. Later versions of PHP or some recompilations have a default error level of E_ALL (see description of error constants in PHP help file). Here most of them are:
1 E_ERROR
2 E_WARNING
4 E_PARSE
8 E_NOTICE
By default most providers set the default error level to
error_reporting(E_ALL ^ E_NOTICE);
so notices are ignored. Among common notices are notices for non-existant array index, undefined variables or non-existant file when is_file() is called.
So, to fix your problem I suggest you place the above line into one of the include files you always call in your scripts and it's done.
Home this helped,
Stanislav