Re: LiveUser - Cookie gets set but Session won't start
| From: | Hector Partidas | Date: | Thu, 06 Apr 2006 14:23:41 +0000 |
| Subject: | Re: LiveUser - Cookie gets set but Session won't start | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23554@lists.php.net to get a copy of this message | ||
login() == false;
After reading your email, i decided to run the installer again, but using
the modified array with the one i'm using when i'm trying to log into the
system with and i think i've narrowed it down some, Its telling me that it
can't find the driver, how ever, it is installed because i downloaded it and
its what i've been working with. I'll try setting up the path for it
directly see if that works.
array(7) {
["code"]=>
int(-3)
["params"]=>
array(0) {
}
["package"]=>
string(8) "LiveUser"
["level"]=>
string(9) "exception"
["time"]=>
float(1144332033.64)
["context"]=>
array(4) {
["file"]=>
string(60) "C:\Archivos de programa\xampp\php\pear\LiveUser\LiveUser.php"
["line"]=>
int(546)
["function"]=>
string(9) "loadClass"
["class"]=>
string(8) "LiveUser"
}
["message"]=>
string(48) "File for the class does not exist LiveUser_Auth_"
}
bool(false)
*Warning*: MDB2::include_once(MDB2\Driver\.php)
[function.include-once
<http://localhost/coapetrol/sql/function.include-once>]:
failed to
open stream: No such file or directory in *C:\Archivos de
programa\xampp\php\pear\MDB2.php* on line *330*
*Warning*: MDB2::include_once() [function.include
<http://localhost/coapetrol/sql/function.include>]:
Failed opening
'MDB2\Driver\.php' for inclusion (include_path='.;C:\Archivos de
programa\xampp\php\pear\') in *C:\Archivos de
programa\xampp\php\pear\MDB2.php* on line *330*
object(MDB2_Error)#4 (8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-4)
["message"]=>
string(21) "MDB2 Error: not found"
["userinfo"]=>
string(61) "unable to find package 'MDB2_Driver_' file
'MDB2\Driver\.php'"
["backtrace"]=>
array(8) {
[0]=>
array(6) {
["file"]=>
string(47) "C:\Archivos de programa\xampp\php\pear\MDB2.php"
["line"]=>
int(866)
["function"]=>
string(10) "PEAR_Error"
["class"]=>
string(10) "PEAR_Error"
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(21) "MDB2 Error: not found"
[1]=>
int(-4)
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
string(61) "unable to find package 'MDB2_Driver_' file
'MDB2\Driver\.php'"
}
}
On 4/6/06, Lukas Smith <lsmith@php.net> wrote:
>
> Hector Partidas wrote:
>
> > Ok It installed and what not. I added a user and tried to login to it
> > (downloaded the tutorial files from gvngroup.be) using the following
> array:
>
> again the idea with the installer is that you use the exact same config
> file for the installation as you do during the run time.
>
> > Which should be Session ID, how ever, it simply won't log in. I really
> don't
> > know how to go about this, I spoke with lukas and he said the config
> arrays
> > were set up accordingly (i showed him atleast 3 different ones i tried),
> So
> > i really don't know how to go about this, hope someone has a more of a
> clue
> > than me =)
>
> What does login() return? Did you cal init() before? What does
> getErrors() return after calling init() and login()?
>
> regards,
> Lukas
>
>
--
Atentamente,
Héctor Partidas
Desarrollador
tuWebFacil.com