Hello,
I have been struggling with Gallery 3.0.3 and now 3.0.4. My problem: images display beautifully when albums are public. But, when I change permissions to require users be logged in, images do not appear. Has anyone advice for troubleshooting this?
Many thanks,
J
Posts: 27300
Create a test album with the same permissions as your other album and send login info to test.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Got your PM.
How is your host?
Seems that sessions or the proxy is not being set properly.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
Thanks for looking. We are self-hosted, using no proxy. Based upon your comment, I restarted the server, but that didn't help. At what else should I look?
Thanks again,
Jeff
Posts: 27300
Session data
I don't know.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
I seem to have solved this. I changed session.php:
$config['expiration'] = 0;
and
$config['regenerate'] = 1;
I also changed the .htaccess in the application root to:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
# RewriteBase /
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^index.php/(.*) $1 [QSA,R,L]
</IfModule>
Your comments pointed me in the right direction. Thanks for that.
Regards,
Jeff
Posts: 27300
Weird.
Glad you got it sorted.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team