Re: Upgrade issues

From: Date: Mon, 25 Nov 2002 15:19:33 +0000
Subject: Re: Upgrade issues
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125933@lists.php.net to get a copy of this message
Hello, "Chris Knipe" <savage@savage.za.org> 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: http://www.php.net/manual/en/function.error-reporting.php But then again, perhaps the problem is somewhere else... (i.e. file is not there, permissions, etc.) HTH, - E

« previous php.general (#125933) next »