Hi,

I think that this is a problem with php-pear.

install 
pear-PEAR and pear-DB, put the folder in the include_path.

This is what I have in my SLES9 php.ini installation:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
include_path = ".:/php/includes:/usr/share/php"

Locate your equivalent of  "/usr/share/php" on your php instalation and change 
your php.ini file...

Restart apache and try to login.

Regards,
Leon Kolchinsky

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Skwar
Sent: Saturday, March 04, 2006 10:15 PM
To: [email protected]
Subject: Re: [Web-cyradm] Cannot login on new installation on Gentoo

Alexander Skwar wrote:

> Why's web-cyradm not connecting to mysql?

Because there's something strange in auth.inc.php.

Right at the beginning, there's:

if ($ref!=$_SERVER['SCRIPT_FILENAME']){
        header("Location: index.php");
}

When I print $ref and $_SERVER['SCRIPT_FILENAME'], I get:

SCRIPT_FILENAME=/var/www/localhost/htdocs/web-cyradm/auth.inc.php
ref=/var/www/localhost/htdocs/web-cyradm/index.php

Hm.

I don't get this. How's that supposed to work? Can
$ref ever have some other value than index.php? Or
rather, can it ever have the value auth.inc.php?

Alexander Skwar
-- 
You will be the victim of a bizarre joke.
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to