Slider not working for guest users

Permalink Browser Info Environment
We have an issue at the moment with the slider when viewing the slider as a guest user.

I get a permission denied error from get_javascript.

I tracked down the problem to the /elements/init_javascript.php where it checks the block permissions with this code:

if(!$bp->canRead()) { die(t('Permission Denied')); }


Commenting out the code seems to fix the problem.

Do you have any idea what could cause the issue?

Type: Discussion
Status: New
Hypocrite
View Replies:

concrete5 Environment Information

# concrete5 Version
5.6.3.2

# concrete5 Packages
AddThis (1.0), Automatic Email Obfuscator (1.2.3), blogga (1.0.), Content Slider (1.2.3), Designer Content (3.1), Enhanced User List (1.5.3), Expand / Collapse (1.2.1), Google Map (Premium) (2.1), Iframe (1.0), Internationalization (1.1.3), Mega Menu (1.1.2), Page Auto Redirect (1.1), Page Selector Attribute (1.1), Stack Modal (1.2), Url Director (1.3), User Info (1.97).

# concrete5 Overrides
blocks/basic_test, blocks/cityname, blocks/customerslogos, blocks/eventsyoutube, blocks/fpslider, blocks/frontpageblog, blocks/frontpageslider, blocks/henkilo, blocks/logoslider, blocks/mainbigimage, blocks/maintitle, blocks/page_list, blocks/personelimages, blocks/personelimageswidth, blocks/personell, blocks/sercivesblog, blocks/slider, blocks/subpagetitle, blocks/subpagetitlee, blocks/tools, controllers/dashboard, controllers/personnel, js/cufon-yui.js, js/Drawzing_400.font.js, js/dw_event.js, js/dw_tooltip.js, js/dw_tooltip_aux.js, js/dw_viewport.js, js/fondia.js, js/jquery.tools.min.js, languages/fi_FI, languages/fi_FI.zip, languages/site, languages/sv_SE, languages/sv_SE.zip, models/attribute, single_pages/en, single_pages/fi, single_pages/page_not_found.php, single_pages/se, themes/fondiasite

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.9 (Unix)

# Server API
apache2handler

# PHP Version
5.5.14

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, hash, iconv, json, ldap, libxml, mbstring, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 600
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 3000
memory_limit - 4096M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
ldap.max_links - Unlimited
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
soap.wsdl_cache_limit - 5

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.94 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 have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.