Block Dialog is Empty

Permalink Browser Info Environment
When I try to add the block, the contents of the dialog for all three tabs is empty. Tried turning off the ad blocker and still the same, tried adding to different areas still nothing. Odd.

Type: Pre-Sale
Status: Resolved
TeKnoZiz
View Replies:
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi TeKnoZiz,

I am unable to reproduce this issue.

When adding the block, are there any errors in your browser console?
https://documentation.concrete5.org/tutorials/how-open-browser-conso...
TeKnoZiz replied on at Permalink Reply 1 Attachment
TeKnoZiz
Hope this helps:

noise.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, checkhttp://xhr.spec.whatwg.org/.
send @ jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4
jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:3 The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
ja @ jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:3
jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4 Failed to load resource: the server responded with a status of 404 (Not Found)
send @ jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4
jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4 Uncaught SyntaxError: Unexpected token :
at eval (<anonymous>)
at jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:2
at Function.globalEval (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:2)
at text script (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
at Xb (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
at y (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
at c (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
at Object.send (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
at Function.ajax (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
at Function.n._evalUrl (jquery.js?ccm_nocache=ca17add95b11d1baf3d74fcd3fa4637fb02c14ba:4)
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

Do you have a link to live web page where I can view this?

Are you using a custom theme? If so, does activating the default Elemental theme allow you to use the block?

Also, are you using the most current 1.0.4 version of the block?
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
The dev site ishttp://lincolnlabs2.teknoziz.com... but I don't know what you're going to look at since I was unable to add the block. It's supposed to go into the footer. As for the theme, yes, it's Supermint3. I will try with a default theme and let you know. Version of the block should be current, I just downloaded it from the site yesterday.

Just tested with default theme, same issue, and the version is 1.0.4.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

From the console errors you pasted, it looks like there are errors related to jQuery. Can you reply with a screenshot of the errors, please.

I would be looking for any existing console errors.

When loading that URL, the page redirects to the root teknoziz.com page.
TeKnoZiz replied on at Permalink Reply 1 Attachment
TeKnoZiz
Sorry, I just added the A record, should be working now. Screenshot attached. Funny thing is, I have to add the block twice to even get it to show. The first time I try it, nothing happens, the second time around it shows up as previously described.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

If you create an account for me on the dev site, I can try to debug the process of adding the block.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

The Supermint theme registers a copy of "twitterFetcher_min.js", but this file is not included in the theme.

In the theme controller.php file, try commenting out the following line.
packages\theme_supermint\controller.php
$al->register( 'javascript', 'twitterFetcher', 'js/build/twitterFetcher_min.js', array('version' => '12'), $this );
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Looks like that fixed it! Thanks. Need to make people aware of that. Maybe I'll post it on the the help forum. It's not the first time I've needed to correct something in that theme.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

The Supermint theme does not support newer versions of PHP (7.2+). You may run into issues as web host PHP changes.
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Yikes! Has this been documented? Do you have any links?
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

I attempted to install the theme using PHP 7.2 and it would failed due to multiple PHP related errors.

It users the PHP 7.2 reserved keyword "Object". This needs to replaced with "ConcreteObject".
https://php.net/manual/en/reserved.other-reserved-words.php...

It throws many "Parameter must be an array or an object that implements Countable" error.
https://www.php.net/manual/en/migration72.incompatible.php#migration...
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
I actually have a live site using Supermint3 and PHP 7.1 and it is throwing those errors. And it's the oldest version of PHP that webhost offers. Will swapping the reserved words fix that problem?
MrKDilkington replied on at Permalink Reply
MrKDilkington
@TeKnoZiz

You would need to replace the reserved keyword and update the count() references that throw errors.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
Background Image and Overlay (0.9.9), Community Store (2.1.6), Deluxe Customizable Twitter Feed (1.0.4), ExchangeCore reCAPTCHA (1.1.1), Spacer (0.9.4), Supermint Theme (3.4.1.3)

# concrete5 Overrides
None

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.1.26

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, 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 - 4000
memory_limit - 128M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 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.