Author |
Topic |
|
gbdg
New Member
73 Posts |
Posted - 16 July 2001 : 19:38:13
|
Topic Quote Reply is throwing this error: Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'Left' /forums/Academy2001/post.asp, line 463
Edit topic is throwing this error: Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'Left' /forums/Academy2001/post.asp, line 459
The base code is HuwR's download, and I worked on a few pages to allow variable forum table prefix names to work. Any ideas what I might have broken to clobber this?
Thanks, Greg
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 16 July 2001 : 19:52:12
|
Have you looked on those lines to see whats on them? |
|
|
gbdg
New Member
73 Posts |
Posted - 16 July 2001 : 19:57:17
|
Yep.... and I didn't edit this page for my other mod...
459 =
if Instr(TxtMsg, "Edited by - ") then TxtMsg = Left(TxtMsg, InstrRev(TxtMsg, "Edited by - ")-36) end if
463 = if Instr(TxtMsgTemp, "Edited by - ") then TxtMsgTemp = Left(TxtMsgTemp, InstrRev(TxtMsgTemp, "Edited by - ")-36) end if
quote:
Have you looked on those lines to see whats on them?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 16 July 2001 : 20:17:10
|
If you e-mail me your post.asp file, I'll take a look at it. |
|
|
gbdg
New Member
73 Posts |
Posted - 16 July 2001 : 20:27:12
|
On it's way!
quote:
If you e-mail me your post.asp file, I'll take a look at it.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 16 July 2001 : 20:58:33
|
Is this on your own server or is it on a webhost?
It could be that the server doesn't have the latest version of vbscript installed.
I can just take out the part with the Left in it.
What that part is doing is taking out the Edited by - line when someone edits their own message after it's already been edited at least once. It's to prevent multiple Edited by - lines. |
|
|
gbdg
New Member
73 Posts |
Posted - 16 July 2001 : 21:50:11
|
Definately a webhost, who tends to stay right up to date. You pretty sure this is a vbscript issue - I should be certain before asking them to update it.
Thanks for the explanation. Greg
quote:
Is this on your own server or is it on a webhost?
It could be that the server doesn't have the latest version of vbscript installed.
I can just take out the part with the Left in it.
What that part is doing is taking out the Edited by - line when someone edits their own message after it's already been edited at least once. It's to prevent multiple Edited by - lines.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 16 July 2001 : 22:15:21
|
That's what it looks like to me. |
|
|
|
Topic |
|