I finally bit the bullet and upgraded from G2 to G3. The transition was not that simple (as I had to change my workflow - go back to Lightroom and export all my DNG images to JPEG images to get the correct white balance, modifications, etc.)
I finally have it setup the way I like it except for 1 tiny issue. I don't want guest users to see any albums. It's a private gallery installation for family members only.
I'm not sure what I did, but now when a "guest" user goes to the root, they get a "There aren't any photos here yet!" rather than a login screen (as it was when I first installed it). How can I fix this? what did I do wrong?
Thanks.
Posts: 27300
Edit permissions for the root album. I suspect that you have only edited permissions on only the sub albums.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 32
I did. Only registered users can view and view full size. The rest have everything ticket off!
The the main album the first entry in MySQL objects DB? Maybe it got somehow corrupt? What should the values be?
Posts: 32
Ok. Upon further digging into the installer folder the following should do it:
INSERT INTO {items} VALUES (1,NULL,NULL,UNIX_TIMESTAMP(),'',NULL,1,1,NULL,NULL,2,0,NULL,'','',1,NULL,NULL,2,NULL,'weight','ASC
',1,NULL,NULL,'Gallery','album',UNIX_TIMESTAMP(),0,1,NULL,'1','1');
If I delete the first row and insert the above values should it fix the problem I'm seeing?
Posts: 32
Well, not sure what caused the hick-up, but I reset the first row of access_caches and access_intents to their default install values in PhpMyAdmin, and the green allow all to view/view full size showed up. When I selected them back to being off, the login screen now shows up correctly!
Posts: 27300
Don't know why you needed to muck about with the DB. As you see, with a fresh install, and setting permissions work as expected.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 32
No doubt a fresh clean install works correctly. But after I was done importing my 25K pictures from G2, something was messed up in the DB which required a manual correction. There are bugs in the code, no doubt, I'm just glad I know enough about PHP/MySQL to fix the problem.
Posts: 27300
please point out the bugs so we can fix them.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team