Views issues

jasondgardner's picture

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

Groups:
Login to post comments

Do you have the access content

arcaneadam's picture
arcaneadam - Fri, 2008-12-12 18:17

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, Thanks for the

jasondgardner's picture
jasondgardner - Fri, 2008-12-12 20:24

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?

mfer's picture
mfer - Mon, 2008-12-15 15:42

Do you have any access control modules installed?

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


No, at least not now. I may

jasondgardner's picture
jasondgardner - Mon, 2008-12-15 15:59

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

mfer's picture
mfer - Mon, 2008-12-15 17:07

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

jasondgardner's picture
jasondgardner - Mon, 2008-12-15 18:00

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

flickerfly's picture
flickerfly - Mon, 2008-12-15 19:56

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.

arcaneadam's picture
arcaneadam - Mon, 2008-12-15 20:42

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


When I was talking with him,

flickerfly's picture
flickerfly - Mon, 2008-12-15 21:02

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

jasondgardner's picture
jasondgardner - Tue, 2008-12-16 18:50

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

jasondgardner's picture
jasondgardner - Tue, 2008-12-16 20:43

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

flickerfly's picture
flickerfly - Tue, 2008-12-16 20:58

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