Uncaught ReferenceError: ConcreteFileManager is not defined

Permalink Browser Info Environment
When Adding multiple accordions to a page if a link is added through redactor and the file manager is clicked nothing happens. Javascript console shows

Uncaught ReferenceError: ConcreteFileManager is not defined

If only one instance of the block is on the page this is not a problem.

Type: Pre-Sale
Status: In Progress
ohpyx
View Replies:
eldios replied on at Permalink Reply
eldios
I have the same problem, please help!
ohpyx replied on at Permalink Reply
ohpyx
I managed to get this to work by editing this file

/packages/simple_accordion/blocks/vivid_simple_accordion/controller.php

in the add, edit and view functions I added the following 2 lines
$this->requireAsset('core/file-manager');
$this->requireAsset('core/lightbox');

this seemed to fix the problem as well as another problem I had with link lightboxes not working. I'm sure I could have done an override instead of editing the package file but it was more of a test to see if it would fix the issue.
eldios replied on at Permalink Reply
eldios
Hello ohpyx,

thanks so much, you are my hero!
Now it is working fine!

Thanks so much for you support!!!

Cheers
ohpyx replied on at Permalink Reply
ohpyx
Sorry for the double post the C5 went into MX mode while I was posting
kspitzley replied on at Permalink Reply
kspitzley
Thank you so much for providing this solution!!
MJH replied on at Permalink Reply
MJH
Wow. I have been looking for a solution to this for ages.

Thanks so much for posted - this fixed my problem too.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000

# concrete5 Packages
Accordion Content (1.1), Vivid Simple Accordion (1.0.1).

# concrete5 Overrides
blocks/autonav, blocks/youtube, blocks/ig_accordion_content, languages/sv_SE, languages/fi_FI, languages/fr_FR, languages/ru_RU, languages/de_DE, languages/tr_TR, languages/ja_JP, languages/da_DK, languages/el_GR, languages/it_IT, languages/nl_NL, languages/sl_SI, themes/basic_bootstrap

# 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
5.4.25

# PHP Extensions
apc, bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, gettext, hash, iconv, imagick, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, xml, xmlreader, xmlwriter, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 64M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 64M
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 - 1440

Browser User-Agent String

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