1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    abhinaibondada is on a distinguished road

      0  

    Default when opening app.html it is showing me a blankpage

    when opening app.html it is showing me a blankpage


    i have followed this application(city bar) completely i had a yelp key placed in the line 2 when i run my app.html it shows a blank page with the heading City Bars shown in the image any one help me
    Attached Images

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,305
    Vote Rating
    108
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    Look if your application is loading data from the web:

    1. Right click
    2. Select "inspect element" This will show you Chrome's developer's tools.
    3. Select "Network".
    4. Reload the application.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Martin Hobby Vavrous is on a distinguished road

      0  

    Default


    Quote Originally Posted by abhinaibondada View Post
    i have followed this application(city bar) completely i had a yelp key placed in the line 2 when i run my app.html it shows a blank page with the heading City Bars shown in the image any one help me
    Have the same problem - after clicking on DEPLOY some window appear. Then it write st. like 3 or 5 or 0 files copied and still show RUNNING... in headline - only one option is available (I tried to wait 5 minutes on quadcore @3,71MHz) - that option is to close whole window. In destination folder it makes all necessary files but - in all of them is content except app.html - it is blank (nothing written, but time stamp of editation is changing after every try of deploy). Can U help us? Where could be a problem?

  4. #4
    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


    It needs to be run from a webserver rather than the filesystem.

    Access it via http:// rather than file://.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Martin Hobby Vavrous is on a distinguished road

      0  

    Default Already solved my problem

    Already solved my problem


    There was a only one thing. When I replaced in "RESOURCES/LIBRARY" Base path from default (in my version 2.1.0 b584 set http://extjs.cachefly.net/ext-4.1.1-gpl/) to http://localhost/myproject/ everything started. File I need was ext-4.1.1-gpl.zip - found somewhere here on Sencha forum.

    P.S. It was necessary to copy ext-all.js and resources folder directly into root of myproject folder (former set in Apache). Since that, everything works fine. Seems to me that someone made a mistake when released latest edition with Base path params: http://extjs.cachefly.net/ext-4.1.1-gpl/ -- those doesn't work for me (clean install).

    Hope it helps

  6. #6
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Martin Hobby Vavrous is on a distinguished road

      0  

    Default


    Quote Originally Posted by aconran View Post
    It needs to be run from a webserver rather than the filesystem.

    Access it via http:// rather than file://.
    Both methods works for me now, thanks

  7. #7
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    abhinaibondada is on a distinguished road

      0  

    Default


    i did this it is showing my application app.html file but when i click it shows the same page as before and the screenshot when i opened my network is
    citybars.network.jpg

  8. #8
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    abhinaibondada is on a distinguished road

      0  

    Default


    hi martin how did u solved this problem can u help me on doing this

  9. #9
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Martin Hobby Vavrous is on a distinguished road

      0  

    Default


    Quote Originally Posted by abhinaibondada View Post
    i did this it is showing my application app.html file but when i click it shows the same page as before and the screenshot when i opened my network is
    see RESOURCES than maybe FRAMES and click on SCRIPTS or STYLESHEETS - are there any red exclamation marks (!) ?

  10. #10
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
    abhinaibondada is on a distinguished road

      0  

    Default


    no there is no exclamation marks on the scripts neither or stylesheets