[SOLVED] G2+Mambo: Problem with rights for "Everybody&q

dbloech

Joined: 2002-07-17
Posts: 20
Posted: Sun, 2005-05-29 13:18

EDIT: This has been fixed. See this link for a fix:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=148550#148550

Hi,
I am running G2 B3 and Mambo 4.5.2 ! Integration worked fine, but now I have a problem with rights. I have created 2 albums that should be viewable by everybody, so I have set the rights accordingly. When I go to the gallery via Mambo it is showing the Thumbs of the albums just fine and also the dropdowns etc. But when I click on the thumbs to view the album, I am told to log in, as I don't have sufficient rights. With rights set to "everybody" this shouldn't be the case ! When I access them directly through the Gallery-Page (circumventing Mambo) everything works fine !!

Anybody out there, who could help me ??

My site is http://afs-marburg.de

Here are my system specs:

Quote:
Gallery-Version = 2.0-beta-3 Kern 0.9.17
PHP-Version = 4.3.11 apache
Webserver = Apache/1.3.33 manitu (Unix) PHP/4.3.11 mod_ssl/2.8.22 OpenSSL/0.9.7d mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.29
Datenbank = mysql 4.0.24_Debian-1.backports.org.1
Werkzeuge = ArchiveUpload, Exif, Gd, ImageMagick, Thumbnail
Betriebssystem = Linux web18.manitu.net 2.2.16C37_III #1 Fri Feb 20 10:44:03 CET 2004 i586
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Thanks in advance for any help !!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-29 14:14

you've got to give them view all version permission and check the box in the edit permission view to inherit these new permissions to all sub-items.

 
dbloech

Joined: 2002-07-17
Posts: 20
Posted: Sun, 2005-05-29 15:08

Hi,
they have "view all" already ... that's why it works directly in Gallery .... there must be some problem in user-rights when using Mambo !

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-29 15:36

first, clear all your cookies. then browse to the standalone G2, do not login. all items visible?

 
dbloech

Joined: 2002-07-17
Posts: 20
Posted: Mon, 2005-05-30 04:47

Hi,
I have cleared all cookies, went to the standalone G2 and everything looks fine and is accessible the way it should be. In the Mambo-Integration I still don't have access to the files !

 
d3vlabs

Joined: 2005-05-10
Posts: 100
Posted: Mon, 2005-05-30 05:08

read the G2 + Mambo Issues thread. It was started for a reason. The bug is listed. Workaround is in progress. Try with latest nightly build.

 
dbloech

Joined: 2002-07-17
Posts: 20
Posted: Mon, 2005-05-30 10:25

Hi d3vlabs,
Thanks for the info. I did a search before starting this thread, but the G2 + Mambo Issues thread did not come up. :( :-?
I will check out the nighly builds ... where do I find them ???

 
d3vlabs

Joined: 2005-05-10
Posts: 100
Posted: Mon, 2005-05-30 10:27
 
dbloech

Joined: 2002-07-17
Posts: 20
Posted: Mon, 2005-05-30 14:33

Muchas Gracias 8)

 
dbloech

Joined: 2002-07-17
Posts: 20
Posted: Mon, 2005-05-30 18:27

Hi,
problem is solved ... by de-installing other components (MGM Gallery and Mambelfish). Now everything works fine !! :D

Thanks for all the help !

Greetings from Germany
Dietmar

 
gette

Joined: 2005-05-30
Posts: 9
Posted: Mon, 2005-05-30 18:30

I've got the same problem here.
Is there a fix yet?

Thanx

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-30 18:48

gette, follow the instructions in this thread, upgrade to the nightly version (read the thread again if you still have questions ;) ).

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-05-31 12:55

dbloech,

I run gallery2 with mambelfish and it gives me know problem. So if you need mambelfish it shouldn't be a problem.

grtz,
Michiel

 
gette

Joined: 2005-05-30
Posts: 9
Posted: Tue, 2005-05-31 17:22

I have upgraded to the nightly build, and i have removed some components.
But i still have rights to see mine albums

Anyone an other sollution???

Grtz
Gette

 
Sauer

Joined: 2005-06-02
Posts: 9
Posted: Thu, 2005-06-02 10:58

hi

i've the same problem.

greetings Sauer

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-06-02 11:30

gette and Sauer,

url to mambo embed and url to standalone please?

thxs,
Michiel

 
Sauer

Joined: 2005-06-02
Posts: 9
Posted: Thu, 2005-06-02 12:30

Hi

mambo embed:

http://lsn.newstylenetworks.com/index.php (Gallery)

and url standalone:
http://lsn.newstylenetworks.com/gallery2

thanks a lot
greetings Sauer

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-06-02 12:39

Hi,

you have set your gallery2 link incoorectly it is pointing to: "index.php?option=com_login&Itemid=33"

that is your problem, you have to fix this in the menu manager.

greetings,
Michiel

 
Sauer

Joined: 2005-06-02
Posts: 9
Posted: Thu, 2005-06-02 13:30

thanks a lot

you've got a p.m

greetings Sauer

 
sgm251070

Joined: 2005-06-15
Posts: 11
Posted: Wed, 2005-06-15 05:20
Sauer wrote:
thanks a lot

you've got a p.m

greetings Sauer

I have the same problem.

URL to mambo
http://www.stephenmorton.com.au/mambo

URL to gallery2
http://www.stephenmorton.com.au/gallery2

i have looked at the links in my gallery link, and they seem to be correct! I have also updated gallery2 to latest nightly build, mambo 4.5.2 and com_gallery2 latest nightly build (today).

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-06-15 08:29

sgm251070, please don't post your problem in x threads, if everyone did the same, we would lose 10 times the time reading the emails and trying to answer.
so please, read the forums, then post the problem in a new topic OR in an existing topic.

@problem:
i hope one of the mambo/G2 devs is reading these posts.
i believe there's a problem in the anonymous user detection in the integration code.

 
sgm251070

Joined: 2005-06-15
Posts: 11
Posted: Wed, 2005-06-15 12:46

Sorry Valiant, just keen to get a resolution to this problem. :oops: Wasn't really sure of the best place to post.

Anyway, am sitting tight!

Steve

 
gette

Joined: 2005-05-30
Posts: 9
Posted: Wed, 2005-06-15 18:47

Hello again,

I still got those problems. :(

thanx Gette

 
sgm251070

Joined: 2005-06-15
Posts: 11
Posted: Thu, 2005-06-16 23:36

Just to let you know, I am still having this problem. I have updated to mambo 4.5.2.3 as well as uploaded the latest version of com_gallery2 as of lastnight.

Cheers sgm251070

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-06-21 20:34

I have updated to latest build of G2 and mambo. It should fix the problem but i'm not 100% certain it will work.

please give feedback on this one?

Michiel

 
gette

Joined: 2005-05-30
Posts: 9
Posted: Thu, 2005-06-23 21:03

I updated to mambo 4.5.2.3 and to the latest nightly build of gallery, but i still can't acces mine pictures embedded in mambo :-(

Gette

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-06-23 21:57

Try version 2 or pass me your url and i'll take a look.

grtz,
Michiel

 
gette

Joined: 2005-05-30
Posts: 9
Posted: Fri, 2005-06-24 04:58

I'm using version 2

[/url]

 
sgm251070

Joined: 2005-06-15
Posts: 11
Posted: Sat, 2005-06-25 03:50

I am also using ver 2
mambo url http://www.stephenmorton.com.au/mambo
gallery2 URL http://www.stephenmorton.com.au/gallery2

Steve

michiel_1981 wrote:
Try version 2 or pass me your url and i'll take a look.

grtz,
Michiel

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-06-25 09:22

sgm251070,

where is your link to the embed gallery2 in mambo?

gette,

Your problem is is with Itemid, add "&itemid=number"(For you it is 70)

Michiel

 
sgm251070

Joined: 2005-06-15
Posts: 11
Posted: Sun, 2005-06-26 12:39

Sorry, I had removed my link, it is now there calleg gallery2 test link at the bottom of the main menu. URL is http://www.stephenmorton.com.au/mambo
Gallery2 URL is http://www.stephenmorton.com.au/gallery2

Thanks in advance

michiel_1981 wrote:
sgm251070,

where is your link to the embed gallery2 in mambo?

gette,

Your problem is is with Itemid, add "&itemid=number"(For you it is 70)

Michiel

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Sun, 2005-06-26 14:15

sgm251070,

hi your problem is also the missing itemid!

&Itemid=40 should be added to your embeduri so it would look like this:

index.php?option=com_gallery2&Itemid=40

grtz,
Michiel

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Sun, 2005-06-26 14:45

This question is often asked and is solved in the next relaice but here is the answer to this problem.

if you encounter this error:

You are not authorized to view this resource.
You need to login.

Your url is missing the "Itemid=" and mambo doesn't like that!

Fix:
add "&itemid=number" after your embeduri and replace number with the number that is showing in your browsers url after "Itemid=" when you are on the first page of your embedded gallery.

 
sgm251070

Joined: 2005-06-15
Posts: 11
Posted: Mon, 2005-06-27 01:14

Thankyou so much Michiel, that has fixed it, and all appears Ok now....

Unreal
!!!

Ta

michiel_1981 wrote:
sgm251070,

hi your problem is also the missing itemid!

&Itemid=40 should be added to your embeduri so it would look like this:

index.php?option=com_gallery2&Itemid=40

grtz,
Michiel