client login problem

kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Tue, 2012-12-18 21:36

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.

Whenever my clients login they get "Security Violation. The action you attempted is not permitted. Back to the Gallery" When I login to my admin account everything is fine. Please help!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-12-19 13:23

what permissions are set on your root album?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 14:25

They are set to admin (me) and to client (none of my client galleries are able to login.

I read through forum that said to download the latest version and now I just gives me an error right away. Go to www.kamkloth.com and click "clients". Before this went to gallery page. (Doesn't go to login page at all)

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 14:27

When I go here: http://www.kamkloth.com/gallery/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_return=%2Fgallery%2Fmain.php%3F I am able to login as admin (me) but clients get "Security Violation. The action you attempted is not permitted. Back to the Gallery" error.

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 14:28

Is there a phone number to reach you at?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-12-19 14:48
Quote:
Before this went to gallery page. (Doesn't go to login page at all)

went to login page for me.

So are you setting up user albums on your own, or are you using User Albums Module?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 15:42

setting them up on my own

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 15:44

glad login page worked for you. Trying logging in with mine **removed**...works! Clients **removed**...doesn't work

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-12-19 15:53

Here is the benefit for using the useralbum module.
You can set it to jump the user directly to their album upon login

The way you have it now, is that the user goes directly to the root album upon login and you have removed all view rights for Registered Users on the root album.

You need to restore some basic view rights on the root album.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 16:33

I'm not sure how to do that. What do I need to do?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-12-19 16:42

head to your root album -> edit permissions -> Group Permissions -> Everybody [core] View item

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Wed, 2012-12-19 21:16

ok I did that. Now how does each person get to their own album? This allows everyone to see every album? I don't want that! I want it password protected....possible?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-12-19 21:44

Oops, you should change the previous permission from Everybody [core] View item to Registered Users [core] View item.
So now all registered users are allowed to be in your root album which is requires login.

But now each user should only be allowed to see their album and that would be all that would show for them.

You have your work cut out for you w/ 157 items

Would have been easier to use the user albums module from the begining

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Thu, 2012-12-20 17:15

The site seems to be running really slow on my end and whenever I try to make this adjustment the website times out. Is there a way you can do this? Or do I have to?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-12-20 17:47

You have a lot of items in the main album making for a rather large DB query and display processing.

Better media management would have been to create sub categories say alphabetical or even sorting by date, month or year.

Quote:
whenever I try to make this adjustment the website times out

You could try upping the memory allocation.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Thu, 2012-12-20 18:30

How do I do that? Cost additional?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-12-20 18:39

add:

@ini_set("memory_limit","64M"); //64MB

to your gallery2/config.php line~29 just after the other ini_set

That will set to 64MB and I don't know what your current memory allocation is AND some hosts frown on this - especially if you are on cheap shared hosting.

to find out your current memory_limit create a phpinfo
FAQ: How do I create a phpinfo page?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
kamkloth

Joined: 2012-12-18
Posts: 15
Posted: Fri, 2012-12-28 01:18

OK...sorry for the delay. I set my acct to "Registered Users [core] View item" but when a client logs in they can see every other clients pictures. Is there a way to set it so they just see their own?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-12-28 01:25
Quote:
Is there a way to set it so they just see their own?

Like I stated above, now you set each individual album's permissions to allow the desired user/client to see it and remove the other view permissions(except admin)

suprsidr wrote:
You have your work cut out for you w/ 157 items

-s
________________________________
All New jQuery Minislideshow for G2/G3