Seems to break the conversation block

Permalink Browser Info Environment
Hi, This add on works just fine on the contact page using the form block,but when used with conversations, it breaks it. The captcha won't show at all and the "attach file" panel where we're supposed to drop a file for upload stays open and the icon that's supposed to open and close that dialog become unresponsive.

Please see the attached picture. It's the same on both Firefox and Chrome and both on the live site and locally on the installed version in XAMPP..

I'd appreciate any help you could offer. Thank you.

1 Attachment

Type: Discussion
Status: In Progress
View Replies:
maar replied on at Permalink Reply
maar
Hi,

I see the exact same thing...

Any news on this issue?

/Michael
exchangecore replied on at Permalink Reply
exchangecore
Hi,

Apologies for the delay in replying. We are working on a fix for this but do not have an ETA at the moment.
memedia replied on at Permalink Reply
Hi, We came up with this same issue. And a quick fix is to comment out the asset insert and replace it with a normal javascript script insert. Its not pretty but it works for now.

The reason it is breaking the Conversations block as concrete loads this block via ajax post, and in this ajax request the normal asset include functions are not loaded.

In your package file, /packages/ec_recaptcha/src/Captcha/RecaptchaController.php

Comment out the assetLists from line 45 to 60. Then include the 2 JS resources manually. just below the commented out assets.

So replace lines 45 to 60 with this.

/*
        $assetList->register('javascript', 'ec_recaptcha_api', $assetUrl, array('local' => false));
        $assetList->register('javascript', 'ec_recaptcha_render', 'assets/js/render.js', array(), 'ec_recaptcha');
        $assetList->registerGroup(
            'ec_recaptcha',
            array(
                array('javascript', 'ec_recaptcha_render'),
                array('javascript', 'ec_recaptcha_api'),
            )
        );
        $responseAssets = ResponseAssetGroup::get();
        $responseAssets->requireAsset('ec_recaptcha');
*/
      // added to fix conversations block, as ccm_addheaderitem is not registered in the ajax post responce.
      echo '<script type="text/javascript" src="'.$assetUrl.'"></script>';

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.1
Version Installed - 5.7.5.1
Database Version - 20150713000000

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), Honest Websites Back To Top (0.9.4), Icons for Redactor (0.9.1), Quick Tabs (1.0), Responsive Embed (1.0.0), Simple Slider (1.0), Thumb Gallery (1.0.3), Vivid Simple Accordion (1.0.1).

# concrete5 Overrides
blocks/feature/templates/feature_animated/add.php, blocks/feature/templates/feature_animated/controller.php, blocks/feature/templates/feature_animated/db.xml, blocks/feature/templates/feature_animated/edit.php, blocks/feature/templates/feature_animated/form.php, blocks/feature/templates/feature_animated/icon.png, blocks/feature/templates/feature_animated/templates/hover_description/view.css, blocks/feature/templates/feature_animated/templates/hover_description/view.js, blocks/feature/templates/feature_animated/templates/hover_description/view.php, blocks/feature/templates/feature_animated/templates/hover_description, blocks/feature/templates/feature_animated/templates, blocks/feature/templates/feature_animated/view.css, blocks/feature/templates/feature_animated/view.php, blocks/feature/templates/feature_animated, blocks/feature/templates, blocks/feature, blocks/image/templates/magnific_pop/controller.php, blocks/image/templates/magnific_pop/view.js, blocks/image/templates/magnific_pop/view.php, blocks/image/templates/magnific_pop, blocks/image/templates, blocks/image, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR

# 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.16 (Win32) OpenSSL/1.0.1p PHP/5.6.12

# Server API
apache2handler

# PHP Version
5.6.12

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, 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 - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; rv:38.0) Gecko/20100101 Firefox/38.0

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.