1. #1
    Sencha User
    Join Date
    Nov 2009
    Location
    Moscow
    Posts
    4
    Vote Rating
    0
    timteka is on a distinguished road

      0  

    Default Sencha Architect 2.1 bld 678. Unexpected token ILLEGAL

    Sencha Architect 2.1 bld 678. Unexpected token ILLEGAL


    Guys, trying to 'helloWorld', but... Getting this error in Chrome (or "SyntaxError: illegal character" in Firefox).
    What can be wrong? I've just created the new project (for ext js 4.1), then just put the initial view panel. That's all. Saving the project and opening it via any browser - white page with console error mentioned.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    Vote Rating
    121
    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


    Could you please provide an example or an archive of a sample project that illustrates the problem?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Nov 2009
    Location
    Moscow
    Posts
    4
    Vote Rating
    0
    timteka is on a distinguished road

      0  

    Default


    Thanks for the reply, Aaron.
    In case someone else will face this problem, here's the solution (though the cause is not so evident):
    http://smotko.si/nginx-static-file-problem/
    B
    riefly, the problem happens when using shared folders in virtualbox (vboxsf). In my case i use Ubuntu via virtualbox on Windows host. So the whole document root is shared between host and guest. Turning off sendfile directive in webservers solves the problem.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    Vote Rating
    121
    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


    Interesting thanks; it sounds like it stopped sending the file half way through or something.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread