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)
 V33(.02) BUG+FIX R_STATUS missing in Access DB
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

thephantomnl
New Member

Netherlands
66 Posts

Posted - 30 July 2001 :  09:25:16  Show Profile  Visit thephantomnl's Homepage  Send thephantomnl an ICQ Message
when having the topics archiefd and i want to view them i get the

error:Microsoft JET Database Engine fout '80040e10'

Waarden voor een of meer vereiste parameters ontbreken.

/forumv33/topic.asp, regel 274

(valeu for 1 or more parrameters is missing)

adres: topic.asp?ARCHIVE=true&TOPIC_ID=2




HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 July 2001 :  09:34:46  Show Profile  Visit HuwR's Homepage
I have checked the code, it looks ok. could you try the following

in topic.asp on line 248 you should find the following code

set rsCount = my_Conn.Execute(strSql2)

on the line imediately above it, type response.write strSQL, then reload try again, it should write out th query, so I can see what it is missing.

You can then remove the line I asked you to type.

Go to Top of Page

thephantomnl
New Member

Netherlands
66 Posts

Posted - 30 July 2001 :  11:01:04  Show Profile  Visit thephantomnl's Homepage  Send thephantomnl an ICQ Message
when i place response.write strSQL i get no respons on it. it gives no information on screen but this is the 'strDBType = "mysql" and we are using access??


when i put the code on line 273 i get:
SELECT FORUM_MEMBERS.M_NAME, FORUM_MEMBERS.M_ICQ, FORUM_MEMBERS.M_YAHOO, FORUM_MEMBERS.M_AIM, FORUM_MEMBERS.M_TITLE, FORUM_MEMBERS.MEMBER_ID, FORUM_MEMBERS.M_HOMEPAGE, FORUM_MEMBERS.M_LEVEL, FORUM_MEMBERS.M_POSTS, FORUM_MEMBERS.M_COUNTRY, FORUM_A_REPLY.REPLY_ID, FORUM_A_REPLY.FORUM_ID, FORUM_A_REPLY.R_AUTHOR, FORUM_A_REPLY.TOPIC_ID, FORUM_A_REPLY.R_MESSAGE, FORUM_A_REPLY.R_STATUS, FORUM_A_REPLY.R_DATE FROM FORUM_MEMBERS, FORUM_A_REPLY WHERE FORUM_MEMBERS.MEMBER_ID = FORUM_A_REPLY.R_AUTHOR AND TOPIC_ID = 8 ORDER BY FORUM_A_REPLY.R_DATE ASC

maybe this helps??


Go to Top of Page

Asdeus
Starting Member

7 Posts

Posted - 01 August 2001 :  16:00:20  Show Profile
I get this error also, using access, same query (the one thephantomnl posted).

 
SELECT FORUM_MEMBERS.M_NAME,
FORUM_MEMBERS.M_ICQ,
FORUM_MEMBERS.M_YAHOO,
FORUM_MEMBERS.M_AIM,
FORUM_MEMBERS.M_TITLE,
FORUM_MEMBERS.MEMBER_ID,
FORUM_MEMBERS.M_HOMEPAGE,
FORUM_MEMBERS.M_LEVEL,
FORUM_MEMBERS.M_POSTS,
FORUM_MEMBERS.M_COUNTRY,
FORUM_A_REPLY.REPLY_ID,
FORUM_A_REPLY.FORUM_ID,
FORUM_A_REPLY.R_AUTHOR,
FORUM_A_REPLY.TOPIC_ID,
FORUM_A_REPLY.R_MESSAGE,
FORUM_A_REPLY.R_STATUS,
FORUM_A_REPLY.R_DATE FROM FORUM_MEMBERS,
FORUM_A_REPLY WHERE FORUM_MEMBERS.MEMBER_ID = FORUM_A_REPLY.R_AUTHOR AND TOPIC_ID = 22 ORDER BY FORUM_A_REPLY.R_DATE ASC


Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/topic.asp, line 274


Edited by - Asdeus on 01 August 2001 16:09:05
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 August 2001 :  18:00:14  Show Profile  Visit HuwR's Homepage
ok, try changing this line
" AND TOPIC_ID = " & Topic_ID & " " (line 225)

to this

" AND " & strActivePrefix & "REPLY.TOPIC_ID = " & Topic_ID & " "

Go to Top of Page

Asdeus
Starting Member

7 Posts

Posted - 01 August 2001 :  18:13:38  Show Profile
quote:

ok, try changing this line
" AND TOPIC_ID = " & Topic_ID & " " (line 225)

to this

" AND " & strActivePrefix & "REPLY.TOPIC_ID = " & Topic_ID & " "


didn't work.
same error same line.


Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 August 2001 :  18:17:03  Show Profile  Visit HuwR's Homepage
coul you check that your db has all the fields that are being selected.

Go to Top of Page

Asdeus
Starting Member

7 Posts

Posted - 01 August 2001 :  18:31:13  Show Profile
quote:

coul you check that your db has all the fields that are being selected.



that was it.
strActivePrefix & "REPLY.R_STATUS, " & _

this field is not in the db, I removed the line from the query and now it works.
Is it a problem with the code or the DB needs the field?
whats the datatype?

Thanks for your help
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 August 2001 :  18:34:34  Show Profile  Visit HuwR's Homepage
The DB needs the field, I think this has already been addressed, will do a quick hunt and check

I checked the forum code, and this field is in all the scripts, what DB are you using ?

Go to Top of Page

Asdeus
Starting Member

7 Posts

Posted - 01 August 2001 :  18:43:31  Show Profile
Access, clean install.
Just checked the .02 zip, and the field is not in the DB inside.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 August 2001 :  18:47:21  Show Profile  Visit HuwR's Homepage
Many thanks.

I wil now lock this since we know the problem and the solution.

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.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07