Galleries won't display when logged out ! Urgent !

Permalink Browser Info Environment
Hi there,
I have a problem with your Addon.

I created some galleries in the dashboard, gave them title and description plus a teaser photo and those galleries come up perfect on the frontend if I let them be displayed in the galleryES block which lists all the available galleries.

I can click on those and be directed to the /gallery/ page with the gallery displayed.

However, if I log out and become a guest, I see the galleries displayed in the frontend block, I even see their teaser pictures but when I click on them, the area where the pictures are displayed is just empty. No message, no error, no nothing, no pictures.

What could this be?

I already checked permissions of Pictures, Filesets and Pages and can't find anything odd there.

Can you help please?

Type: Discussion
Status: Resolved
transp0rter85
View Replies:
emirii replied on at Permalink Reply
emirii
Thats very odd, I have looked on my test install current version is all fine.

More about the blank page, is it completely white, or does it have your header with no footer, or does it have the header and footer but no content (guessed this from your description)?

If you want I can log in and see, if you provide me a temporary admin password to your website if at all possible.

EDIT: I have changed a few settings in single page and guess what, It broke!! I will be sending a fix through concrete5 very shortly. Hold tight!
transp0rter85 replied on at Permalink Reply
transp0rter85
Thank you sir!

Yes I have the header and footer but no content at all. Only if logged in. Which is odd, sounds like permissions to me but no, guests can view all files and file sets.
emirii replied on at Permalink Reply
emirii
Have you changed any settings in the Single Page Options under dashboard? If so, if you could let me know which settings you are using...

If not, make sure your theme is loading jQuery at the top of the page properly. On 5.6 > version, sometimes jQuery only loads when you're logged in, but not when your logged out which can cause problems with my gallery as it requires jQuery. Can you please check F12 on your browser under "console" tab and see if there are any javascript errors on that page?

Thanks!
transp0rter85 replied on at Permalink Reply 1 Attachment
transp0rter85
No I have not changed anything.

jQuery loads right on top and no errors in Console.

See my settings attached.

But I found this:
http://www.concrete5.org/developers/bugs/5-6-3-1/broken-permissions...

It's about broken permissions in filesets in 5.6 up to the current version.
I think it's related to this because after giving guests the permission to search the File Manager, the galleries show even when logged out.

However, I doubt that this has to be the right way ;)
emirii replied on at Permalink Reply
emirii
I'm willing to bet this is the issue. The bug I found earlier was actually for my 5.7 version, so It didn't apply to you (I probably should have checked that first lol)

There is 5.6.3.2 out, perhaps upgrading your version might solve your issue?

http://www.concrete5.org/documentation/background/version_history/5...
I see some bug fixes having to do with permissions and file sets.

Keep me posted, I'm still runing 5.6.3.1 and I could try to reproduce the problem on my install, but I wouldn't know how to go about fixing it permanently as the permissions model in php is a bit up out of my reach ;)

Even if you had to give guest search permission, does it still work if you deny it for regular users, assuming you want an open registration? If you allow guest search permission, they won't really be able to search without access to the interface anyway.

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
GalleryES (1.51)

# concrete5 Overrides
blocks/next_previous, blocks/search, blocks/problog_list, blocks/whmcs_news, blocks/external_form, blocks/autonav, blocks/product_list, blocks/content, js/ccm.app.js, languages/de_DE, themes/raiff2014

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
nginx/1.6.0

# Server API
fpm-fcgi

# PHP Version
5.4.37

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.