AnsweredAssumed Answered

Custom view javascript error preventing access to site

Question asked by Nick Nick on Jul 16, 2014
Latest reply on Nov 4, 2015 by leonell24
We are using Sugar On-Demand version 7.2.1 and lately I have been experimenting with custom views (dashlets). I test these by using the Module loader and uninstall and re-install my package each time.

However, my most recent test contained a syntax error in the Javascript controller for my dashlet. Now whenever I try to get to our '<company-name>' site it just says it's loading and never goes any further. I looked in the console using Chrome's terminal only to find that my Javascript file in the package I had just uploaded was throwing a syntax error. So I believe it is preventing the site from loading at all.

Here is the error:
Uncaught SyntaxError: Unexpected token ) 
I can't seem to access the admin panel either (or anything on our site for that matter) so I am unsure of how to fix this problem at all. Any help?