"This album is empty": not!

dargaud

Joined: 2008-02-13
Posts: 33
Posted: Tue, 2011-05-03 10:31

Hello all,
I just installed a new instance of Gallery2 (latest 2 version) on a paid server for a friend. The installation is handled by a script given by the hosting service and there are some differences in the result.

In particular, she created her albums and populated them... but a non logged-in user was being asked for a password. I disabled the "Password Protected Albums" plugin (is that a good idea?) and now if you are not logged in you only see an empty album...

I basically want a single user, and everything viewable by guests.

"Everybody" already has "[core] View item" in the main album permissions.

Thanks

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2011-05-03 12:30

Never use any scripts provided by anybody to install simple web applications such as G2.

Download the package from here, upload to the web space and navigate to the folder with your favourite web browser and you'll be better off.

--
dakanji.com

 
dargaud

Joined: 2008-02-13
Posts: 33
Posted: Tue, 2011-05-03 14:25

Yes, I know that and I've been bitten by this problem in the past, but I've tried twice to do a manual install: they don't provide an ssh access, so it's a pain in the butt to transfer the files via ftp.
Anyway, back to my question, could there be a user's album (with images) and a guest album (empty) and they are shown in the different contexts ? How would I disable that ?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-05-03 17:22
Quote:
I basically want a single user, and everything viewable by guests.

"Everybody" already has "[core] View item" in the main album permissions.

That's the exact behavior G2 (or any version of Gallery) has out of the box. What plugins are installed and activated under Site Admin > Plugins ?
____________________________________________
Like Gallery? Like the support? Donate now!

 
dargaud

Joined: 2008-02-13
Posts: 33
Posted: Tue, 2011-05-03 21:23

The "User album" plugin is disabled, if that's what you want to know. It doesn't change anything whether it's activated or not...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-05-03 22:19
Quote:
What plugins are installed and activated under Site Admin > Plugins ?

Also, post the system details:
FAQ: What information is required when I ask for help in the forums?

____________________________________________
Like Gallery? Like the support? Donate now!

 
dargaud

Joined: 2008-02-13
Posts: 33
Posted: Wed, 2011-05-04 08:56

Gallery URL = http://www.chiaramastrantonio.com/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 litespeed
Webserver = LiteSpeed
Database = mysqli 5.1.54-community-log, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux srv-hp5.netsons.net 2.6.18-294.26.1.el5.lve0.8.18 #1 SMP Thu Feb 24 12:11:27 EET 2011 x86_64
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.10 (maverick) Firefox/3.6.16
Rows in GalleryAccessMap table = 176
Rows in GalleryAccessSubscriberMap table = 39
Rows in GalleryUser table = 2
Rows in GalleryItem table = 37
Rows in GalleryAlbumItem table = 4
Rows in GalleryCacheMap table = 0

 
dargaud

Joined: 2008-02-13
Posts: 33
Posted: Wed, 2011-05-04 21:56

A bit more info. The permissions on the top album are:
Everybody [rating] All access
Everybody [cart] Add to cart
Everybody [core] View item
Everybody [digibug] Print
Everybody [ecard] Send eCards
Everybody [fotokasten] Print
Everybody [photoworks] Print
Everybody [shutterfly] Print
Everybody [snapgalaxy] Print
If I set "Everybody [All access]", then guests can view the albums fine, but then they can also add/change whatever they want... Why does "View item" not do what I think it should do ?!?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2011-05-04 22:24

Try the default permissions of View All Versions or if you don't want them viewing the full-size version, View Item AND View Resized Versions

I believe View Item only allows thumbs to be viewed.
____________________________________________
Like Gallery? Like the support? Donate now!

 
dargaud

Joined: 2008-02-13
Posts: 33
Posted: Sun, 2011-05-08 16:29

Thanks. That worked.
--
http://www.gdargaud.net/