Results 1 to 2 of 2

Thread: Failed to load resource sencha microloader

  1. #1
    Sencha User
    Join Date
    Mar 2014
    Posts
    7

    Default Failed to load resource sencha microloader

    I have uploaded my sencha project to my server.I am just loading an external HTML file in my app. I am getting this error on running the app


    GET http://myserverurl/sencha/knolV/.sencha/app/microloader/development.js 403 (Forbidden)It works when i run it using Cordova on Android but its not working when i uploaded it on the server. I have changed the permissions of the complete app to 777 also.
    The code that i am using for loading the HTML page



    Ext.define('MyApp.view.MyPanel', {extend: 'Ext.Panel',config: { id: 'MyPanel', itemId: 'MyPanel', scrollable: true, listeners: [ { fn: 'onMyPanelActivate', event: 'activate' } ]}, onMyPanelActivate: function(newActiveItem, container, oldActiveItem, eOpts) { Ext.Ajax.request({ //local path of your html file url: 'http://some-link/story.html', success : function(response) { Ext.getCmp('MyPanel').setHtml(response.responseText); }, failure : function(response) { var text = response.responseText; Ext.Msg.alert('Error', text, Ext.emptyFn); } });}});

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Can you clarify what was uploaded to your webserver? Your entire application folder or a build. Are you running the web server that came with Sencha Cmd? If so from what folder did you run the 'sencha web start' command? What is the exact command did you use?
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Tags for this Thread

Posting Permissions

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