Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mobile version Error #449

Closed
xizoaziz opened this issue Jan 5, 2016 · 10 comments
Closed

mobile version Error #449

xizoaziz opened this issue Jan 5, 2016 · 10 comments

Comments

@xizoaziz
Copy link

xizoaziz commented Jan 5, 2016

hi all

when trying to open traccar in mobile it gets a blank black page ,and this error in browser console :

Uncaught TypeError: Cannot read property 'language' of undefined(anonymous function) @ VM105:7i.router.template7Render @ framework7.min.js:16i.router._load @ framework7.min.js:16(anonymous function) @ framework7.min.js:16i.router.preprocess @ framework7.min.js:16t @ framework7.min.js:16(anonymous function) @ framework7.min.js:16i.xhr.o.ajax.complete @ framework7.min.js:15r @ framework7.min.js:21g.onload @ framework7.min.js:21
util.js:30 SensorNotRequired: https://developers.google.com/maps/documentation/javascript/error-messages

any idea ?

@vitalidze
Copy link
Owner

Which language you have set in your installation? If it is arabic or vietnamese then there are no translations of mobile UI at the moment. Vietnamese is already translated (will be included in next release), if you want you may provide arabic translation here: https://www.transifex.com/traccar-web-ui-mod/traccar-web/messages_mobilejson/

@xizoaziz
Copy link
Author

xizoaziz commented Jan 6, 2016

i didn't chose any language . it is the login page it is not open just plank black page .

it is opened some times and work fine and some times Error.

@vitalidze
Copy link
Owner

So you have 'english' in 'desktop' UI? This error means it could not load localization data. Are there any other error messages besides this?

@xizoaziz
Copy link
Author

xizoaziz commented Jan 6, 2016

yes i have 'english' in desktop ,
no just this and a warning :
screen shot 2016-01-06 at 10 49 42 am

@vitalidze
Copy link
Owner

Try to set up language explicitly by providing URL parameter like http://myserver:8082/m/?locale=en.

@xizoaziz
Copy link
Author

xizoaziz commented Jan 6, 2016

now i got this

screen shot 2016-01-06 at 11 19 36 am

screen shot 2016-01-06 at 11 20 04 am

@vitalidze
Copy link
Owner

Something is wrong with you network connection with server. For some reason it cannot load the application settings. You need to check what's happening in 'Network' tab of the chrome developer tools.

@xizoaziz
Copy link
Author

xizoaziz commented Jan 6, 2016

yes i think it may be network issue.
it is working now but why time for location got Na Na .

screen shot 2016-01-06 at 12 07 32 pm

@vitalidze
Copy link
Owner

Looks like it cannot load the time for the last position. You should investigate the response in networking tab in chrome dev tools.

@vitalidze
Copy link
Owner

Fixed, written news, updated latest and demo versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants