Alchemy CMS JS errors

12 views
Skip to first unread message

Pablo García

unread,
Dec 25, 2016, 6:06:34 AM12/25/16
to Alchemy CMS
Hi,

In first place thank you for making this amazing CMS, I love it.

But I'm having some troubles with its JS. When I load my page (not admin) I'm getting two JS errors that I think that are breaking my JS :

1.- Uncaught Alchemy.locale is not set! Please set Alchemy.locale to a locale string in order to translate something. Alchemy.i18n.js:11 (I don't know how to set that locale)

2.-Uncaught TypeError: Cannot read property 'removeFrom' of undefined
    at HTMLDocument.<anonymous> (alchemy.initializer.self-d506f2f….js?body=1:52)
    at HTMLDocument.dispatch (jquery2.self-25ca496….js?body=1:4738)
    at HTMLDocument.elemData.handle (jquery2.self-25ca496….js?body=1:4550)
    at triggerEvent (turbolinks.self-c37727e….js?body=1:334)
    at XMLHttpRequest.xhr.onload (turbolinks.self-c37727e….js?body=1:101)

I see that this one is related with turbolinks. I don't use it, is that a problem? When I reload the page my JS is working again so the problem is apparently related with turbolinks but I do not know how to solve that two errors. Any one can help me?

Thanks!


Thomas von Deyen

unread,
Dec 28, 2016, 7:34:29 AM12/28/16
to alche...@googlegroups.com
Hi Pablo. 

Could you please join the Slack (http://slack.alchemy-cms.com) to continue the discussion?

Also, please file a bug report at GitHub. Please include all information that helps us to reproduce the issue.

Thanks. 
--
You received this message because you are subscribed to the Google Groups "Alchemy CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alchemy-cms...@googlegroups.com.
To post to this group, send email to alche...@googlegroups.com.
Visit this group at https://groups.google.com/group/alchemy-cms.
To view this discussion on the web visit https://groups.google.com/d/msgid/alchemy-cms/94a9141c-53b8-46ff-9fc2-c8508d5e4b96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robin Böning

unread,
Dec 28, 2016, 8:24:39 AM12/28/16
to Alchemy CMS
Hi Pablo,

I replied on the 25th already but the message was not delivered.

As Thomas said, please join the Slack channel. Its easier to find the issue in direct communication.

Please show us your `application.html.erb` file because it sounds as you are loading Alchemy javascripts that are not needed in your frontend at all.

Robin
Reply all
Reply to author
Forward
0 new messages