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
 Error creating web link after time edit mod
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

jiffy
Starting Member

33 Posts

Posted - 02 November 2005 :  19:32:09  Show Profile
After adding the time edit mod I am now getting the following error when I try to create a new web link.

"Microsoft JET Database Engine error '80004005'

The field 'FORUM_FORUM.F_EDIT_TIME' cannot contain a Null value because the Required property for this field is set to True. Enter a value in this field.

/forums/post_info.asp, line 1347"

I assume it may have something to do with the web link not posting any info regarding time and delete editing but obviously web links don't need that.

So anybody have a clue as to how to fix this?

Sorry if this has been covered in the past. I tried doing a search and came up dry and when I added the archive it kept timing out.

I can link to any files in txt form if needed.

Are you an InterWeberNetter?
http://www.interwebernet.com

jiffy
Starting Member

33 Posts

Posted - 04 November 2005 :  11:57:26  Show Profile
Anyone?

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

jiffy
Starting Member

33 Posts

Posted - 08 November 2005 :  16:18:35  Show Profile
I can't believe that nobody has run across this problem before. Someone has to have added the time edit mod and then tried to create a web link.

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 08 November 2005 :  18:10:41  Show Profile  Visit AnonJr's Homepage
I didn't even know there was a time edit mod. Don't know how much help I'll be but... have you double-checked the code you added to make sure that nothing was missing? Run through the readme a fourth time? Was this working right before you added the mod? Which files does this mod require alterations to?
Go to Top of Page

jiffy
Starting Member

33 Posts

Posted - 09 November 2005 :  10:13:18  Show Profile
It's the mod for limiting the amount of time you can edit or delete a post. I thought it was kind of a common one. I double checked all the code but I think it's more a problem with the web link not having any info regarding the time edit mod hence the error that it can't contain a null value when you try to create one.

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 09 November 2005 :  10:28:49  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
I have that mod and I can create web links, I'm on a shn "base code" so maybe that has something to do with it.

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

jiffy
Starting Member

33 Posts

Posted - 09 November 2005 :  10:31:21  Show Profile
Here is a link to my post_info.asp file in txt format if that helps at all.

http://www.jiffypark.com/pics/post_info.txt

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 09 November 2005 :  10:50:26  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
I don't have the time to check your code, but here's my post_info.asp:

http://www.gotlandrace.se/tabort/post_info.txt

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 09 November 2005 :  11:48:53  Show Profile  Visit AnonJr's Homepage
Off the cuff (since I'm on a short break at the moment) I'd say that you need to find the SQL Statement where the links are being added/edited and make sure that that "0" is being inserted into that field.

Alternatly you could allow nulls - I strongly recommend against this as the requirement was probably put in for a reason.

I don't have the line numbers handy at the moment. If I get a chance between now and when I get back from class tonight I'll get more specifics.
Go to Top of Page

jiffy
Starting Member

33 Posts

Posted - 21 November 2005 :  12:42:16  Show Profile
Anybody else have a chance to look at this?

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

jiffy
Starting Member

33 Posts

Posted - 08 December 2005 :  12:38:31  Show Profile
bump

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 08 December 2005 :  12:43:32  Show Profile  Visit modifichicci's Homepage
Try setting Private Forums = ON on admin features.
It happens on some other forums, but I cannot find now the fix..


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

jiffy
Starting Member

33 Posts

Posted - 08 December 2005 :  14:27:34  Show Profile
Private forums was already turned on since we have a couple of them.

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 08 December 2005 :  16:50:54  Show Profile  Visit modifichicci's Homepage
The code seems like mine and like Image also...


Adding:
It could be that the value in F_EDIT_TIME isn't set in the update routine of an url insert.. infact there is not the definition in strsql.
Try adding the definition and the value...
'## Edit Time Mod ### ADD Code below ########
if Time_Limits then
strSql = strSql & ", F_EDIT_TIME "
end if
'## End Add on ###########################################################
and after

'## Edit Time ### Add code below ################
if Time_Limits then
strSql = strSql & ", '" & strTimeArr & "'"
end if
'## End code add on ########################

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 08 December 2005 16:56:41
Go to Top of Page

jiffy
Starting Member

33 Posts

Posted - 05 March 2006 :  14:50:27  Show Profile
Ok I kind of forgot about this. But today I needed to add a link and got the error. I tried the help above but don't think I know exactly where to put it. Do I edit post.asp or post_info.asp? Where do I put the code? I thought maybe I could just shut off the delete and edit time mod in forum configuation but I still get the error. Any help would be great. I really need to add a link. I also tried removing all the references to the time edit mod in post.asp and post_info.asp but I stll got the error.

Are you an InterWeberNetter?
http://www.interwebernet.com
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 10 March 2006 :  19:54:31  Show Profile
jiffy, I don't get the error with a mySql db. What type of db are you using?

I believe this will fix the problem.

Go to (Alternative MOD Setup) in admin options. Copy and paste the following in the text area.
[ALTER]
FORUM
DROP#F_EDIT_TIME###
[END]
This will drop the field
#############################################
Do the same with this code
[ALTER]
FORUM
ADD#F_EDIT_TIME#varChar(7)#NULL#''
[END]
This will add the field back. It allows for null and should set default to empty. (someone let me know if I'm wrong on this)

You will have to reset the edit/delete times in all your forums.

This is my mod and I'm sorry I haven't seen this post. Let me know how this comes out.

    _-/Cripto9t\-_
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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07