Really Strange Javascript error
4 posters
Page 1 of 1
Really Strange Javascript error
Right now none of the jscript that are set to work on "All pages" are working.
Then, a couple hours later I noticed there was a jscript running that I don't have installed. The file name is 99142.js
This is the only error that I get when I use chrome, thanks to Rideem.
But, I had LGchat installed, just took it out, but the error still exists. Did I re-enable the jscripts too many times? 'Cause I did it like 2 or 3 times in a row to see if that would fix the scrolling down issue.
Then, a couple hours later I noticed there was a jscript running that I don't have installed. The file name is 99142.js
This is the only error that I get when I use chrome, thanks to Rideem.
But, I had LGchat installed, just took it out, but the error still exists. Did I re-enable the jscripts too many times? 'Cause I did it like 2 or 3 times in a row to see if that would fix the scrolling down issue.
Last edited by Dex♥ on December 5th 2012, 5:34 am; edited 1 time in total
Re: Really Strange Javascript error
Every time you edit a javascript file it changes the name at the end of the script.
meaning.
If you have had
/99983.js went in and edited it and clicked save (even if you don't edit and click save)
the file will then be changed, for example code be like /83203.js
So check your console again.
meaning.
If you have had
/99983.js went in and edited it and clicked save (even if you don't edit and click save)
the file will then be changed, for example code be like /83203.js
So check your console again.
Re: Really Strange Javascript error
nextlevelgaming wrote:Every time you edit a javascript file it changes the name at the end of the script.
meaning.
If you have had
/99983.js went in and edited it and clicked save (even if you don't edit and click save)
the file will then be changed, for example code be like /83203.js
So check your console again.
Nope. I've checked that already. Thanks anyways though.
Re: Really Strange Javascript error
When I check my error console (Firefox) I get this error:
- Code:
Timestamp: 12/4/2012 7:51:42 PM
Error: SyntaxError: syntax error
Source File: http://www.toonworldacademy.net/99566.js
Line: 1, Column: 60
Source Code:
e('<div class="before_post_message">Please no spam.</div>')});jQuery(document).ready(function(){jQuery('a[href="/u1"] sp
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Really Strange Javascript error
slg wrote:When I check my error console (Firefox) I get this error:
- Code:
Timestamp: 12/4/2012 7:51:42 PM
Error: SyntaxError: syntax error
Source File: http://www.toonworldacademy.net/99566.js
Line: 1, Column: 60
Source Code:
e('<div class="before_post_message">Please no spam.</div>')});jQuery(document).ready(function(){jQuery('a[href="/u1"] sp
When I check the url for that file I get
- Code:
var CopyrightNotice='////////-------LGchat Version 4 for forumotion boards, made by LGforum. Copyright © by LGforum. All Rights Reserved. Use and/or modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. Absolutely no distribution without written consent from LGforum.--------\\\\.';var LGbgColor='#78ff00',newMsgColor='orange',newMsgSoundSrc='http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3',updateTime=150,PMpermissions='1,2',savePermissions='1,2',LGchat_title='Toon World Academy Chatbox',LGautoLog=true,LG_sticky='Welcome to TWA\'s Chatbox. ';$(document).ready(function(){if(document.getElementById('logout')){$('#text_editor_textarea').before('<div class="before_post_message">Please no spam.</div>')});jQuery(document).ready(function(){jQuery('a[href="/u1"] span').each(function(){var t=jQuery(this).text();var splitT=t.split(" ");var halfIndex=Math.round(splitT.length/2);var newText="";for(var i=0;i<splitT.length;i++){if(i==halfIndex){newText+="<strong><span style='color:#0cf;'>"}newText+=splitT[i]+" "}newText+="</span></strong>";jQuery(this).html(newText)});jQuery('#chatbox a[href="/u1"]').each(function(){var t=jQuery(this).text();var splitT=t.split(" ");var halfIndex=Math.round(splitT.length/2);var newText="";for(var i=0;i<splitT.length;i++){if(i==halfIndex){newText+="<strong><span style='color:#0cf;'>"}newText+=splitT[i]+" "}newText+="</span></strong>";jQuery(this).html(newText)});jQuery('#chatbox_members a[href="/u1"] span').each(function(){var t=jQuery(this).text();var splitT=t.split(" ");var halfIndex=Math.round(splitT.length/2);var newText="";for(var i=0;i<splitT.length;i++){if(i==halfIndex){newText+="<strong><span style='color:#0cf;'>"}newText+=splitT[i]+" "}newText+="</span></strong>";jQuery(this).html(newText)})});
Which is basically a bit of my css, and most of my javascripts combined little by little. I doubt the syntax for this is correct. I swear, I don't right my own jscripts. I have a friend who know's a little about it do it. But, i've never had errors before until I re-enabled it multiple times just to double check if there was an issue.
Before that, apparently the thing that checks the login/out was the only error. Fixed that, however things are still messed up.
Re: Really Strange Javascript error
Rideem3 wrote:The 9---- javascript urls represent every javascript that meant for in all pages put into one javascript file.
So you'll have to check each in all pages script.
What do i look for?
Re: Really Strange Javascript error
Name color script:
And that's the other one that's in the error code.
Last edited by Dex♥ on December 5th 2012, 5:31 am; edited 1 time in total
Re: Really Strange Javascript error
You mentioned you had LGChat installed, which will likely cause errors for you too now that it has been discontinued and unavailable. Please consider upgrading to AvacWeb Chat.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Really Strange Javascript error
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» A strange error
» JavaScript Error in Widgets
» HELP!! JavaScript - Sidebar error..
» boards not opening in firefox - javascript error
» Registration error: A browser error occured [Error #230], please contact the technical support.
» JavaScript Error in Widgets
» HELP!! JavaScript - Sidebar error..
» boards not opening in firefox - javascript error
» Registration error: A browser error occured [Error #230], please contact the technical support.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum