Results 1 to 3 of 3

Thread: Not allowed to load local resource

  1. #1

    Default Not allowed to load local resource


    I obtain this error when I try to run the contacts demo.
    I install as is the architect and touch 2 and download the sample.
    could you help ?

    Not allowed to load local resource: file:///C:/sencha/download/sencha-to...ncha-touch.css
    Not allowed to load local resource: file:///C:/sencha/download/sencha-to...h-all-debug.js
    app.js:16Uncaught ReferenceError: Ext is not defined[/COLOR]
    app.html:13Uncaught ReferenceError: Ext is not defined
    chrome-extension://mpcddcfoblbgmnaklcpkbfajnfikinhn/videodownload.js:5Uncaught TypeError: Cannot read property '0' of null

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007


    Put the application in a directory that can be served via http (iis/apache/etc) and then load it up in the web browser over http.

    The file:// system protocol has many security restrictions which will not allow for XHR requests.
    Aaron Conran

  3. #3

    Default http://localhost:8080/sencha-touch-2.0.1/

    Thanks a lot.
    I finally understood my problem.
    by defining as following it works perfect

    by the way how to define the API path
    I try this without success

    last problem ( I hope ...)
    I obtain this error in the debug console
    [WARN][Anonymous] [Ext.Loader] Synchronously loading 'MyApp.view.MyList'; consider adding 'MyApp.view.MyList' explicitly as a require of the corresponding class
    sencha-touch-all-debug.js:26221[WARN][MyApp.view.MyList#applyStore] The specified Store cannot be found
    [COLOR=red !important]chrome-extension://mpcddcfoblbgmnaklcpkbfajnfikinhn/videodownload.js:5Uncaught TypeError: Cannot read property '0' of null


    Any idea what can be the problem ?
    I only copy the contacts demo and try to run it ???
    Please find attach zip file of my app...
    Attached Files Attached Files

Posting Permissions

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