v0.9.5 does not work with Concrete CMS v8.5.7

Permalink Browser Info Environment
I attempted to update my current site with the newest version of the package but when I do it gives me this error in the Console when I try to add a Login Redirect

Uncaught TypeError: Cannot read properties of undefined (reading 'activateContext')
    at HTMLDocument.<anonymous> (add:1009)
    at i (jquery.js?ccm_nocache=1a72ca0f3692b16db9673a9a89faff0649086c52:2)
    at Object.fireWith [as resolveWith] (jquery.js?ccm_nocache=1a72ca0f3692b16db9673a9a89faff0649086c52:2)
    at Function.ready (jquery.js?ccm_nocache=1a72ca0f3692b16db9673a9a89faff0649086c52:2)
    at HTMLDocument.K (jquery.js?ccm_nocache=1a72ca0f3692b16db9673a9a89faff0649086c52:2)


If v0.9.5 is only supposed to be used on v9 sites I would recommend that you change the $appVersionRequired in the controller.

Type: Ticket
Status: Resolved
hutman
View Replies:
afixia replied on at Permalink Reply
afixia
0.9.5 is for 9.0+. The compatibility for 8.5 is set to 0.9.4. Not sure why Concrete is serving that version to you. Try downgrading / replacing with 0.9.4 for now.
hutman replied on at Permalink Reply
hutman
Thanks, that's what I was assuming after it happened, I was surprised the CMS even let me install it.

I don't use the Projects stuff in the community because it's down so often, so it wouldn't "serve" me a certain version, I just download them and manage the versions myself. Would be nice if there was something in the Version History or the Changelog that said "This version is for v9 ONLY".
afixia replied on at Permalink Reply
afixia
I'll try and throw something in there. Thanks for the report!
afixia replied on at Permalink Reply
afixia
I went ahead and updated the version history and also restricted the installation to v9. Should be good for the future. Closing this issue now.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.7
Version Installed - 8.5.7
Database Version - 20210623000000

# Database Information
Version: 5.7.29
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Afixia: Login Redirect (0.9.5), Afixia: SEO Redirects (1.1.4), ExchangeCore reCAPTCHA (1.1.1), FasTest (1.6.5), Formify (3.2.3)

# concrete5 Overrides
blocks/page_list/controller.php, blocks/page_list, elements/system_errors.php, authentication/concrete/controller.php, authentication/concrete/email_validated.php, authentication/concrete/form.php, authentication/concrete, mail/forgot_password.php, mail/user_register.php, mail/user_registered_approval_complete.php, mail/user_register_approval_required.php, mail/user_register_approval_required_to_user.php, mail/validate_user_email.php, single_pages/login.php, single_pages/register.php

# 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/2.4.38 (Debian)

# Server API
apache2handler

# PHP Version
7.3.32

# PHP Extensions
apache2handler, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, memcached, mysqli, mysqlnd, OAuth, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, Phar, posix, redis, Reflection, session, SimpleXML, soap, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 90
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 900
max_input_vars - 10000
memory_limit - 1G
post_max_size - 100M
upload_max_filesize - 100M
ldap.max_links - Unlimited
mbstring.regex_stack_limit - 100000
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 150
memcached.sess_server_failure_limit - 0
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

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 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.