Re: [PHP] upgrade issues

2003-02-06 Thread Jason Sheets
It looks like your code is using register globals which are turned off by default in PHP 4.2 and greater. You can either modify your code to use the PHP super globals or turn register globals back on (you can do this in php.ini or via an httpd.conf/.htaccess). Jason On Thu, 2003-02-06 at 08:12, B

Re: [PHP] Upgrade issues

2002-11-25 Thread Chris Knipe
" <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 8:19 PM Subject: Re: [PHP] Upgrade issues > 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. >

Re: [PHP] Upgrade issues

2002-11-25 Thread Marek Kilimajer
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: if (file_exists("themes/$ThemeSel/modules/$name/$mod_file.php")) { $modpath = "th

Re: [PHP] Upgrade issues

2002-11-25 Thread Chris Knipe
> > > > 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

Re: [PHP] Upgrade issues

2002-11-25 Thread @ Edwin
"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/lo

Re: [PHP] Upgrade issues

2002-11-25 Thread Chris Knipe
> > 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 4

Re: [PHP] Upgrade issues

2002-11-25 Thread @ Edwin
Hello, "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/"; > }