"Chris Knipe" <[EMAIL PROTECTED]> wrote: > > > 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. > > Yeah, and no. It's FreeBSD-Ports, my php.ini is unchanged. FreeBSD > installs the new / updated ini files as ini-dist, so hence, nothing on my > settings has changed. I did also check to verify this, and it is indeed the > correct ini file, with the correct settings... > > > But then again, perhaps the problem is somewhere else... (i.e. file is not > > there, permissions, etc.) > > Yes the file does not exist. But isn't that why file_exists() is there?
Right, I might be typing faster than I am thinking... :) Still, just make sure that PHP is using the php.ini file that you think it's using. The file that _you_ check didn't change but _php_ might be looking somewhere else... Of course, I could be wrong--haven't used FreeBSD/Ports--only linux. Perhaps, somebody else knows the answer... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php