"Chris Knipe" <[EMAIL PROTECTED]> wrote:

> Lo all,
> I upgraded from PHP 4.2.1 to 4.2.2, and now all of a sudden the following
> code is generating a WARNING???
>     if (file_exists("themes/$ThemeSel/modules/$name/$mod_file.php")) {
>         $modpath = "themes/$ThemeSel/";
>     }
> I don't get it?
> Warning: Unable to access themes/DeepBlue/modules/News/index.php in
> /usr/local/www/v-webs/games.savage.za.org/html/index.php on line 46
> Line 46 is the if statement

If you have using a new php.ini file, perhaps you can compare it with an old
one and see if there's anything different--might give you a hint.

Or, you might want to check the manual about error reporting and see what
you can do about it:


But then again, perhaps the problem is somewhere else... (i.e. file is not
there, permissions, etc.)


- E

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to