Reputation: 87
I am getting error like below and how to fix it
error for adodb library ...\adodb\session\adodb-session2.php on line 465.
Recoverable fatal error: session_module_name(): Cannot set 'user' save handler by ini_set() or session_module_name()
Upvotes: 4
Views: 12003
Reputation: 20780
I found a bug report in the PHP website about this one.
The fact is that it was removed because it was not useful. Instead, you are expected to call the session_set_save_handler()
function and if you think about it, that's enough for clearly showing the intend.
So verify that your application does indeed call session_set_save_handler()
if you want to make sure that the user mode is selected. As for that specific ini_set()
line, you can just comment it out as Lakshmi said in his answer.
Upvotes: 1
Reputation: 43
Please go to the php file
db-functions-adodb.inc.php
and comment or remove the following line of code
ini_set('session.save_handler', 'user');
Upvotes: 4