By stefano rigazio on Tuesday, 07 March 2017
Posted in General Issues
Replies 5
Likes 0
Views 671
Votes 0
sometimes, when the public comment by asked to log a message that says: SyntaxError: Unexpected token I

This appears also just entered to clean the cache site.

thanks a lot

stefano
Hi Stefano,

I've tried to add a new comment as a public user, it seems work fine: https://www.screencast.com/t/ocfY1c4WH

May i know how to reproduce this issue? Is it when you trying to comment multiple time or some of other step?
·
Wednesday, 08 March 2017 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
there is not a specific condition. Sometimes it does upon loading the page, sometimes after you remain idle on the same page for a long time and later without reloading write
·
Wednesday, 08 March 2017 15:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Stefano,

I've tried to replicate the issue with these steps:
1. Comment after load/refresh a page
2. Write a comment and leave it 15 minute and try to submit the comment
Seems like I still cannot replicate it in your site
I've also ask my colleague to test this seems they also cannot reproduce this issue: https://www.screencast.com/t/2ZRK0Xl6hm
Perhaps, if you encounter this issue next time, can you observe the condition, maybe what browser you're using, which entry post etc. so we can narrow down the possibility to reproduce this
·
Wednesday, 08 March 2017 18:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Maybe I understand why I disattivamento the cache that is managed by jotcache component and jchoptimize and now no more the problem

I see that there are also others who have the same problem: https://stackideas.com/forums/search?query=SyntaxError%3A+Unexpected+token+&category_id=
·
Friday, 10 March 2017 22:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Based on what you observation, I believe that is most likely is the cache issue, perhaps you can enabled back jchoptimize then try again? and disable all the cache system from your site.

I see that there are also others who have the same problem: https://stackideas.com/forums/search?query=SyntaxError%3A+Unexpected+token+&;category_id=

Yes, he still testing on it after disable those cache system.
·
Saturday, 11 March 2017 15:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post