Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Matt on September 25, 2003, 04:17:30 AM
-
Hi
I have just installed gallery 1.7 on my e-smith server 5.6 without any problems. I can upload images, but they are not displayed, i just get the little cross icon and the outline of the image. I have tryed everything suggested on the gallery troubleshoting website, checked folder locations, permissions etc without any success, has anyone installed this software on version 5.6 and am I doing something wrong the is very obvious. Any thoughts would be helpful
cheers Matt
-
Matt,
It sounds like a permissions issue. Dan Brown has a gallery/e-smith howto at http://www.familybrown.org/howtos/ I installed an older version of gallery on e-smith 5.6 by following the howto. You might try reviewing the howto and compare to your installation.
Good Luck,
Dale
-
I had a similar problem myself. The way I solved the problem was to install gallery to an ibay on 5.6. I have installed gallery to 3 separate ibays, I only give people the URL to the albums I want to share with them vs. setting permissions for all the albums and sending passwords out.
Installing to an ibay is pretty easy, take a look at this thread:
http://e-smith.org/bboard/read.php?f=1&i=22306&t=22247
-
Hi Matt,
I have gotten Gallery to work by following Dan's how to. However, I remember doing a few things differently when I put it under the Primary/html/Gallery folder, mainly permissions. I wrote my own notes, but I don't have them with me at work. I will review it tonight and post my tips if you cannot get it working. Make sure when you configure gallery, check the paths!.... I remember this being a problem especially the album path, I think the /albums was missing from the default Gallery install and had to be added, I missed that several times but it was another late night.
-Ralph
-
Hi Kevin,
How do you protect the content in one ibay from viewers in other ibays? You seem to have solved this somehow? Please enlighten me?
Thanks
Morten
-
Sorry for my delayed response, I've been out for a couple weeks and just now getting caught up.
The content from one ibay is "protected" from being viewed from another ibay because you are actually installing gallery into each individual ibay. Basically it's totally separate web pages that aren't dependant on each other at all.
I used the how to from http://sme.swerts-knudsen.dk/howtos/howto_13.htm for the initial install. Then modified the gallery_install.sh slightly to install to my other ibays.
I documented the steps I used as well as problems I encountered in my blog, feel free to take a look http://packers.webhop.org/mt/archives/000004.html
I hope this helps
-
Hi again Kevin,
I would like to believe you, but in fact all my galleries can be viewed across my other ibays...
Meaning my ibay www.mhbolig.dk can access a foreign ibay/gallery here
http://www.mhbolig.dk/emilie/ or another here:
http://www.mhbolig.dk/gekadospics/
Both of above galleries belong in their own respective Ibay so this must be a bug. because I have no connection from one Ibay to the others.
How do I secure this privacy...?
Thanks
Morten
-
Morten U. Hansen wrote:
> I would like to believe you, but in fact all my galleries can
> be viewed across my other ibays...
>
> Meaning my ibay www.mhbolig.dk can access a foreign
> ibay/gallery here
> http://www.mhbolig.dk/emilie/ or another here:
> http://www.mhbolig.dk/gekadospics/
What do you mean by "my ibay www.mhbolig.dk can access a foreign
ibay/gallery" I'm very confused how an ibay can access *anything*. Browsers access things, users access things, ibays are surely accessed BY these entities.
I note that the gallery links on the 'www.mhbolig.dk' domain actually point to similar subdirectories on 'www.gekados.dnsalias.org'... this doesn't make things clearer...
> Both of above galleries belong in their own respective Ibay
> so this must be a bug. because I have no connection from one
> Ibay to the others.
> How do I secure this privacy...?
Passwords on the ibay maybe?
G
PS. the permissions on your 2nd 'gekados' gallery's album need adjusting I think - even *I* am free to rename or move it...
-
Thanks for your insight G,
Could you give me a hint as to what correct and secure permissions are in Gallery? What should my 'chmod xxx' look like for both files and folders.
Perm on the Gekados gallery has to be wide open, as this is where all my friends upload their private pics, and create subalbums without my help. Is there a better, more secure way...
When I say "my ibay www.mhbolig.dk can access a foreign
ibay/gallery", I of course mean that users from this Ibay/virtual domain can access galleries from other ibays from the same virtual domain 'mhbolig.dk'.
Thanks for your help
Morten
-
Morten U. Hansen wrote:
> Could you give me a hint as to what correct and secure
> permissions are in Gallery? What should my 'chmod xxx' look
> like for both files and folders.
There are 2 scripts in the root of gallery - secure.sh and configure.sh
To secure that parts of gallery that need securing, run :
sh secure.sh
> Perm on the Gekados gallery has to be wide open, as this is
> where all my friends upload their private pics, and create
> subalbums without my help. Is there a better, more secure
> way...
Yes, add your friends as users. Login as the admin, then click 'manage users', a link in the root of your gallery. Add your friends in there, then go create albums for your friends, then give them 'ownership' of the albums you create for them.
> When I say "my ibay www.mhbolig.dk can access a foreign
> ibay/gallery", I of course mean that users from this
> Ibay/virtual domain can access galleries from other ibays
> from the same virtual domain 'mhbolig.dk'.
You can change the permissions on all albums to stop people without logins on your gallery from :
- seeing the galleries
- changing the galleries
- adding text to the galleries
etc.
This is all changeable from the 'permissions' link for the gallery you want to change.
> Thanks for your help
My pleasure.
G
-
Thanks G,
I now have implemented the changes you suggested.
But when I log-in as one of the users, into his own sub-album I still cannot see the admin tasks/links in the top as I should have.
What gives?
Only if I log-in as Admin can I manipulate the albums. But the users should have the same abilities locally and recursively right?
Morten
-
Morten U. Hansen wrote:
> But when I log-in as one of the users, into his own sub-album
> I still cannot see the admin tasks/links in the top as I
> should have.
You will only see certain 'admin only' tasks if you make the user in question an admin (via 'manage users')
> What gives?
>
> Only if I log-in as Admin can I manipulate the albums. But
> the users should have the same abilities locally and
> recursively right?
Not quite. Providing the user is the OWNER of the album in question, THEN they will have the rights to see, change, add, modify photos, delete, create subalbums, view full images, add/view comments. If not, those rights will have to be assigned to the user by the OWNER of the album.
You should check the permissions/ownership of the albums in your gallery.
Further, as admin, check the documentation link - see the 'Users and Permissions' chapter.
G