Page 1 of 1

Uncaught SyntaxError: Unexpected token <

Posted: 07 Jun 2018, 13:38
by yacms
Hi everyone,

TYPO3 Version 8.7.11
AIMEOS 18.4.1

I installed everything like shown in the documentation. Deleted demo data and entered some of my own products. Everything was working pretty well. 1 Day later, without any known changes the Shop pages throwing errors:

(Reinstalled all pages, and demo data, still the same error) I have no clue why this happens:

Uncaught SyntaxError: Unexpected token <
?ai[s_prodcode][0]=demo-article&ai[s_prodcode][1]=demo-bundle-article&ai[s_prodcode][2]=demo-selection-article:1
Uncaught SyntaxError: Unexpected token <

any ideas?

Re: Uncaught SyntaxError: Unexpected token <

Posted: 07 Jun 2018, 16:37
by aimeos
Did you enable TYPO3 debugging? What is added to the response you get from the server?

Re: Uncaught SyntaxError: Unexpected token <

Posted: 14 Jun 2018, 18:12
by yacms
Hi, when i enable FE Debugging the page is rendered like this:

Image

Still same error...

Re: Uncaught SyntaxError: Unexpected token <

Posted: 14 Jun 2018, 18:38
by aimeos
Please disable FE debugging again :-)
Then have a look into the response for the catalog count request what is returned in the response payload. Use the debug toolbar of your browser to get the details.

Re: Uncaught SyntaxError: Unexpected token <

Posted: 18 Jun 2018, 22:38
by yacms
I reconfigured everything from scratch, now its working fine... i am pretty sure this was an caching bug. Thanks for your help.

#CLOSE