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: General / Classic ASP versions(v3.4.XX)
 Subscript out of range: 'i' ??!
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

woodywyatt
New Member

61 Posts

Posted - 08 September 2005 :  16:04:24  Show Profile  Visit woodywyatt's Homepage
I have just updated the Bad Word configuration on my forum at http://www.fuerteventura-forum.com and now the forum won't display any data. All that shows is the following error :

Microsoft VBScript runtime error '800a0009'

Subscript out of range: 'i'

/forum/inc_func_common.asp, line 251


Can anyone help? Please!
Thanks

Podge
Support Moderator

Ireland
3775 Posts

Posted - 08 September 2005 :  16:11:14  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Have you made any changes to the inc_func_common.asp or to the forum?

Can you post a few lines before and after line 251?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 September 2005 :  17:14:18  Show Profile  Send ruirib a Yahoo! Message
Do you have any bad words defined?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

woodywyatt
New Member

61 Posts

Posted - 08 September 2005 :  20:30:12  Show Profile  Visit woodywyatt's Homepage
No changes have been made to the inc_func_common.asp. The only change has been in the badword section where a couple of new words were added. The forum stopped working after this.
Podge - the few lines before and after line 251:

next
end if
Application.Lock
Application(strCookieURL & "STRBADWORDWORDS") = txtBadWordWords
Application(strCookieURL & "STRBADWORDREPLACE") = txtBadWordReplace
Application.UnLock
end if
txtBadWordWords = Application(strCookieURL & "STRBADWORDWORDS")
txtBadWordReplace = Application(strCookieURL & "STRBADWORDREPLACE")
if fString = "" or IsNull(fString) then fString = " "
bwords = split(txtBadWordWords, ",")
breplace = split(txtBadWordReplace, ",")
for i = 0 to ubound(bwords)
fString = Replace(fString, bwords(i), breplace(i), 1, -1, 1)
next
chkBadWords = fString
end function


function HTMLEncode(pString)
fString = trim(pString)
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 08 September 2005 :  22:18:51  Show Profile  Visit AnonJr's Homepage
What did you add?
Go to Top of Page

woodywyatt
New Member

61 Posts

Posted - 09 September 2005 :  05:24:55  Show Profile  Visit woodywyatt's Homepage
it was a url for a website
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 09 September 2005 :  06:15:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Did removing the url fix it ?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

woodywyatt
New Member

61 Posts

Posted - 09 September 2005 :  07:47:59  Show Profile  Visit woodywyatt's Homepage
no, but this is very very strange, my original forum is here http://www.fuerteventura-forum.com however, I did a back up when I first set up the forum which is here here http://www.fuerteventura-forum.com/clean and this works fine.
So I thought great, I'll download all of the files from there and replace the lot and the error should be gone.
I'm still getting the same error message on the original and both forums run off the same database. What's going on?!

By the way just in case you check, I've changed the default page on original for now so it redirects to my back up forum.

Edited by - woodywyatt on 09 September 2005 07:50:04
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 September 2005 :  09:44:27  Show Profile  Send ruirib a Yahoo! Message
So, both forums run from the same database, have the same code, but one gives you the error and the other does not?

I visited both and got no such error...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 09 September 2005 :  09:51:47  Show Profile
Rui:
quote:
Originally posted by woodywyatt
By the way just in case you check, I've changed the default page on original for now so it redirects to my back up forum.


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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 September 2005 :  10:04:26  Show Profile  Send ruirib a Yahoo! Message
Yeah, Shaggy, seen it. Found the post a bit confusing. Anyway, woodywyatt, you can just rename your folders, so that the one that is working gets the usual forum name.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

woodywyatt
New Member

61 Posts

Posted - 09 September 2005 :  12:07:51  Show Profile  Visit woodywyatt's Homepage
Ruirib, sorry this all sounds a bit confusing I've now uploaded the original default.asp so it doesn't redirect now you can see the error http://www.fuerteventura-forum.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 September 2005 :  12:46:12  Show Profile  Send ruirib a Yahoo! Message
What's line 253. Mine doesn't have anything that can cause such an error, can you please post it?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

woodywyatt
New Member

61 Posts

Posted - 09 September 2005 :  12:51:56  Show Profile  Visit woodywyatt's Homepage
fString = Replace(fString, bwords(i), breplace(i), 1, -1, 1)
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 September 2005 :  13:05:15  Show Profile  Send ruirib a Yahoo! Message
Do you have any badwords defined? If so, can you check your forum variables, in admin options and post here the values for
STRBADWORDWORDS and STRBADWORDREPLACE.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

woodywyatt
New Member

61 Posts

Posted - 09 September 2005 :  13:35:04  Show Profile  Visit woodywyatt's Homepage
Since the error I removed all execept for one word - f·ck. The replacement word was 'flip'
Where do I find the values for STRBADWORDWORDS and STRBADWORDREPLACE?
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07