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)
 Problem with R_STATUS column
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

the3dstudio
Starting Member

6 Posts

Posted - 19 August 2002 :  10:02:13  Show Profile  Visit the3dstudio's Homepage
I upgraded from 3.1 SR4 to 3.4 just now and after the install it gave an error on the DB upgrade page (SQL 2K) so I ran it again and it said that it was fine.

So I updated the counts which I could see 1-3 seemed to have an error but it went by too quick.

When I try the forum I get an error on line 100 of the inc_moderation.asp file saying R_STATUS column does not exist. I checks the FORUM_REPLY table and did not see that column in there.

I went back and tried setup again and even ran it for several other versions to see if the other version upgrades added anything else but no luck still.

Anyone know why it won't make this field for me in the DB? I have had issues upgrading every version and had to stick with 3.1 SR4 because I could never get it to upgrade and I was told the fix would be in the next major release.

I am clearly much closer than I was before, but not quite there...ideas?

Thanks,
Matt Anderson
http://www.the3dstudio.com

the3dstudio
Starting Member

6 Posts

Posted - 19 August 2002 :  10:19:14  Show Profile  Visit the3dstudio's Homepage
I checked again and added a R_STATUS column to the FORUM_REPLY, that was the table it was missing from....since I did that it "seems" to be working. I haven't really played with it a lot but am now wondering if that is all I need to do when I upgrade my real forums....as this was done on a backup copy.

Thanks,
Matt Anderson
http://www.the3dstudio.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2002 :  10:27:25  Show Profile  Send ruirib a Yahoo! Message
Well I haven't been able to understand why the R_STATUS column was not created, since it seems to be in the upgrade SQL in setup.asp (I only gave it a quick look, but it seemed to be there).

Are you sure you specified version 3.1.SR4 as the version you wanted to upgrade from, during the setup process?


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 19 August 2002 10:31:05
Go to Top of Page

the3dstudio
Starting Member

6 Posts

Posted - 19 August 2002 :  10:34:45  Show Profile  Visit the3dstudio's Homepage
Yup, I selected 3.1 SR4 for sure, tried it two times in a row with a fresh DB backup each time.

I also noticed that when I try the archive feature I get an error in the admin_forums.asp file on line 490, I added in the debug code to see what the SQL string was and here it is...

INSERT INTO FORUM_A_REPLY (CAT_ID, FORUM_ID, TOPIC_ID, REPLY_ID, R_AUTHOR, R_MESSAGE, R_DATE, R_IP, R_STATUS, R_LAST_EDIT, R_LAST_EDITBY, R_SIG) VALUES (3, 5, 5, 10, 8, 'should be great once we start using it Jamst@', '20000829172738', '210.9.41.194', , '', NULL, 0 )

...and the error was "error near "," on line 3" so I am guessing it is the two commas after the IP with nothing in them...aka, the r_status field again:(

I made sure the r_status field I added was nullable too...not sure if it is just this one message it has issues with or if they will all error out like that.

I did update the forums counts and all that as well and still no luck.

Thanks,
Matt Anderson
http://www.the3dstudio.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2002 :  10:41:25  Show Profile  Send ruirib a Yahoo! Message
Well I can try a 3.1 SR4 upgrade later on to see if I can reproduce that. In the meantime, you may try an intermediate upgrade path, maybe. First upgrade from 3.1.SR4 to 3.3.05 and then from 3.3.05 to 3.4 That's how I've done mine (although I had upgrade from 3.1 to 3.3. a while ago) and I had no problems.

Maybe do that with a copy of your live DB and no on the real one. You can just create another copy of it and try.

This is what I can suggest now. As I said, I will try a 3.1 upgrade later on, when I get some time.


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

the3dstudio
Starting Member

6 Posts

Posted - 19 August 2002 :  10:49:15  Show Profile  Visit the3dstudio's Homepage
I tried the 3.3.05 when it first came out, spent days on it actually....could never get it to work right and I was told to hold off until the next major release as some of the bugs causing my problems would be fixed.

I will keep at the 3.4 release and see what happens...is there a certain "status" I can set the R_STATUS field to...just so there is a value and not a null in there maybe?

Thanks,
Matt Anderson
http://www.the3dstudio.com
Go to Top of Page

the3dstudio
Starting Member

6 Posts

Posted - 19 August 2002 :  11:08:46  Show Profile  Visit the3dstudio's Homepage
Oh crap, I noticed another HUGE issue...just like what I upgraded to all versions before 3.4 I can see all of my topics but when I open one there are no replies.

Crap....I thought I was so close this time...****!

Thanks,
Matt Anderson
http://www.the3dstudio.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2002 :  11:11:52  Show Profile  Send ruirib a Yahoo! Message
Just try setting R_STATUS to 1 for every reply.


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

Doug G
Support Moderator

USA
6493 Posts

Posted - 19 August 2002 :  11:22:18  Show Profile
Just Guessing.

Check your sql database for unwanted triggers. In some cases long ago, upgrading from Access to SQL Server created triggers to enforce the relationships in the Access db, and subsequent changes to the db structure caused problems.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 19 August 2002 :  20:54:44  Show Profile  Visit James's Homepage
quote:
Originally posted by the3dstudio

Oh crap, I noticed another HUGE issue...just like what I upgraded to all versions before 3.4 I can see all of my topics but when I open one there are no replies.

Crap....I thought I was so close this time...****!



Have you tried the Update Forum Counts in the Admin section?

*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 August 2002 :  21:40:21  Show Profile
You can use the "Alternate MOD Setup" in the Admin options to update the field value.

First you have to fix a bug in the admin_mod_dbsetup2.asp file (same bug exists in admin_mod_dbsetup.asp as well, might as well fix it too).

in those 2 files, replace every instance of:

if Instr(strTableName,"MEMBER",1) > 0 then


with this:

if Instr(1,strTableName,"MEMBER",1) > 0 then


There should be 5 instances of it in each file.

Then, in the textarea on the "Alternate MOD Setup" page, enter the following:

Update R_STATUS field
[UPDATE]
REPLY
R_STATUS#1#(R_STATUS IS NULL)
[END]


(make sure it looks EXACTLY like it does above, if it doesn't you'll get an error.)

Then just click on the Submit button
Go to Top of Page

eernstbmi
Junior Member

Denmark
113 Posts

Posted - 20 August 2002 :  03:21:10  Show Profile  Visit eernstbmi's Homepage  Send eernstbmi an ICQ Message  Send eernstbmi a Yahoo! Message
I too got a similar problem with the Archive function, but in my case it's obvious that it's the topic status that's giving the problem.

Where can I find documentation for the Alternate MOD setup page so that I can make the same update for the topics?

Best regards,
Erik P. Ernst
Microsoft Business Solutions User Group, webmaster,
Microsoft MVP - Navision

Go to Top of Page

eernstbmi
Junior Member

Denmark
113 Posts

Posted - 20 August 2002 :  03:35:34  Show Profile  Visit eernstbmi's Homepage  Send eernstbmi an ICQ Message  Send eernstbmi a Yahoo! Message
Correction! It's the T_LAST_POSTER that is giving my problems!

Best regards,
Erik P. Ernst
Microsoft Business Solutions User Group, webmaster,
Microsoft MVP - Navision

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 August 2002 :  05:32:57  Show Profile  Send ruirib a Yahoo! Message
Try this: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=17934


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

eernstbmi
Junior Member

Denmark
113 Posts

Posted - 20 August 2002 :  05:52:47  Show Profile  Visit eernstbmi's Homepage  Send eernstbmi an ICQ Message  Send eernstbmi a Yahoo! Message
Thanks, but I was actually more looking for the syntax of the DBS files then...
Go to Top of Page

eernstbmi
Junior Member

Denmark
113 Posts

Posted - 20 August 2002 :  05:58:54  Show Profile  Visit eernstbmi's Homepage  Send eernstbmi an ICQ Message  Send eernstbmi a Yahoo! Message
Found it:
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=5120
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07