#cat /etc/php5/apache2/php.ini | grep "safe_mode = "
safe_mode = Off

#chmod 777 /var/lib/php5/
# ls -la /var/lib/php5/
total 24
drwxrwxrwx  2 www-data www-data 4096 2011-05-19 15:30 .
drwxr-xr-x 42 root     root     4096 2011-03-29 14:57 ..
-rw------- 1 www-data www-data 37 2011-05-19 15:23 sess_0201840c7a10ef6c7e59f41df0cccac5 -rw------- 1 www-data www-data 15 2011-05-19 15:12 sess_4ded593c488295551950a17f4b856611 -rw------- 1 www-data www-data 37 2011-05-19 15:30 sess_714ed47eb0fdee4d27d35b5491e71b6a -rw------- 1 www-data www-data 0 2011-05-19 15:30 sess_bd42c3f444c6ce7babdbabfefb9744aa -rw------- 1 www-data www-data 0 2011-05-19 15:23 sess_eb1ac1e7226d15900af4feaff214f7a1 -rw------- 1 www-data www-data 15 2011-05-19 15:23 sess_f92b21c39d9eaef7531bddc7e7c2d1bb

#chown -R www-data:www-data /var/lib/php5/

#ls -la /var/lib/ | grep php5
drwxrwxrwx  2 www-data  www-data 4096 2011-05-19 15:30 php5

****
Apache is running under www-data and this user now is owner of /var/lib/php5/ directory.
But I stil receive errors:

*Warning*: Wrong parameter count for strstr() in */home/ssp/functions.inc.php* on line *301*

*Notice*: Undefined variable: keyphrase in */home/ssp/functions.inc.php* on line *314*

*Warning*: mcrypt_generic_init() [function.mcrypt-generic-init <https://ssp.webmerchantsinc.com/function.mcrypt-generic-init>]: Iv size incorrect; supplied length: 0, needed: 32 in */home/ssp/functions.inc.php* on line *317*

*Warning*: session_start() [function.session-start <https://ssp.webmerchantsinc.com/function.session-start>]: Cannot send session cache limiter - headers already sent (output started at /home/ssp/index.php:70) in */home/ssp/pages/resetbytoken.php* on line *65*

*Notice*: Undefined index: login in */home/ssp/pages/resetbytoken.php* on line *66*


   Token is not valid

****


On 5/19/2011 3:21 PM, Clément OUDOT wrote:
Le 19 mai 2011 13:35, admin<[email protected]>  a écrit :
But in any case Mail Reset now work, when I go to received link i this:

Warning: Wrong parameter count for strstr() in /home/ssp/functions.inc.php
on line 301

Notice: Undefined variable: keyphrase in /home/ssp/functions.inc.php on line
314

Warning: mcrypt_generic_init() [function.mcrypt-generic-init]: Iv size
incorrect; supplied length: 0, needed: 32 in /home/ssp/functions.inc.php on
line 317

Warning: session_start() [function.session-start]: Cannot send session cache
limiter - headers already sent (output started at
/home/web_app/production/ssp/index.php:70) in
/home/ssp/pages/resetbytoken.php on line 65

Notice: session_start() [function.session-start]: ps_files_cleanup_dir:
opendir(/var/lib/php5) failed: Permission denied (13) in
/home/ssp/pages/resetbytoken.php on line 65

Notice: Undefined index: login in /home/ssp/pages/resetbytoken.php on line
66

Token is not valid

How I can fix this ?
It seems you are running Apache+PHP with a user that can't write on
/var/lib/php5..; Or maybe your using a safe mode in PHP? I have no
problem running SSP on my Linux box (Ubuntu) with the defaut
installation.


Clément.


_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to