Hello
Just installed Gallery 1.4.1-pl1. But I cannot login as admin and the symptoms look exactly like they are described in the FAQ when PHP is not configured properly for sessions. The session diagnostic tool indeed shows that sessions don't work in my installation. I checked the temp folder for sessions (as reported by PHP diagnostic) and it is in fact inaccessible to me. I have no access to 'php.ini', so as suggested in the FAQ, I added
php_value session.save_path <my temp path>
to 'gallery/.htaccess' file. Unfortunately, it has absolutely no effect whatsoever. I tried different paths but sessions still don't work. And the value in PHP diagnostic table does not change (should it?). It looks like my 'php_value' in '.htaccess' is simply ignored.
I then went into 'gallery/session.php' and manually added a
ini_set('session.save_path', <my temp path>);
line. After that Gallery started working, at least I can log in as admin. Session diagnistic tool is still reporting problems and PHP diagnostic still shows the original bad value in 'session.save_path' entry though.
So, it seems to be working now, but is there a way to do it without hacking 'gallery/session.php'? Why is the value in 'gallery/.htaccess' ignored? I would appreciate any help.
Here's my info
Gallery version: 1.4.1-pl1
Apache version: Apache/2.0.50 (Fedora)
PHP version: 4.3.10
Operating system:
Linux hs46.order-vault.net 2.4.20-13.9ensim.smp-3.5.0-14 #1 SMP Wed Nov 24 04:58:15 PST 2004 i686
Thank you,
Andrey