1. #1
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    ScoPi is on a distinguished road

      0  

    Default Local API documentation is not viewable

    Local API documentation is not viewable


    I cannot seem to get a local copy of the API documentation that comes with ExtJS 3.1.1 to be viewable in Internet Explorer 7 or in Firefox 3.6. The basic layout of the API docs will load (the tree is on the left), but the main content area on the right says "Loading..." indefinitely. There is a JavaScript error in IE that says:

    Line: 2588
    Char: 13
    Error: Access is denied.
    Code: 0
    URL: file:///C:/Users/[username]/Documents/Libraries/ext-3.1.1/docs/index.html

    I've made sure that Windows Vista isn't blocking the files, and my account owns them.

    Firefox shows this error in Firebug:

    this.el is null
    this.render(this.el.dom.parentNode); ext-all.js (line 15617)

    Any ideas?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,779
    Vote Rating
    598
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    You need to run it through a web server, the content is loaded via Ajax.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    ScoPi is on a distinguished road

      0  

    Default


    Really? That seems odd that that would be required, but thanks. I'll just use the API docs hosted online for now.

  4. #4
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,663
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    Every dev needs a web server to develop apps. If you are on win, get xampp, an all-in-one-package ready to go.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  5. #5
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    ScoPi is on a distinguished road

      0  

    Default


    I've got WAMP now... Just seems odd to host API docs on it.

Thread Participants: 2