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 Bug Reports (Closed)
 (v3.4.03) BUG+FIX: default.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

David K
Junior Member

494 Posts

Posted - 03 November 2002 :  09:56:05  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
When deleting the thing your in (I tested it with catagory) it refreshes the page and then there is an error because it no longer exists
It should go up a level automaticly
Unfortunetly, I don't know exactly how to fix this bug, i know there should be an if sentence in line 553 in order to fix it properly (check if the location exists in the forum and act accordingly)
I noticed that error while translating and modifing the form to be and support Hebrew

Edited by - Davio on 07 March 2003 11:42:20

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 November 2002 :  22:38:15  Show Profile
if there is a bug, it's not going to be in pop_delete.asp. Each page should handle errors on it's own. What page were you on when you deleted the category?
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 05 November 2002 :  04:33:18  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
I was in default.asp and I was in the catagory deleted
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 November 2002 :  04:56:39  Show Profile
on line #167 of default.asp find the following:

if rs.EOF then
	recCategoryCount = ""
else
	allCategoryData = rs.GetRows(adGetRowsRest)
	recCategoryCount = UBound(allCategoryData,2)
end if

insert the following on line #168:
	if Cat_ID <> "" then response.redirect("default.asp")

so it now looks like this:

if rs.EOF then
	if Cat_ID <> "" then response.redirect("default.asp")
	recCategoryCount = ""
else
	allCategoryData = rs.GetRows(adGetRowsRest)
	recCategoryCount = UBound(allCategoryData,2)
end if
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 February 2003 :  10:59:16  Show Profile
Fixed in 3.4.04.

Support Snitz Forums

Edited by - Davio on 07 March 2003 11:36:12
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07