[horde] Problem(s) with Horde basic, MySQL and PHP 4.2.3

Tony Earnshaw tonni at billy.demon.nl
Sun Dec 1 08:22:44 PST 2002


Hi list,

Well now, further to my posting of Friday last at 18:40 CET.

I've since discovered that:

Putting:

require '/config/horde.php'; at the top of: lib/Auth/sql.php Obviates
the need for:

$this->params = $GLOBALS['conf']['prefs']['params'];

So that:

$this->params = $params;

now works and  I don't get any faults any more in sql.php (which my
previous post referred to).

On the other hand, on trying a browser login, all I get is a blank page
out of login.php and nothing happens.

If I put:

foreach ($conf['prefs']['params'] as $key=>$value) {
print "\$conf['prefs']['params'][\"$key\"] == $value<br>\n";
}

into login.php, all values for the aray $conf are reported accurately:

$conf['prefs']['params']["phptype"] == mysql
$conf['prefs']['params']["hostspec"] == localhost
$conf['prefs']['params']["username"] == horde
$conf['prefs']['params']["password"] == horde
$conf['prefs']['params']["database"] == horde
$conf['prefs']['params']["table"] == horde_users

But debug attempts on:

$auth = &Auth::singleton($conf['auth']['driver'],
$conf['auth']['params']);

lead to *nothing*  In other words, calling the function &Auth::singleton
leads to nothing and no fault is reported. Nothing is entered into
/usr/local/apache/logs/horde.log, unless I log out (one of 2
alternatives), in which case the logout is reported.

In the mean time, I've downloaded the latest Horde-recomended PEAR
stuff, pear-4.1.0.tar.gz and installed it; doesn't help. Anybody any
ideas?

Chuck? I want to get this working :-)

Best,

Tony

-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni at billy.demon.nl
www:		http://www.billy.demon.nl





More information about the horde mailing list