Author |
Topic |
woodywyatt
New Member
61 Posts |
Posted - 08 September 2005 : 16:04:24
|
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 |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
woodywyatt
New Member
61 Posts |
Posted - 08 September 2005 : 20:30:12
|
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) |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 08 September 2005 : 22:18:51
|
What did you add? |
|
|
woodywyatt
New Member
61 Posts |
Posted - 09 September 2005 : 05:24:55
|
it was a url for a website |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
woodywyatt
New Member
61 Posts |
Posted - 09 September 2005 : 07:47:59
|
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 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 09 September 2005 : 09:51:47
|
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.” |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 09 September 2005 : 10:04:26
|
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 |
|
|
woodywyatt
New Member
61 Posts |
Posted - 09 September 2005 : 12:07:51
|
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 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
woodywyatt
New Member
61 Posts |
Posted - 09 September 2005 : 12:51:56
|
fString = Replace(fString, bwords(i), breplace(i), 1, -1, 1) |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
woodywyatt
New Member
61 Posts |
Posted - 09 September 2005 : 13:35:04
|
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? |
|
|
Topic |
|