Results 1 to 5 of 5

Thread: backend JS bug: mootools and other JS not found

  1. #1
    User
    Join Date
    06-20-09.
    Posts
    64

    Default backend JS bug: mootools and other JS not found

    Hi
    I've started to receive the following errors in backend, it happened on every click inside backend. I haven't install extensions recently, I've made some changes inside DCA for my own module (add new field, change language file), but I don't think this is a reason.

    Maybe someone saw this previously?

    Thank you in advance.

    Contao version: 2.10.3.

    this is from firebug:
    Code:
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/calendar/css/calendar.css?CALENDAR"
    calend...ALENDAR
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/calendar/js/calendar.js?CALENDAR"
    calend...ALENDAR
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/mootools/mootools-core.js?1.3.2"
    mootoo...s?1.3.2
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/mootools/mootools-more.js?1.3.2.1"
    mootoo...1.3.2.1
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/calendar/js/calendar.js?CALENDAR"
    calend...ALENDAR
    Request is not defined
    [Break On This Error] 	
    
    ...tParent("form").getAttribute("action")}catch(b){}}this.parent(a)},success:functi...
    
    contao.js?2.10.3 (line 2)

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: backend JS bug: mootools and other JS not found

    Quote Originally Posted by Dmitry
    Hi
    I've started to receive the following errors in backend, it happened on every click inside backend. I haven't install extensions recently, I've made some changes inside DCA for my own module (add new field, change language file), but I don't think this is a reason.

    Maybe someone saw this previously?

    Thank you in advance.

    Contao version: 2.10.3.

    this is from firebug:
    Code:
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/calendar/css/calendar.css?CALENDAR"
    calend...ALENDAR
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/calendar/js/calendar.js?CALENDAR"
    calend...ALENDAR
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/mootools/mootools-core.js?1.3.2"
    mootoo...s?1.3.2
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/mootools/mootools-more.js?1.3.2.1"
    mootoo...1.3.2.1
    "NetworkError: 404 Not Found - https://MYSITEURL/plugins/calendar/js/calendar.js?CALENDAR"
    calend...ALENDAR
    Request is not defined
    [Break On This Error] 	
    
    ...tParent("form").getAttribute("action")}catch(b){}}this.parent(a)},success:functi...
    
    contao.js?2.10.3 (line 2)

    did you check that

    https://MYSITEURL/plugins/mootools/moot ... js?1.3.2.1

    is reachable? (i.e. try to open it directly in your browser)

    check if your .htaccess file has a wrong RewriteBase directive
    Consulenza Contao CMS https://www.intco.it

  3. #3
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: backend JS bug: mootools and other JS not found

    Try disabling each non-core extension in Settings one by one.
    It will be caused by a module I think, as plugins/calendar no longer exists in the core files.

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    64

    Default Re: backend JS bug: mootools and other JS not found

    Thank you ga.n and ramjet for answers.

    I've found a problem!

    it was because I had be_main.tpl in my templates folder. System tried to use this file for backend.

    but in this version contao team started to use .html5 files, where they changed paths to js and css. Once I've removed my be_main and started to use default html5 file everything woks.

    The questions are:
    1. why it works before, because I'm using 2.10.3 since 2 jan 2012.
    2. how to easy migrate from tpl to html5 for all templates (both frontend and backend)

  5. #5
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: backend JS bug: mootools and other JS not found

    Quote Originally Posted by Dmitry
    2. how to easy migrate from tpl to html5 for all templates (both frontend and backend)
    just rename it from .tpl to .html5
    Consulenza Contao CMS https://www.intco.it

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •