Pages uneditable after adding a Documents block

Permalink Browser Info Environment
I've added a Documents block to some pages on my website and now they are uneditable - I'm not sure if this is a problem with the Documents widget or the Fundamental Theme or with Conrete 5 Version 8 - we upgraded from 7 in the summer.

I've used the Sitemap to restore previous versions of some of the pages, eg
http://www.henleazejuniorschool.co.uk/my-school/year-6... but in edit mode, the block is still present and I am unable to edit or delete it.
You can see teh block on this page:
http://www.henleazejuniorschool.co.uk/my-school/year-5...

Any ideas?

Type: Ticket
Status: Archived
itribe
View Replies:
c5hub replied on at Permalink Reply
c5hub
Hi there,

Sorry to hear you are having issues. I noticed you posted 2 tickets on the same topic, I assume in error, so I have marked your second one as invalid to avoid any confusion.

Looking at your web page with Chrome's developer tools, I can see that you have an error relating to a script called 'timeago' - this actually appears to be coming from the page list block and not the documents block.

When you say you can not edit the block, could you give us any extra info here please?

If you are happy to let us take a look, then please private message us your login details and we can log in and see what's going on.
itribe replied on at Permalink Reply
itribe
Thanks for getting back so quickly.
When I click the Edit pencil, it goes green, but the page does not become editable - I don't know what the technical term is - it still works like the live webpage, hyperlinks active. The page layout tags show, eg Header Image, Main, Column 1 etc, but they don't activate when clicked, neither do any of the blocks.
c5hub replied on at Permalink Reply
c5hub
This is a strange one - not something we have been able to replicate locally.

The error basically means that javascript/jquery is not working on that page, hence why you have lost the ability to edit the blocks.

I turned off 'CSS and JavaScript Cache' in your cache settings and cleared the cache. This issue now seems to have gone away.

It seems that the issue is coming from how your assets are being compiled and served from the cache. This does seem to relate to a concrete5 issue and perhaps not the theme.

You should now at least be able to edit your pages and we will look in to this further to rule out any issues in the the theme.
itribe replied on at Permalink Reply
itribe
Thank you very much - I've now deleted the blocks from those pages and put the documents elsewhere. I'll ask my technical wizards to look at the set up of those particular pages to see why they act differently to other pages: I don't have a problem with the Documents block elsewhere on the site. If you do uncover any other possible causes, let me know. Thanks.
Adam
c5hub replied on at Permalink Reply
c5hub
No problem. Like I said earlier, I don't think the issue is with the 'Documents' block because the javascript error relates to the 'timeago' function in the 'page list' block.

When compiled using the sites cache it breaks. using the file uncached works as intended, odd.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000

# concrete5 Packages
C5DK Blog (8.2.1.0), Documents (1.0.1), Event Calendar PRO (2.3.11), Fundamental (4.0.4), Rescan All Files (0.1.5)

# concrete5 Overrides
blocks/event_calendar_google/templates/hjs_full_calendar/view.php, blocks/event_calendar_google/templates/hjs_full_calendar/js/dsEventCalendarBlock.js, blocks/event_calendar_google/templates/hjs_full_calendar/js, blocks/event_calendar_google/templates/hjs_full_calendar/css/style.css, blocks/event_calendar_google/templates/hjs_full_calendar/css/fullcalendar.min.css, blocks/event_calendar_google/templates/hjs_full_calendar/css, blocks/event_calendar_google/templates/hjs_full_calendar, blocks/event_calendar_google/templates/hjs_mobile/view.php, blocks/event_calendar_google/templates/hjs_mobile/js/dsEventCalendarBlock.js, blocks/event_calendar_google/templates/hjs_mobile/js, blocks/event_calendar_google/templates/hjs_mobile/css/style.css, blocks/event_calendar_google/templates/hjs_mobile/css/fullcalendar.min.css, blocks/event_calendar_google/templates/hjs_mobile/css, blocks/event_calendar_google/templates/hjs_mobile, blocks/event_calendar_google/templates, blocks/event_calendar_google, blocks/page_list/templates/hjs_blog_article_list/view.css, blocks/page_list/templates/hjs_blog_article_list/view.php, blocks/page_list/templates/hjs_blog_article_list, blocks/page_list/templates/hjs_staff/view.css, blocks/page_list/templates/hjs_staff/view.php, blocks/page_list/templates/hjs_staff/view.js, blocks/page_list/templates/hjs_staff, blocks/page_list/templates/hjs_thumbnail_list/view.css, blocks/page_list/templates/hjs_thumbnail_list/view.php, blocks/page_list/templates/hjs_thumbnail_list, blocks/page_list/templates, blocks/page_list, blocks/c5dk_blog_buttons/templates/hjs_side_button/view.css, blocks/c5dk_blog_buttons/templates/hjs_side_button/view.php, blocks/c5dk_blog_buttons/templates/hjs_side_button, blocks/c5dk_blog_buttons/templates, blocks/c5dk_blog_buttons, blocks/c5dk_blog_goback/templates/hjs_back_to_list/view.php, blocks/c5dk_blog_goback/templates/hjs_back_to_list, blocks/c5dk_blog_goback/templates, blocks/c5dk_blog_goback, blocks/topic_list/templates/hjs_topic_list/view.css, blocks/topic_list/templates/hjs_topic_list/view.php, blocks/topic_list/templates/hjs_topic_list, blocks/topic_list/templates, blocks/topic_list, blocks/rss_displayer/templates/hjs_latest_newsletter/view.php, blocks/rss_displayer/templates/hjs_latest_newsletter, blocks/rss_displayer/templates/hjs/view.css, blocks/rss_displayer/templates/hjs/view.php, blocks/rss_displayer/templates/hjs/view.js, blocks/rss_displayer/templates/hjs, blocks/rss_displayer/templates, blocks/rss_displayer

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 30 minutes.

# Server Software
Apache/2.4.10 (Debian)

# Server API
apache2handler

# PHP Version
5.6.30-0+deb8u1

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
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 - 200M
sql.safe_mode - Off
upload_max_filesize - 200M
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 - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.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 may not request a refund that is not currently owned by you.