From: Andrew S. <and...@pa...> - 2003-02-28 19:16:20
|
On Fri, 28 Feb 2003 12:16:26 -0600 Mike Tesch <mi...@lo...> wrote: > Hi, > > I've just installed core, and am having a problem where, > when I initally try to log in as admin, I get the error > "No ip address found." > My setup is: > RedHat 8 > core-lan-org-2.0.2.tar.gz > php-4.2.2-8.0.5 > postgresql-7.2.3-5.80 > httpd-2.0.40-8 > You are right: it's a bug between Apache 2 and PHP 4.2.x. You can change each occurrence of getenv() to $_SERVER(), and that will fix it. The affected files are index.php and /includes/security.php. I've made the change to $_SERVER() in the CVS (but the files are not fully compatible with ver 2.02 - so don't grab them). The bug also been listed in Red Hat bugzilla for PHP, and the recent errata update of PHP (for RH8) is meant to have fixed the bug. > I don't really know much about php, but I tried the > <?php > phpinfo; > ?> > trick and didn't get anything back, just an empty page > with "<html><body></body></html>" Sorry - made a typo in one of my previous emails to this list. Should be phpinfo(). Andrew |