Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Poll Mod help
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

guido331
Starting Member

USA
25 Posts

Posted - 25 May 2005 :  13:13:47  Show Profile
I have the Poll Mod installed and working great except that now if I try to select moderators or allowed members for a forum I get a scripting error at the bottom of the page and nothing gets selected.

Here are the errors I get when I try to click any of the arrows to move a user from one column to the other:

Line: 554
Char: 1
Error: Syntax Error
Code: 0
URL: http://www.hallabaloos.com/Forum/post.asp?method=EditForum&FORUM_ID=14&CAT_ID=9&type=0
=========================
Line: 288
Char: 1
Error: Syntax Error
Code: 0
URL: http://www.hallabaloos.com/Forum/post.asp?method=EditForum&FORUM_ID=14&CAT_ID=9&type=0
=========================
Line: 1
Char: 1
Error: Object Expected
Code: 0
URL: http://www.hallabaloos.com/Forum/post.asp?method=EditForum&FORUM_ID=14&CAT_ID=9&type=0

Here is a zipped copy of my post.asp: http://www.hallabaloos.com/post.zip

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 May 2005 :  13:20:38  Show Profile
Use Firefox's Javascript Console to get more exact error messages. Also, go back through the Poll Mod readme and double check that you've made all the necessary changes and made them correctly.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

guido331
Starting Member

USA
25 Posts

Posted - 25 May 2005 :  14:01:50  Show Profile
Wierd... I made a backup of my post.asp and replaced it with the post.asp right from the zip file that came with the Poll Mod and still get the same thing. I also replaced that post.asp with the one that comes in the original forum zip file (sf2k_v34_05.zip) and STILL get the scripting errors.
Go to Top of Page

guido331
Starting Member

USA
25 Posts

Posted - 25 May 2005 :  16:39:47  Show Profile
I guess the problem I am having is bigger than I originally thought.

Nothing happens when I try to click any button (bold, italic, hyperlink, etc) in the post window and a script error is generated at the bottom of IE.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 May 2005 :  18:43:06  Show Profile
You're using IE, that's the problem right there.

Anyways, post a link to a txt version of your post.asp file.

Oops, didn't see your zip file. Will take a look at it.

Support Snitz Forums

Edited by - Davio on 25 May 2005 18:44:29
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 May 2005 :  18:51:14  Show Profile
Ok, your post.asp file looks ok. I will need to check your forum.
Can you give me a username and password to use, so I can check out the error?
You can email the info to me, using the forum.

Also I would suggest you use http://www.hallabaloos.com/forum/ to access your forum instead of http://www.hallabaloos.com/Forum/

Notice the F. This will cause problems when you or your members try to access the forum using those urls. Best to stick to 1 url which doesn't contain capital letters. Most trouble free.

Support Snitz Forums
Go to Top of Page

guido331
Starting Member

USA
25 Posts

Posted - 26 May 2005 :  08:19:11  Show Profile
Sorry, I didn't think this was a double post (http://forum.snitz.com/forum/topic.asp?TOPIC_ID=58418) since the other issue was more general with the entire forum rather than just with the poll mod. (note the additional information at the bottom of my post regarding a clean reinstall of the forum)

Anyhow, I did some more troubleshooting yesterday and apparently have this narrowed down to an issue with IIS. From my other post (linked above) note that I took a completely clean install of the latest version of the forum and made a completely new database for it and still saw the scripting errors in IE. I also see similar issues when viewing the page with Mozilla so I don't think the browser is the issue here. Also, this forum has been working fine for me in the past with IE. Anyhow, just for grins I took the entire forum folder and moved it to a completely different website on the same web server. Lo and behold I no longer got the scripting errors. In other words, http://www.hallabaloos.com/Forum gives scripting errors but http://www.jasonsconsulting.com/Forum does NOT give scripting errors.

I went through each website and compared every setting I could find and made sure they were identical. From what I found the original website actually has MORE permissions than the new website and still fails. All other settings were the same. Rather than lose any more sleep over this I just created a virtual folder under http://www.hallabaloos.com called Forum that redirects to the URL of the new forum location at http://www.jasonsconsulting.com/Forum.

So now this is working for the meantime but I'd still like to figure out why it works under one website but not another.

If you want to log into the forum for testing, use L/P: test



Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2005 :  11:45:58  Show Profile
No you don't understand, for me to reproduce your problem, I would need admin privileges. How else am I going to select moderators for a forum?

You really didn't need to go through all of that, before giving us a chance to look into the problem for you. But anyways...email me a username and password I can use.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2005 :  11:50:08  Show Profile
And I can't test the problem if you have the url http://www.hallabaloos.com/Forum/ pointing to http://www.jasonsconsulting.com/Forum.

I suggest you undo your changes. It's only a problem on the admin side of things. Your members are not affected. It's just some javascript error. So undo your site changes and give us a chance to look into it for you.

Support Snitz Forums
Go to Top of Page

guido331
Starting Member

USA
25 Posts

Posted - 26 May 2005 :  12:46:31  Show Profile
Sorry about the confusion. Since I have the main forum working currently by redirecting it to a different website I'd like to keep it that way for now until we figure out why this is happening. I set up a test forum under the original domain name here:

http://www.hallabaloos.com/testforum

L: test
P: test

This is a completely clean install of 3.4.5 with no mods. It is connected to a brand new database with just the default tables created in it. The test user above has admin priveleges. And yes, this completely clean install has the same problem.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 May 2005 :  13:06:53  Show Profile
You've got a HTML file at the end of all your javascript files. If, as you say, these are completely new, straight out of the zip forum then your host is adding that HTML to your javascript files and you'll need to get in contact with them to get them to remove it.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

guido331
Starting Member

USA
25 Posts

Posted - 26 May 2005 :  13:18:10  Show Profile
That was it!! I turned off the HTML footer and now everything works perfectly. Thank you very much for all your help.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 May 2005 :  13:20:09  Show Profile
You're welcome But what do you mean about turning off the HTML footer?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

guido331
Starting Member

USA
25 Posts

Posted - 26 May 2005 :  13:29:22  Show Profile
In IIS you can add an HTML page to the bottom if every webpage served. In this case I had an HTML footer containing a Google Adsense ad (gotta pay for my expenses somehow) that was being appended to every page my server served. I went into properties for the forum folder and unchecked the box to enable to HTML footer just for that folder. Total "doh!" on my part.

Here is more about the HTML footer from Microsoft:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e27f918e-89a9-45a8-8604-2ad2ded09d64.mspx
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 May 2005 :  18:42:05  Show Profile
But my point was that since the problem you were having wasn't affecting your members, there wasn't any need to go through all that.

Glad you got it sorted though. Nice work Shaggy.

Support Snitz Forums
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 27 May 2005 :  08:18:31  Show Profile
Surely, though, IIS can tell the differnce between a *.html and *.js file? Or at the very least offers you an option to specify which extensions it's allowed append the footer to?

Davio, it would have effected any members attempting to load pages that linke inc_code.js or inc_datepicker.js


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 27 May 2005 08:19:52
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07