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: MOD Implementation
 Unarchive mod - error in Jet engine
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

imperialdata
Starting Member

United Kingdom
15 Posts

Posted - 29 April 2008 :  11:50:56  Show Profile
Hi. Tried to run the Cripto9t unarchive mod on my forum running Snitz on an Access DB. The mod can be found here:

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=55145&whichpage=1



I get this error after clicking the unarchive icon:

Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/pop_flag.asp, line 61




Line 61 is:

rsChK.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText

I'm pretty sure I inserted the code correctly. Any ideas? I'm desperately trying to undo an over-zealous archive session.

Thanks in advance<

cripto9t
Average Member

USA
881 Posts

Posted - 29 April 2008 :  13:50:57  Show Profile
Some versions of snitz don't have the field T_ARCHIVE_FLAG in the A_TOPICS (archives) table.
Can you comfirm the field exists. If its not there you will need to add it.<

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

imperialdata
Starting Member

United Kingdom
15 Posts

Posted - 29 April 2008 :  14:02:06  Show Profile
Thanks for the reply, no it's not in there. I can add a new column to the table and name it correctly but:
1. What do I need to set the cells to (and is there an easy way)
2. Does the column position matter, eg in the middle of the other colums or at the end?

I have Access 2007.<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 29 April 2008 :  15:25:38  Show Profile
ok, I'm not familiar with access. I'll write a little code that you can run through mod setup in admin options to add the column. Give me a few moments to look at the files to make sure I get it right.<

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

cripto9t
Average Member

USA
881 Posts

Posted - 29 April 2008 :  16:02:12  Show Profile
Its always a good idea to backup your database before you make any changes.

In admin options find "mod setup" and there is a link right beside it "(Alternative MOD Setup)". Open that and copy and paste this code in the textbox.
[ALTER]
A_TOPICS
ADD#T_ARCHIVE_FLAG#smallint#NULL#0
[END]
That should add the column.

I might add that the unarchive part of this mod never really got out of beta. All I know is that it works just fine with mySql. So its a use at your own risk mod. I don't believe it would hurt to try it though.<

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

imperialdata
Starting Member

United Kingdom
15 Posts

Posted - 29 April 2008 :  17:26:53  Show Profile
Thanks, will try asap.<
Go to Top of Page

imperialdata
Starting Member

United Kingdom
15 Posts

Posted - 30 April 2008 :  06:35:34  Show Profile
Great Cripto, it worked fine thanks.

Now then, the problem I can see is that I have 40,000 posts archived. Each move back to the main forum requires a confirmation password. I want to move all archived topics back so that I can convert to a MySql database. Is there a way?

It may help that I have the pre-archive database, done some 4 months ago. I could possibly append the last 4 months of posts to that some way?<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 30 April 2008 :  06:40:04  Show Profile  Visit AnonJr's Homepage
Why do you need to un-archive all your topics? I've yet to see a conversion that's needed that...<
Go to Top of Page

imperialdata
Starting Member

United Kingdom
15 Posts

Posted - 30 April 2008 :  12:02:51  Show Profile
Because I then want to import some of the data to a PHPBB/MySql system and apparently this doesn't like archived topics.<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 30 April 2008 :  13:56:09  Show Profile  Visit AnonJr's Homepage
Ah. That would explain it.<
Go to Top of Page

imperialdata
Starting Member

United Kingdom
15 Posts

Posted - 06 May 2008 :  16:20:02  Show Profile
So anyone got an idea how I achieve this unarchiving of so many topics?<
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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07