Dashboard Javascript Errors in app.js and sitemap

Permalink 1 1 Browser Info Environment
Navigating to /dashboard, Firefox console shows
ReferenceError: ccmi18n_tourist os not defined
TypeError: b(...).concreteHelpLauncher is not a function

Clicking on sitemap appears to work, but more errors appear
ReferenceError: ccmi18n_sitemap is not defined

The sitemap context menu doesn't appear when clicked and I cannot drag/drop pages

This is a fresh install of 8.4.0, all caches turned off and cleared.

1 Attachment


Status: New
jero
jero replied on at Permalink Reply
jero
Argh! It turns out that I was caught out by the annoying failure to detect that it's an Apache server when saving .htaccess files. Turning on pretty URLs essentially broke it.
craigrundle replied on at Permalink Reply
Same issue I have got. Any way to fix this?
jero replied on at Permalink Reply
jero
In my case, this was caused by having turned on pretty urls to remove the index.php, but the .htaccess file not being updated to match resulting in broken links everywhere.

Either turn off pretty urls, or update .htaccess accordingly.

For apache, .htaccess should containt this:
[code]
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --
[code]

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.0
Version Installed - 8.4.0
Database Version - 20180524000000

# concrete5 Packages
None

# 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
fpm-fcgi

# PHP Version
7.0.30

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, intl, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 600
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 10M
sql.safe_mode - Off
upload_max_filesize - 8M
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 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0