开发者

Object expected error in Internet Explorer, but ONLY on heroku, and only after added Devise (I htink)

开发者 https://www.devze.com 2023-02-12 06:14 出处:网络
Our Rails3 app is a modified version of a prior Rails3 app which did not cause IE7+ to give the dreaded \"Object expected\" error. And the new app doesn\'t throw that error when run locally either. Bu

Our Rails3 app is a modified version of a prior Rails3 app which did not cause IE7+ to give the dreaded "Object expected" error. And the new app doesn't throw that error when run locally either. But when we run the same code on heroku IE does report "Done, with errors on page" and specifically "Line 2, Char 1, Error: Object expected, URL (url for whatever page is viewed)"

Other than that things run fine.

Any thoughts why we s开发者_开发知识库ee the errors only when remotely hosted?


solved. it turns out the issue was related to a missing js file that was being added to the header by default.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号