HTML block make pages uneditable

Permalink
Hi there,

I've been working on my website and every time I use an HTML block on a page, I can go into EDIT mode, but A cannot edit any blocks. Also I cannot get out of EDIT mode until anymore.

My current workaround is to enter the html in a stack, so I can remove the HTML from the page by removing it from the STACK that I placed on the page itself. It works, but it's very time consuming and annoying to work this way.

Has anyone been having this problem too and can you help me fix this?

I appreciatie the help,
Luca

---

# concrete5 Version
Core Version - 8.4.5
Version Installed - 8.4.5
Database Version - 20180717000000

# concrete5 Packages
4Concrete5 Dashboard (0.9.0), Add Animation (0.9.3), All to modal and Gallery ( 1.0.12), App Icon (1.0.4), Bootstrap Blocks (0.9.7), C5DK Merry Christmas (0.9.3), DiscussionES Facebook Comments (1.1), ExchangeCore reCAPTCHA (1.1.1), Form Plus (2.3.9), HonestWebsites Simple testimonials (1.1.2), HTML+PHP Code Block (1.0.1), Image Optimizer (3.2.7), Lazy Banner (1.1.2), Like This (0.9.1), Login Page Background (0.9.1), Pagelist - masonry custom template (1.0), Pagelist Gallery (1.1.7), Page Redirect (2.0), Pixel Theme (2.0.3), Redirect (2.2.0), Spacer (0.9.4), Speed Analyzer (1.2.3), Stack Infinity (1.2.3), Structured Data (1.0.3), Studio Testimonials Pro (1.2.1), Styled Maps (1.2.3), SVG Social Media Icons (0.9.9), Video Pro (1.0.0)

# concrete5 Overrides
blocks/switch_language/templates/AM Top flags/OLD/view.css, blocks/switch_language/templates/AM Top flags/OLD/pixel_top_bar.php, blocks/switch_language/templates/AM Top flags/OLD, blocks/switch_language/templates/AM Top flags/view.php, blocks/switch_language/templates/AM Top flags, blocks/switch_language/templates, blocks/switch_language

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
litespeed

# PHP Version
7.1.33

# PHP Extensions
bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, libxml, litespeed, mbstring, mcrypt, mysqli, mysqlnd, OAuth, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, uploadprogress, xml, xmlreader, xmlrpc, xmlwriter, xsl, 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 - 256M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
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 - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

ZillionProductions
 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Specifically what type of HTML are you entering into the block?

If it's a script, it might be conflicting with the editing interface.
ZillionProductions replied on at Permalink Reply
ZillionProductions
Hi and thanks for your quick reply. In this case it's just simpel Elfsight code like this:
<script src="https://apps.elfsight.com/p/platform.js" defer></script>
<div class="elfsight-app-6b85349b-d1d6-47e8-b0e2-49baed4dc52b"></div>

Any ideas?
Thanks,
Luca
JohntheFish replied on at Permalink Reply
JohntheFish
Use the Safe HTML block template
https://c5magic.co.uk/addons/safe-html...

To get there from your currently broken page, see
https://c5magic.co.uk/addons/safe-html/fixing-broken-sites...
ZillionProductions replied on at Permalink Reply
ZillionProductions
Thanks John, I'll give this a try. However I still wonder what makes the EDIT mode break..

Cheers,
Luca