Views issues

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by jasondgardner on December 12, 2008 at 3:04pm

I hope I am not duplicating any posts. I have searched and searched, but have yet to uncover a solution.

What I have done is created a rotating photo using the Views Rotator module. Everything seems to be working fine except that user who do not have the Admin role cannot see the images. I have searched all throughout my permissions and have experimented with about a variety of settings. I ran into the exact same issue when I attempted this same feature (a rotating picture inside of a block on the side bar) but with the Views Carousel module. Same issue. Images only show for user logged in with Admin level privileges.

If I need to submit more information, just let me know.

Any help would be great.

God Bless
Jason

Categories: ,

Comments

Do you have the access content

Posted by arcaneadam on December 12, 2008 at 6:17pm

Do you have the access content permission checked to allow anonymous and authenticated users to view content. That is a sometimes overlooked part of allowing users to see content.

Adam A. Gregory


Web Manger - Marketing Ministries
http://marketingministries.com
Founder - The Open Source Church
http://theopensourcechurch.org
Blogger - AdamAGregory.com
http://adamagregory.com

Adam A. Gregory
Drupal Developer and Consultant
Hire me
http://AdamAGregory.com
Twitter Me
http://twitter.com/adamgregory

Adam, Thanks for the

Posted by jasondgardner on December 12, 2008 at 8:24pm

Adam,
Thanks for the response. Yes I have set the permissions for anonymous and authenticated users to view content. In fact, this is the only content type that has this issue.

Jason

access control modules?

Posted by mfer on December 15, 2008 at 3:42pm

No, at least not now. I may

Posted by jasondgardner on December 15, 2008 at 3:59pm

No, at least not now. I may have at one time in the past. Currently the only module of that type I have installed is Privacy Node, and it has been turned off.
Thanks
jason

1 row

Posted by mfer on December 15, 2008 at 5:07pm

Do you have just a single row in the node_access table? If not, the node access needs to be rebuilt.

Matt Farina
www.innovatingtomorrow.net
www.geeksandgod.com
www.superaveragepodcast.com
www.mattfarina.com

Sorry for the newbie

Posted by jasondgardner on December 15, 2008 at 6:00pm

Sorry for the newbie question, but I assume you are talking about the mysql database? Is that correct?
If so, this is what I see:

Field Type Collation Attributes Null Default 
nid int(10) UNSIGNED No 0 
gid int(10) UNSIGNED No 0 
realm varchar(255) utf8_general_ci 
grant_view tinyint(3) UNSIGNED 
grant_update tinyint(3) UNSIGNED 
grant_delete tinyint(3) UNSIGNED 

So I think this is what needs to be rebuilt, but I have no idea how that is done.

Thanks for the quick response

Current situation

Posted by flickerfly on December 15, 2008 at 7:56pm

I worked with freegrace on this issue over IM a bit. He has many rows in that table and apparently none of them are nid = 0, which I have in a database that is clean of any access related modules. Is it safe to wipe out all the current rows and just recreate that? My theory is that nid=0 is actually a default setting/wildcard that sets permissions for everything?

Go ahead.

Posted by arcaneadam on December 15, 2008 at 8:42pm

The default node_access table settings should be
nid = 0
gid = 0
realm = all
grant_view = 1
grant_update = 0
grant_delete = 0

That would reset permission back.

Just curious what realm values do you have in this table? So we can try and see what might be causing this.

Adam A. Gregory


Web Manger - Marketing Ministries
http://marketingministries.com
Founder - The Open Source Church
http://theopensourcechurch.org
Blogger - AdamAGregory.com
http://adamagregory.com

Adam A. Gregory
Drupal Developer and Consultant
Hire me
http://AdamAGregory.com
Twitter Me
http://twitter.com/adamgregory

When I was talking with him,

Posted by flickerfly on December 15, 2008 at 9:02pm

When I was talking with him, it sounded like realm was "all" in every case, but I'm not certain about this as I didn't actually see it.

Forgive me for not being

Posted by jasondgardner on December 16, 2008 at 6:50pm

Forgive me for not being able to provide all the info you need up front. I am still a major Drupal newbie and know next to nothing about using phpmyadmin.

What I have is a long list of item, around 39. They look something like this:
nid = 3
gid = 0
realm = all
grant_view = 1
grant_update = 0
grant_delete = 0

nid = 3 is the lowest number I have. I assume that is node id or something. I do not have a nid = 0.

jason

Thank you everyone for the

Posted by jasondgardner on December 16, 2008 at 8:43pm

Thank you everyone for the help. With a lot of help from Flickrfly, the problem has been solved. The problem was in my file system settings: they were set to private. Not sure I even remember changing them, or if by chance some module did it for me.

Anyway, I am now able to take advantage of both Views Rotator and View Carousel.

Very Happy!

God Bless
jason

WooHoo

Posted by flickerfly on December 16, 2008 at 8:58pm

:-) We laughed, we cried! It was a wonderful moment!

Drupal Churches Home

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /