Re: Upgrade issues
| From: | Marek Kilimajer | Date: | Mon, 25 Nov 2002 18:19:45 +0000 |
| Subject: | Re: Upgrade issues | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125966@lists.php.net to get a copy of this message | ||
Check the owners of directories and files, they must be the same as for
/usr/local/www/v-webs/games.savage.za.org/html/index.php, then it should work under
safe mode too.
Chris Knipe wrote:
my{if (file_exists("themes/$ThemeSel/modules/$name/$mod_file.php"))anIf you have using a new php.ini file, perhaps you can compare it with$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 statementoldYeah, and no. It's FreeBSD-Ports, my php.ini is unchanged. FreeBSD installs the new / updated ini files as ini-dist, so hence, nothing onone and see if there's anything different--might give you a hint.
notsettings has changed. I did also check to verify this, and it is indeedthecorrect ini file, with the correct settings...But then again, perhaps the problem is somewhere else... (i.e. file is
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'sthere, permissions, etc.)Yes the file does not exist. But isn't that why file_exists() is there?
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.As ridiculous as this sounds... Turning of safe mode made the warning go away. Now, I guess the question is, 1) is this a bug in the file_exists() function, or 2) does the default warning levels increase when operating under safe mode? Either way, this never happened to me before, and is only now happening since upgrading from 4.2.1 to 4.2.2... Rather peculiar I think... -- me