-
AuthorPosts
-
February 15, 2016 at 11:27 pm #583819
Hi,
I have a Themeforest API Key into my theme. But i get problems with Google Maps Api and an illegal token.
Can you tell me what i do wrong?
The following message is in my Javascript consoleUncaught SyntaxError: Unexpected token ILLEGAL
._avia_advanced_form_elements.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_sidebar.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_media.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_mega_menu.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_media_wp35.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_media_advanced.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_colorpicker.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_dynamic_templates.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_edit_dynamic_templtes.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
js:85 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.Gg @ js:85
util.js:22 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
js?key=AIzaSyCzR0x3JqkQLG0vyCPtyjPlNJnhtFwIpos&sensor=false:31 Google Maps API error: Google Maps API error: DeletedApiProjectMapErrorFebruary 17, 2016 at 4:39 am #584445Hey ambu112,
When going to your login page I get a prompt before accessing the actual site for user and password, I used what the prompt told me to input but after that I get a WordPress page only reading Forbidden, not sure what’s going on?
Thanks,
RikardFebruary 17, 2016 at 9:00 am #584533Hi Rikard,
Thats strange what can this mean? Is it the problem to login on the back-end?February 18, 2016 at 6:55 am #585190Hi,
I’m not sure, do you have any security plugins or ip blocking active maybe?
Thanks,
RikardFebruary 18, 2016 at 8:27 am #585226That’s the problem i will disable that.
February 19, 2016 at 5:42 am #585846Hi,
Thanks, login is working now. Where are you seeing those error messages? I couldn’t see any on the backend. Could you try deactivating all plugins to see if one of them is causing a conflict?
Best regards,
RikardFebruary 20, 2016 at 8:28 am #586420Hi,
I deactivate every plugin one by one en all in once. It won’t help still the message Unexpected token ILLEGALFebruary 22, 2016 at 8:30 am #586941Hey!
The google maps widget error is cause by the plugin Google Maps Widget. Please use the theme’s google map widget. Regarding the remaining errors, please try to deactivate the plugins then test it again.
Best regards,
IsmaelFebruary 22, 2016 at 8:31 am #586942February 22, 2016 at 9:17 am #586976Hi,
The Google map problem is solved. The only problem isUnexpected token ILLEGAL ._avia_option_pages.js:1 Uncaught SyntaxError:
._avia_advanced_form_elements.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_sidebar.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_media.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_mega_menu.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_media_wp35.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_media_advanced.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_colorpicker.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_dynamic_templates.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
._avia_edit_dynamic_templtes.js:1 Uncaught SyntaxError: Unexpected token ILLEGALFebruary 23, 2016 at 5:57 am #587558February 23, 2016 at 6:30 am #587566Yes. I turn them Off and one one by one and one tome all. No result
February 25, 2016 at 8:38 am #588805Hey!
I checked the content of the files reported in the console and it looks nothing like the default files.
_avia_advanced_form_elements.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
Mac OS X 2��ATTR;�������9com.apple.quarantine�Scom.dropbox.attributes-40002;56c21c61;Safari;89C83EA7-409E-4D9B-AE83-063C5FBBA2D8x��VJ)�/Hʯ�O��I�L���ON�Q�R�V�ML����%����RK�%s�4#�O�0#WG� ������
G[[���Z���This resource fork intentionally left blank ��
`Where did you get the theme files? Please get a fresh copy of the theme from your themeforest account and elete the old enfold theme folder.
Best regards,
IsmaelFebruary 25, 2016 at 10:56 am #588877Hi Ismael,
I delete the theme like you say and it;’s working great
Thnx!
You can close this topicFebruary 27, 2016 at 9:58 am #590212 -
AuthorPosts
- The topic ‘Problems with Javascript’ is closed to new replies.