I am trying to get ibwebadmin up and running. I am stuck at this error though:
Fatal error: session_start(): Failed to initialize storage module: user (path: /var/lib/php4) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 16
Any ideas on what may be wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
do you have other applications successfully running with your php installation? Is everything ok with the directory configured as session.save_path? Do you use any special session settings?
Everything is fine with php as far as I know. I am running an up to date debian sid installation with Apache2 and php4 and mysql. (I am not trying to use ibwebadmin with mysql ;)
I am hosting a couple of xoops websites with no problems .
I do NOT have an interbase server installed on the system itself. I was hoping to control another server on a windows box I have on the lan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Warning: session_start(): open(/var/lib/php4/sess_ffcb82a4130c5f8edcfb0a3a5bf6391a, O_RDWR) failed: Permission denied (13) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 18
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/share/ibwebadmin/inc/script_start.inc.php:18) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What is the value of session.save_path in your php.ini file? It seems to be /var/lib/php4/ ?!? Make sure that session.save_path is set to a directory where the webserver have read/write access.
Lutz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, fine that you succeed. But your php configuration seems to be somehow weird. By default session.save_path is set to /tmp.
isql and the other firebird utilities are needed for some tasks, e.g. creating triggers and stored procedures, database backup and restore. But data maintenance and most other things will work without them.
Lutz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to get ibwebadmin up and running. I am stuck at this error though:
Fatal error: session_start(): Failed to initialize storage module: user (path: /var/lib/php4) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 16
Any ideas on what may be wrong?
Hi,
do you have other applications successfully running with your php installation? Is everything ok with the directory configured as session.save_path? Do you use any special session settings?
May be you are affected by http://bugs.php.net/bug.php?id=25876
Lutz
Everything is fine with php as far as I know. I am running an up to date debian sid installation with Apache2 and php4 and mysql. (I am not trying to use ibwebadmin with mysql ;)
I am hosting a couple of xoops websites with no problems .
I do NOT have an interbase server installed on the system itself. I was hoping to control another server on a windows box I have on the lan.
Xoops is using its own session handler. So you will not see this bug with xoops.
After some google'ing their seems to be a chance that this will help you:
edit the file inc/script_start.inc.php and add
ini_set('session.save_handler', 'files');
in line 15, before the session_start() function call.
Lutz
Now I get:
Warning: session_start(): open(/var/lib/php4/sess_ffcb82a4130c5f8edcfb0a3a5bf6391a, O_RDWR) failed: Permission denied (13) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 18
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/share/ibwebadmin/inc/script_start.inc.php:18) in /usr/share/ibwebadmin/inc/script_start.inc.php on line 18
/var/lib/php4 is completely empty. No files there.
What is the value of session.save_path in your php.ini file? It seems to be /var/lib/php4/ ?!? Make sure that session.save_path is set to a directory where the webserver have read/write access.
Lutz
Yay! It seems to be working!
I simply did -
# chown www-data:www-data /var/lib/php4
Only thing now is this warning on the front page:
Warning:
The isql binary is not present in /usr/lib/firebird2/bin/!
Please check the value for BINPATH in inc/configuration.inc.php.
As I said I don't have the firebird server installed as my purpose was to test the interbase server on my windows box.
Thanks for the great help!
Ok, fine that you succeed. But your php configuration seems to be somehow weird. By default session.save_path is set to /tmp.
isql and the other firebird utilities are needed for some tasks, e.g. creating triggers and stored procedures, database backup and restore. But data maintenance and most other things will work without them.
Lutz
It's a standard Debian/unstable install. But perhaps it does things a bit differently.
Do you think I should report this to the debian maintainer of ibwebadmin?