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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 3.4.04 post_info
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cripto9t
Average Member

USA
881 Posts

Posted - 23 April 2004 :  15:57:36  Show Profile
I got a "file could not be found" error message when I tried editing an archived post on a heavily modded 3.4.04, but my post_info is untouched. I don't have a fresh forum to check, so I would appreciate it if someone can check this for me.

Anyway this fixed it.

post_info line 468

		'##Get Status of this Topic
		strSql = "SELECT T_STATUS, T_UREPLIES"
		strSql = Strsql & " FROM " & strTablePrefix & "TOPICS "
		strSql = strSql & " WHERE TOPIC_ID = " & Topic_ID


Should be?

		'##Get Status of this Topic
		strSql = "SELECT T_STATUS, T_UREPLIES"
		strSql = Strsql & " FROM " & strActivePrefix & "TOPICS "
		strSql = strSql & " WHERE TOPIC_ID = " & Topic_ID

    _-/Cripto9t\-_

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 April 2004 :  16:14:51  Show Profile  Visit HuwR's Homepage
Strictly speaking you should not be able to edit an archived post, so the bug is the fact that it allowed you to post.asp in the first place, not that the code you posted is wrong.
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 23 April 2004 :  17:34:30  Show Profile
Thanks for the reply HuwR.I thought it was odd at first also, but I have a couple of earlier versions (3.4 and 3.4.03) and admins/mods can edit archived posts.

I thought it was probably something I'd done, because I have made alot of changes in post.asp, but I can't see nothing that has to do with this.
This sql is new to 3.4.04 and doesn't appear in earlier versions. And like I said I don't have a fresh 3.4.04 with archived posts to try and duplicate the error.

Sooo... I was just curious and thought I'd let folks here know, just in case it is a bug .

    _-/Cripto9t\-_
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 23 April 2004 :  17:39:26  Show Profile
I can edit archived posts on this forum without any errors.
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 23 April 2004 :  17:59:17  Show Profile
quote:
Originally posted by RichardKinser

I can edit archived posts on this forum without any errors.


Thanks Richard, for the check. I figure it's more than likely something I've done, or someone would have reported it by now . I made some changes with the archives, so maybe I'll find my problem there.

Thanks again for the quick replies guys.

    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07