Author |
Topic  |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 24 March 2005 : 20:40:38
|
I don't get any javascript errors with the first site. Maybe it only happens to members?
For the second site, the javascript error is saying it cannot find the javascript function AddText().
<script language="Javascript" type="text/javascript">
<!-- hide
function insertsmilie(smilieface) {
AddText(smilieface);
}
// -->
</script> The javascript file http://www.ag-forum.com/inc_code.js seems to be missing. |
Support Snitz Forums
|
 |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 24 March 2005 : 20:49:39
|
quote: Originally posted by Davio
I don't get any javascript errors with the first site. Maybe it only happens to members?
That is the weird thing about it that I mentioned - The error seems to be totally random. Guess you're one of the lucky people.
quote: For the second site, the javascript error is saying it cannot find the javascript function AddText().
<script language="Javascript" type="text/javascript">
<!-- hide
function insertsmilie(smilieface) {
AddText(smilieface);
}
// -->
</script> The javascript file http://www.ag-forum.com/inc_code.js seems to be missing.
That file is located at http://www.ag-forum.com/include/inc_code.js . I copied it into the root folder as well, maybe that helps. However, I checked and the file is there in it's original location on the first site I mentioned, and still it's not working for a lot of members. |
eXtremeGossip  |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 24 March 2005 : 20:55:50
|
If you're going to move any of the javascript files from the root folder, you will need to change the location of them in the asp files. Since it assumes all forums files are in the Forum URL location you set in admin options.
The smilies work for me now for the second site.
Still no go on the first forum. The topic you point to takes me to the front page of the forum. |
Support Snitz Forums
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 24 March 2005 : 21:07:53
|
Maybe you meant this topic instead: http://unity.enya.com/topic.asp?TOPIC_ID=9979
There has to be something common between each member that reports the problem. Example: maybe they are all moderators, maybe the are only using IE 5.5, maybe it happens when the login from a certain section of the forum, maybe they have a toolbar.
Javascript errors don't come randomly, when they feel like. 
- It could be a firewall issue. - It could be a particular toolbar they have installed. - It could be a browser setting. Maybe they have javascript turned off, or thier browser security is on high. - It could be a coding error in the forum. If so, then it should be able to be reproduced. Ask them if they can reproduce the problem and give you step by step what they did to reproduce it. |
Support Snitz Forums
|
 |
|
Jorrit787
Average Member
  
Netherlands
681 Posts |
Posted - 24 March 2005 : 21:18:20
|
I did change the include file location in all ASP files... I remember that, vividly.
quote: Originally posted by Davio
Maybe you meant this topic instead: http://unity.enya.com/topic.asp?TOPIC_ID=9979
It's over here now: http://unity.enya.com/topic.asp?TOPIC_ID=9958#222222 - Sorry about that, the MODs have been moving it around.
quote: There has to be something common between each member that reports the problem. Example: maybe they are all moderators, maybe the are only using IE 5.5, maybe it happens when the login from a certain section of the forum, maybe they have a toolbar.
Javascript errors don't come randomly, when they feel like. 
- It could be a firewall issue. - It could be a particular toolbar they have installed. - It could be a browser setting. Maybe they have javascript turned off, or thier browser security is on high. - It could be a coding error in the forum. If so, then it should be able to be reproduced. Ask them if they can reproduce the problem and give you step by step what they did to reproduce it.
I haven't been able to find any similarities between the members that report it. As for reproduction, users with IE report this error message with regard to smilies:
Line: 409 Char: 1 Error: Object expected Code: 0 URL: http://www.ag-forum.com/post.asp?method=Reply&Topic_ID=47&Forum_ID=26
When I click on a smilie the line and the Char are the only items that change:
Line: 257 Char: 25
Firefox doesn't display this error, it just gives you a little exclamation mark in the bottom left of the screen and says Script Error.
|
eXtremeGossip  |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 25 March 2005 : 05:43:27
|
quote: I did change the include file location in all ASP files... I remember that, vividly.
Sorry Jorrit787, but your code said otherwise. <script language="JavaScript" type="text/javascript" src="inc_code.js"></script>
<script language="JavaScript" type="text/javascript" src="selectbox.js"></script> That's the code I see in the html output of your post.asp file. You probably missed a file.
Jorrit, can you reproduce the error they get? If not, answer these questions: - Was it in a specific forum or topic they were posting in? Get the link of1 or 2 of the topics they had the problem with. - Can they reproduce this EVERYTIME? - Does it happen everytime they make a post or only sometimes like a random thing? - Do they have any toolbars installed? - What firewalls do they have installed? - What is on line 257? Tell them to either view the source code and save it and send it to you and you look what line 257 is and then tell me what is on line 257.
You have to get those questions answered so we can get somewhere. You can get 1 or 2 of the members to help you out with the questions. Don't need all of them.
Firefox has a javascript console that will show the error. Tools --> Javascript console. That is if they installed the development tools when they installed firefox. |
Support Snitz Forums
|
 |
|
|
Topic  |
|