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)
 Archive error and question
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Zenfor
Junior Member

372 Posts

Posted - 17 November 2007 :  14:37:26  Show Profile
Hi,

I'm just starting to use archiving and not quite sure where the items go after I archive them, how to permanantly delete them and I'm also getting this error. Thank you kindly!

All replies to Topics older than 9/17/2007 2:38:14 PM were archived


Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/forum/admin_forums.asp, line 537

This is line 537
set drs = my_conn.execute(strsql)

Edited by - Zenfor on 17 November 2007 17:41:23

Etymon
Advanced Member

United States
2385 Posts

Posted - 17 November 2007 :  21:44:27  Show Profile  Visit Etymon's Homepage
Hi Zenfor,

This link below should help you understand how the archiving process works:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=63568&whichpage=2#358119

Cheers,

Etymon
Go to Top of Page

Zenfor
Junior Member

372 Posts

Posted - 18 November 2007 :  04:35:55  Show Profile
quote:
Originally posted by Etymon

Hi Zenfor,

This link below should help you understand how the archiving process works:


Thanks but it doesn't help me solve the error other than seeing that it could be due to the calendar mod that was installed. I'm stumped still.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 November 2007 :  05:45:26  Show Profile  Send ruirib a Yahoo! Message
You will need to output the SQL to see what is going wrong with it. Was the file changed?


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

Zenfor
Junior Member

372 Posts

Posted - 19 November 2007 :  07:56:27  Show Profile
quote:
Originally posted by ruirib

You will need to output the SQL to see what is going wrong with it. Was the file changed?


The file was changed when I installed the calendar mod several years ago. Everything has been working fine and the only problem I have is with this archiving error when I decided to activate it to help clean up old postings. Not quite sure I remember how to output the sql, appreciate it if you could please advise. Thanks for the help!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 November 2007 :  13:49:04  Show Profile  Send ruirib a Yahoo! Message
Add this above the line causing the error:

Response.Write strSQL
Response.End


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

Zenfor
Junior Member

372 Posts

Posted - 20 November 2007 :  08:19:30  Show Profile
quote:
Originally posted by ruirib

Add this above the line causing the error:

Response.Write strSQL
Response.End




This what I get. Thanks!
=======================

No Replies were Archived: none found

SELECT CAT_ID,FORUM_ID,TOPIC_ID,T_SUBJECT,T_AUTHOR,T_REPLIES,T_UREPLIES,
T_VIEW_COUNT,T_LAST_POST,T_DATE,T_LAST_POSTER,T_IP,
T_LAST_POST_AUTHOR,T_LAST_POST_REPLY_ID,T_LAST_EDIT,T_LAST_EDITBY,
T_STICKY,T_ISPOLL,T_POLLSTATUS,T_SIG,T_MESSAGE FROM FORUM_TOPICS WHERE T_LAST_POST < '20071020082154' AND FORUM_TOPICS.FORUM_ID=127 AND T_ARCHIVE_FLAG <> 0


Edited by - Zenfor on 20 November 2007 09:05:19
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 November 2007 :  08:33:58  Show Profile  Send ruirib a Yahoo! Message
There is no error in that statement. Have you tried the same settings that were giving you the error in the first place?


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

Zenfor
Junior Member

372 Posts

Posted - 20 November 2007 :  09:13:37  Show Profile
quote:
Originally posted by ruirib

There is no error in that statement. Have you tried the same settings that were giving you the error in the first place?



This is the response with the sql output code removed.
==============================================

No Replies were Archived: none found


Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/forum/admin_forums.asp, line 537
Go to Top of Page

Zenfor
Junior Member

372 Posts

Posted - 20 November 2007 :  09:21:35  Show Profile
Looking at this again, I think I have some old Poll Mod code in there that's causing this. I evidently didn't remove the code when I had abandoned it due to a conflict with the calendar mod. I'll try to clean this up.
Go to Top of Page

Zenfor
Junior Member

372 Posts

Posted - 20 November 2007 :  09:34:00  Show Profile
I removed the poll code now I get this:

No Replies were Archived: none found


Microsoft JET Database Engine error '80040e14'

Number of query values and destination fields are not the same.

/forum/admin_forums.asp, line 590

This is the sql out statement before line 590:

INSERT INTO FORUM_A_TOPICS (CAT_ID, FORUM_ID, TOPIC_ID, T_STATUS, T_SUBJECT, T_MESSAGE, T_AUTHOR, T_REPLIES, T_UREPLIES, T_VIEW_COUNT, T_LAST_POST, T_DATE, T_LAST_POSTER, T_IP, T_LAST_POST_AUTHOR, T_LAST_POST_REPLY_ID, T_LAST_EDIT, T_LAST_EDITBY, T_STICKY, T_SIG) VALUES (40, 127, 1987, 0, 'Moving Sale', 'This Saturday at 10 am, 122 Center St.', 550, 2, 0, 386, '20050512100938', '20050512091111', 0, '70.19.194.64', 3, 12466, '', NULL, 0, 0, 0 )
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 November 2007 :  10:22:34  Show Profile  Send ruirib a Yahoo! Message
You have one more value than columns, that's the error. You must have one line from one of the mods adding a value. Can you identify it on your own?


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

Zenfor
Junior Member

372 Posts

Posted - 20 November 2007 :  10:43:10  Show Profile
quote:
Originally posted by ruirib

You have one more value than columns, that's the error. You must have one line from one of the mods adding a value. Can you identify it on your own?


I'm not having any luck figuring it out on my own other than what I just already removed. Apparently I am missing something else but I can't locate it. Appreciate any other ideas so i can fix this. Thanks!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 November 2007 :  10:44:20  Show Profile  Send ruirib a Yahoo! Message
Post a link to a text version of admin_forums.asp.


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

modifichicci
Average Member

Italy
787 Posts

Posted - 20 November 2007 :  10:53:46  Show Profile  Visit modifichicci's Homepage
old calendar mod add T_ISEVENT and T_EVENT_DATE to TOPICS

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 20 November 2007 :  11:18:05  Show Profile  Visit Etymon's Homepage
COLUMN


1. CAT_ID
2. FORUM_ID
3. TOPIC_ID
4. T_STATUS
5. T_SUBJECT
6. T_MESSAGE
7. T_AUTHOR
8. T_REPLIES
9. T_UREPLIES
10. T_VIEW_COUNT
11. T_LAST_POST
12. T_DATE
13. T_LAST_POSTER
14. T_IP
15. T_LAST_POST_AUTHOR
16. T_LAST_POST_REPLY_ID
17. T_LAST_EDIT
18. T_LAST_EDITBY
19. T_STICKY
20. T_SIG

21.

VALUES


1. 40
2. 127
3. 1987
4. 0
5. 'Moving Sale'
6. 'This Saturday at 10 am, 122 Center St.'
7. 550
8. 2
9. 0
10. 386
11. '20050512100938'
12. '20050512091111'
13. 0
14. '70.19.194.64'
15. 3
16. 12466
17. ''
18. NULL
19. 0
20. 0

21. 0 < - A COLUMN is missing for this VALUE.

Edited by - Etymon on 20 November 2007 11:25:37
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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07