Date: 03/30/00
- Next message: Rob Tolman: "[PHPLIB] Installation Questions on WinNT"
- Previous message: Sascha Schumann: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi again:
As you may guess I'm new to phplib and I'm having some problems making
it run properly.
I've configured it as explain in the manual using mysql 3.23.12c-alpha.
The example that comes with the distribution runs fine, but when I try
my own files, it doesn't.
Now I'm only using this statements:
<?php
include("./myprepend.php3");
page_open(array("sess" => "Mydatabase_Session"));
?>
...at the beginning of the file, and...
<?php
page_close();
?>
...at the end.
The page shows but it also shows this error message:
Database error: Invalid SQL: insert into active_sessions ( sid, name,
val, changed ) values
('c922fb382334404f2d7bdcbf9d4517e9', 'Mydatabase_Session',
'Q2FydGFib25fU2Vzc2lvbjokdGhpcy0+aW4gPSAnJzsgJHRoaXMtPnB0ID0gYXJyYXkoKTsgJHRoaXMtPnB0WydjYXJybyddID0gJzEnOyAkR0xPQkFMU1snY2Fycm8nXSA9ICcnOyA=',
'20000330212843')
MySQL Error: 1062 (Duplicate entry
'Mydatabase_Session-c922fb382334404f2d7bdcbf9d4517e9' for key 1)
Session halted.
If I'm using this simple feature, and if the example runs well, why am I
having this error? Help, please.
Thank you, very much.
Jesús.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Rob Tolman: "[PHPLIB] Installation Questions on WinNT"
- Previous message: Sascha Schumann: "Re: [PHPLIB] Re: [PHP3] persistent data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

