Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » JavaScript Errors in CMS

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 957 Views
  • ITMonkey
    Community Member
    6 Posts

    JavaScript Errors in CMS Link to this post

    Hi, I'm getting js errors constantly when trying to access the /admin page, or when I try to do anything within the CMS section; SilverStripe is v2.3.3 and it's running on openSuSE 11.1 with apache 2.2.10-2.5

    Loading it locally in Opera 10.0 clicking Site Content I get these errors:

    JavaScript - http://localhost/admin/0
    Inline script compilation
    Syntax error while loading: line 2265 of linked script at http://localhost/jsparty/tiny_mce2/tiny_mce_src.js?m=1238116563
    Expected token: '}'
    return this.ru

    JavaScript - http://localhost/admin/0
    Event threat: load
    name: ReferenceError
    message: Statement on line 903: Undefined variable: tinyMCE
    stacktrace: n/a; see opera:config#UserPrefs|Exceptions Have Stacktrace

    locally in Firefox 3.5.3 it's even worse, it won't load the pages, it just briefly displays the loading icon and the icon next to the page name changes to the loading symbol, in the js console I just get e.g.:

    Error: jQuery is not defined
    Source File: http://localhost/sapphire/javascript/core/jquery.ondemand.js?m=1234316538
    Line: 205

    If I try it remotely using IE8 I get a whole load of errors, syntax errors, expected this that and the other and it doesn't load the admin page at all, just sits at the SS loading page.

    Whether this is related or not I don't know, but the normal web pages load EXTREMELY slowly if I access them by the domain name, even on the host, but if I access them using localhost it works fine. I thought it may have been that apache was binding to everything, but when I set it to bind to it's IP address, I couldn't get into the CMS (Access to the CMS only works using localhost or, otherwise it hangs ala IE8 even in Opera)

    Any ideas?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.