Odd javascript errors [2.1b2]
My users are reporting that they sometimes get "Whoops! You need to enable javascript to do that." when they perform certain actions on my board, such as bookmarking a thread or editing a post.
I've experienced this issue a few times myself, and occasionally there will be a Vanilla notification saying "There was an error performing your request. Please try again."
Do you think this is an issue with my forum, or is it a client-side problem? Any input appreciated.
Best Answer
-
peregrine MVP
It means they haven't fully downloaded the jquery and associated js.
If they wait till page is finished loading they shouldn't see the errors.
I see it all the time on this forum because my internet connection is so slow.
Clicking on bookmark before the page is fully loaded always results in a "Whoops".
In firefox, you can see the twirling indicator on the tab, if it is twirling not everything is loaded.
You can also look in web developer tools and see what is still loading by looking at network.If you want to speed things up - don't use google fonts or have lots of things coming from facebook, etc on other sites.
widgets.js from twitter.com is particularly slow
every thing coming from social networking sites will take a big performance chunk out of your site for people with slow internet connections.
patience is the key.
it would be great if vanillaforums.org - removed the follow us panel from the left hand side when viewing an individual discussion and the profile and activity page as well as all the promotional graphics in the panel.
Seem that having it viewable from the topics page would be substantial and reminder enough instead of showing "follow us panel and promotional cloud product" on an individual discussion and each and every page, would make loading faster, and a cleaner looking site, if it was just on home page and topics page.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
6
Answers
It means they haven't fully downloaded the jquery and associated js.
If they wait till page is finished loading they shouldn't see the errors.
I see it all the time on this forum because my internet connection is so slow.
Clicking on bookmark before the page is fully loaded always results in a "Whoops".
In firefox, you can see the twirling indicator on the tab, if it is twirling not everything is loaded.
You can also look in web developer tools and see what is still loading by looking at network.
If you want to speed things up - don't use google fonts or have lots of things coming from facebook, etc on other sites.
widgets.js from twitter.com is particularly slow
every thing coming from social networking sites will take a big performance chunk out of your site for people with slow internet connections.
patience is the key.
it would be great if vanillaforums.org - removed the follow us panel from the left hand side when viewing an individual discussion and the profile and activity page as well as all the promotional graphics in the panel.
Seem that having it viewable from the topics page would be substantial and reminder enough instead of showing "follow us panel and promotional cloud product" on an individual discussion and each and every page, would make loading faster, and a cleaner looking site, if it was just on home page and topics page.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This is very true. Also a good reason to make sure any external scripts don't block loading of the page properly. I run ghostery and you would be amazed how much faster loading most sites are.
Then you come across a site that is set up poorly (or purposely) that will not load unless tracking/social JavaScript is running.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.