-
I get the same error as fong.
Fatal error: session_start() [function.session-start]:
Failed to initialize session module in
register_globals=off so that doesn't seem to be the
problem.
I am using:
PHP 4.3.1
Mysql 3.23.54
Apache 2.0.45
thx
Barry Daniels.
2003-04-17 15:33:32 UTC by bdaniels
-
Logged In: YES
user_id=212797
The same occurs on line 197.
2002-03-14 21:08:07 UTC by inbowned
-
Here is the modified session_write function, the
original crashes because of the test ran to check if
the session already exists.
Pear error handling overrides your test, so when you
try to do an insert on a session_id which already
exists PEAR crashes saying "Duplicate record"
function pear_session_write($session_id, $data)
{
/*
* Writes serialized session data...
2002-01-16 08:03:16 UTC by tleilax
-
On line 174
return !(DB::isError($result));
It should be
return !(DB::isError($rs));
so either you use $rs or $result but not both in the
same function ;)))))
2002-01-16 07:43:16 UTC by tleilax
-
Logged In: YES
user_id=212797
Fixed in latest online version(0.9.0)
2002-01-09 05:56:55 UTC by inbowned
-
18c18,20
< * The following PHP.INI settings are relevant:
---
> * To use pearsession, simple include the pearsession
php source file in
> * each php file that will use session functions. In
addition to this the
> * following PHP.INI settings are relevant:
170c172
< return !(DB::isError($result));
---
> return !(DB::isError($rs));.
2002-01-09 05:51:02 UTC by samj
-
Main PHP File does not mention where it must be
installed - might be a nice idea to mention that it
just needs to be included in each file that uses
session stuff.
Cheers
Marc Bown
marc@inbowned.com.
2001-12-28 00:29:17 UTC by inbowned
-
Logged In: YES
user_id=236770
It works! I can't explain it, but it just does. All the data is
logged to the MySQL table in all its glory. Thanks for
the suggestion.
2001-12-09 09:25:24 UTC by fong
-
Logged In: YES
user_id=98303
Please turn off register_globals and let me know if the
problem is solved.
2001-12-09 08:15:18 UTC by samj
-
Fatal error: Failed to initialize session module in...
I am getting this error as soon as I try to register
any session variables. I have already changed
session.save_handler to user, but am still getting
this error. I am using MySQL and PHP 4.0.6.
2001-12-06 15:36:57 UTC by fong