Syntax Error Unexpected Token {

Permalink Browser Info Environment
Hi, I´m getting an error on visiting the product list block on my site:

"Uncaught SyntaxError: Unexpected token }
express.js:3 Uncaught ReferenceError: cart_settings is not defined"

Could you help?
Cheers

Type: Pre-Sale
Status: In Progress
micrdy
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi, yes I can help. I'll need more info. What would help the most is if you have a public URL I can see. If required, just PM me the dashboard login details if the page isn't published. This way I can see what else is happening on the page and what could be causing the error.

Some possible causes:
- JS in the theme causing a clash;
- Lack of jQuery library being included (usually a different message);
- JS in another add-on causing a clash;
- C5 caching issue;
- Invalid product detail in the cart;

Once I have a URL I'll dig in a bit deeper to help you troubleshoot the issue.

JB

concrete5 Environment Information

# concrete5 Version
5.6.3.4

# concrete5 Packages
Designer Content (3.1.1), Ecommerce Express (1.5.9), Whale Nivo Image Slider (1.2).

# concrete5 Overrides
blocks/produkte_geschenke, blocks/produkte, blocks/produkte_konzil, languages/ar, languages/cs_CZ, languages/da_DK, languages/de_DE, languages/el_GR, languages/es_AR, languages/es_ES, languages/es_MX, languages/es_PE, languages/fa_IR, languages/fi_FI, languages/fr_FR, languages/it_IT, languages/ja_JP, languages/nb_NO, languages/nl_NL, languages/pl_PL, languages/pt_BR, languages/pt_PT, languages/ro_RO, languages/ru_RU, languages/sk_SK, languages/sl_SI, languages/sv_SE, languages/tr_TR, languages/vi_VN, languages/zh_TW, themes/agro-marketing

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache/2.2.31 (FreeBSD)

# Server API
cgi-fcgi

# PHP Version
5.6.21

# PHP Extensions
apc, apcu, bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dbase, dom, ereg, exif, fileinfo, filter, ftp, gd, geoip, gettext, gmp, hash, iconv, imagick, imap, intl, json, ldap, libxml, mailparse, mbstring, mcrypt, mhash, mssql, mysql, mysqli, mysqlnd, ncurses, odbc, openssl, pcntl, pcre, PDFlib, PDO, pdo_dblib, pdo_mysql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, scrypt, session, SimpleXML, snmp, soap, sockets, SPL, sqlite3, ssh2, standard, syck, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, 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 - 16M
sql.safe_mode - Off
upload_max_filesize - 16M
ldap.max_links - Unlimited
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
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
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

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