1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    38
    Vote Rating
    1
    howHardCanItBe is on a distinguished road

      0  

    Default unable to open detail page on CityBars demo

    unable to open detail page on CityBars demo


    I get the following error when trying to access the detail page of the city bars demo. I grabbed the app from the site as a reference and get the same error.


    • [COLOR=red !important]Uncaught Error: [Ext.Loader] Failed loading synchronously via XHR: 'CityBars/view/DetailPanel.js'; please verify that the file exists. XHR status code: 404 [/COLOR]


    The list opens up fine with all the data. My files are at C:\inetpub\wwwroot\Architect2\test2\CityBars. I verified the files copied them in a few different places and the same thing happened. Whats wrong with my setup?

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Posts
    206
    Vote Rating
    8
    allisterf is on a distinguished road

      0  

    Default


    Are you online? The sencha JS and CSS files are currently not referenced locally in the default setup.
    Allister

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    38
    Vote Rating
    1
    howHardCanItBe is on a distinguished road

      0  

    Default


    I setup the app on localhost, the styling and all functionality except the detail form work.

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Posts
    206
    Vote Rating
    8
    allisterf is on a distinguished road

      0  

    Default


    I assume CityBars/view/DetailPanel.js exists and permissions on the file are okay?

  5. #5
    Sencha User
    Join Date
    Sep 2011
    Posts
    38
    Vote Rating
    1
    howHardCanItBe is on a distinguished road

      0  

    Default


    DetailPanel.js is at C:\inetpub\wwwroot\Architect2\CityBars\app\view just like the other files. I also copied the view folder to C:\inetpub\wwwroot\Architect2\CityBars\ just in case and got the same thing. I have read/write and IIS has read access.

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,359
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    If you navigate to the link http://localhost/Architect2/CityBars...=1337713705642

    Does it show up?

    Is CityBars being in there twice the proper location?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  7. #7
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
    rkathy is on a distinguished road

      0  

    Default Same symptoms..

    Same symptoms..


    Did you figure out what was wrong here? I am having the same experience/same issue with being unable to get to the detail page.

  8. #8
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    1
    Vote Rating
    0
    Alankle is on a distinguished road

      0  

    Default


    I've got exactly the same problem: Uncaught Error: [Ext.Loader] Failed loading synchronously via XHR: 'CityBars/view/DetailPanel.js'; please verify that the file exists. XHR status code: 404.


    I'm new to sencha touch but it seems that the framework change in the url "app" by the project name: http://localhost/CityBars/CityBars/v...=1343378915963


    Some redirections don't seem to work.

  9. #9
    Sencha User
    Join Date
    Jan 2014
    Posts
    1
    Vote Rating
    0
    ilopezc is on a distinguished road

      0  

    Default


    I just got through this example. So far it was correct up until the end. What I noticed was that if I copy the app folder, into my separate publish folder, rename the App folder to "CityBars". That particular error would be skipped, BUT I received another one. <br>
    <br>
    Code:
    Uncaught Error: [Ext.create] Cannot create an instance of unrecognized class name / alias: CityBars.view.DetailPanel