Home » Authentication » LiveUser » Bug #5361
path error found in LiveUser::authFactory($conf['authContainers'][0], 'foo');
Details
| Submitted | 2005-09-12 03:22 UTC |
|---|---|
| From | nepolon at worlddomination dot net |
| Status | Bogus |
| Package | LiveUser |
| PHP Version | 5.0.5 |
| OS | FreeBSD 5.4-STABLE |
| Roadmaps | (Not assigned) |
Comments
[2005-09-12 03:22 UTC] nepolon at worlddomination dot net
Description:
------------
Installed packages:
===================
Package Version State
Archive_Tar 1.3.1 stable
Console_Getopt 1.2 stable
Crypt_RC4 1.0.2 stable
DB 1.7.6 stable
Event_Dispatcher 0.9.1 beta
LiveUser 0.16.6 beta
Log 1.8.7 stable
MDB 1.3.0 stable
MDB2 2.0.0beta5 beta
MDB2_Schema 0.2.0 beta
PEAR 1.4.0b2 beta
XML_DTD 0.4.2 alpha
XML_Parser 1.2.6 stable
XML_RPC 1.4.1 stable
XML_Tree 2.0.0RC2 beta
PHP Configure line
'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-spl' '--with-regex=php' '--disable-cli' '--enable-force-cgi-redirect' '--enable-fastcgi' '--prefix=/usr/local' 'i386-portbld-freebsd5.3'
Running on a local install on a 'shared host' per http://pear.php.net/manual/en/installation.shared.php
php.ini is running the standard production settings
my include_path looks like this:
/home/myusernameonsharedhost/pear/lib:.:/usr/local/share:/usr/local/share/smarty:/usr/local/share/adodb:/usr/local/share/jpgraph:/usr/local/lib/php/pear:/usr/local/share/pear
Test script:
---------------
I am getting the following error from the DB-install script: ~/pear/data/LiveUser/misc/schema/install.php
This error is generated by the following line:
// create instance of the auth container
$auth =& LiveUser::authFactory($conf['authContainers'][0], 'foo');
Expected result:
----------------
the generation of LiveUser database tables
Actual result:
--------------
array(7) {
["code"]=>
int(-10)
["params"]=>
array(1) {
["container"]=>
string(40) "could not connect: MDB2 Error: not found"
}
["package"]=>
string(8) "LiveUser"
["level"]=>
string(5) "error"
["time"]=>
float(1126494002.4)
["context"]=>
array(4) {
["file"]=>
string(56) "/users/home/myusernameonsharedhost/pear/lib/LiveUser/Auth/MDB2.php"
["line"]=>
int(141)
["function"]=>
string(4) "init"
["class"]=>
string(18) "LiveUser_Auth_MDB2"
}
["message"]=>
string(0) ""
}
a number of other errors mirror this.
Notice the path "/users/home/myusernameonsharedhost/pear..."
the path "/users/" is not valid, and doesn't look like an error in my setup. I presume this is coming from within the LiveUser package