Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Appery Test not working properly

I am working on my project when suddenly, I got this error on console:

Uncaught SyntaxError: Unexpected token <

Image

the content of the JS on the console is:

code<html></html>/code

Everything on my Javascript are good I do not know what causes this..

Please help.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Appery Test not working properly

Hello -

Please debug your JavaScript on this page the reference to which are shown on the right side.
http://devcenter.appery.io/documentat...

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Appery Test not working properly

Do i have anything to do on

model.js?

Image

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Appery Test not working properly

You have incorrect syntax in file model.js.span class="_wysihtml5-temp"/span

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Appery Test not working properly

Sorry, but I do not have model.js on my javascripts.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Appery Test not working properly

Could you please provide us with a public app link and steps to reproduce, we'll take a look.

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Appery Test not working properly

http://appery.io/app/mobile-frame?src...

Please login using:

Username: user
Password: pass

  1. Click List (Operation)

  2. Bottom part Click "Search Establishment"

  3. Choose Food on Dropdown

  4. Set Boundary 500

  5. Click Search

  6. Click Any Map Marker then click Visit Place link inside infowindow

  7. Click Visit Place

  8. Click Back

  9. Click Back

  10. This is where the error (Click Get Directions)

    Here's my problem:

    I have this page called "Establishment_menu" with HTML Component that has Javascript for searching establishments nearby..

    Everything on the app works fine until I get to "Establishment_menu" page..

    After using the functionality of "Establishment_menu" which is to search for nearby places, I would have to navigate on a certain page but the problem is the javascript inside the HTML page is causing error on the other page which stops the navigation of the pages then it will be stuck on a page.

    When I navigate from the HTML page, it is causing error on Console like:

    The page is looking for the values of the Text input from the page with HTML even I am not on the HTML Page anymore..

    Any idea how to fix? :(

Poll David
Posts: 0
Joined: Sat Jan 24, 2015 5:22 am

Appery Test not working properly

Here are some of the errors I get after navigating back from the HTML page

Image

Image

It is showing errors on directions.js which I can use properly if I did not use/navigate to the HTML page.

"Uncaught TypeError: Cannot read property 'setPanel' of undefined" isn't it that setPanel is used as property for google maps to show direction? I can use this JS properly if i do not navigate to the HTML page

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Appery Test not working properly

Hello Poll.
This strange behavior appears in most of apps I know, simple solution doesn't exist.
You need to wait 15-20 mins, just from time to time, close and open project and try to test it, until it will send you all js files for the project

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Appery Test not working properly

Hi Poll,

Should be fixed now. Please try again and let us know result.

Return to “Issues”