From: <dim...@ce...> - 2004-12-20 23:28:01
|
Hello, Thank you for joining our mailing list, and using wifiadmin. The problem you encounter does not seem to be a wifiadmin problem, but a problem of your apache and php installation. Make sure that the user apache is running with, can write on the directory /var/lib/php4. That is where apache saves the session files (files that keep session variables too). To see what is the user apache is running with, you could use: ns:/var/lib/php4# ps aux |grep apache root 1778 0.0 0.3 23008 408 ? Ss Dec18 0:01 /usr/sbin/apache2 -k start -DSSL www-data 1938 0.0 1.9 23520 2460 ? S Dec18 0:04 /usr/sbin/apache2 -k start -DSSL www-data 1939 0.0 1.8 23464 2404 ? S Dec18 0:03 /usr/sbin/apache2 -k start -DSSL www-data 1940 0.0 2.2 23512 2808 ? S Dec18 0:04 /usr/sbin/apache2 -k start -DSSL www-data 1941 0.0 1.1 23588 1444 ? S Dec18 0:03 /usr/sbin/apache2 -k start -DSSL www-data 1942 0.0 1.0 23540 1308 ? S Dec18 0:05 /usr/sbin/apache2 -k start -DSSL www-data 4677 0.0 0.5 23464 736 ? S Dec18 0:02 /usr/sbin/apache2 -k start -DSSL www-data 4679 0.0 1.2 23464 1628 ? S Dec18 0:04 /usr/sbin/apache2 -k start -DSSL www-data 4680 0.0 0.9 23528 1212 ? S Dec18 0:03 /usr/sbin/apache2 -k start -DSSL www-data 12084 0.0 1.8 23504 2396 ? S Dec19 0:02 /usr/sbin/apache2 -k start -DSSL www-data 14388 0.0 0.9 23464 1220 ? S Dec20 0:00 /usr/sbin/apache2 -k start -DSSL root 10984 0.0 0.3 1580 504 pts/14 S+ 01:13 0:00 grep apache Or maybe replace apache with httpd in the previous command. On my output you can see that my apache is running under user www-data, which is the default on debian. My /var/lib/php4 has the following permissions: ns:~# ls -l /var/lib/ |grep php4 drwx-wx-wt 2 root root 104 Dec 21 00:55 php4 ns:~# You can set the same permissions on your /var/lib/php4, running as superuser, the command: chmod 1733 /var/lib/php4 Hope this helps Αρχικό μήνυμα από Thomas Holmquist <fi...@fi...>: > Hello, I'm in the process of installing WiFiAdmin, I have run across some > problems though. This is what I get when I call up index.php: > > Warning: session_start(): > open(/var/lib/php4/sess_a6b6115ece0ddcf54b35fcd0586bc7bb, O_RDWR) failed: > Permission denied (13) in /var/www/wifiadmin/include/auth.php on line 24 > > Warning: session_start(): Cannot send session cookie - headers already sent > by > (output started at /var/www/wifiadmin/include/auth.php:24) > in /var/www/wifiadmin/include/auth.php on line 24 > > Warning: session_start(): Cannot send session cache limiter - headers already > > sent (output started at /var/www/wifiadmin/include/auth.php:24) > in /var/www/wifiadmin/include/auth.php on line 24 > > Warning: fread(): Length parameter must be greater than 0. > in /var/www/wifiadmin/include/passwd_functions.php on line 51 > > Notice: Undefined variable: lines > in /var/www/wifiadmin/include/passwd_functions.php on line 65 > > Notice: Undefined variable: lines > in /var/www/wifiadmin/include/passwd_functions.php on line 68 > > Notice: Undefined variable: return_array > in /var/www/wifiadmin/include/passwd_functions.php on line 77 > > Warning: Invalid argument supplied for foreach() > in /var/www/wifiadmin/include/passwd_functions.php on line 137 > > <PARTS OF THE ADMIN PAGE SHOW UP HERE, THEN AT THE BOTTOM:> > > Warning: Unknown(): open(/var/lib/php4/sess_a6b6115ece0ddcf54b35fcd0586bc7bb, > > O_RDWR) failed: Permission denied (13) in Unknown on line 0 > > Warning: Unknown(): Failed to write session data (files). Please verify that > > the current setting of session.save_path is correct (/var/lib/php4) in > Unknown on line 0 > > > > This is a fresh installation of Apache&PHP, so the problem might lie there. > I've disabled the MySQL features, so that too could be the problem. > > Thanks for your help and your (Hopefully) good program! > -Thomas > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Wifiadmin-users mailing list > Wif...@li... > https://lists.sourceforge.net/lists/listinfo/wifiadmin-users > ---------------------------------------------------- This mail was sent through http://my.ceid.upatras.gr |