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)
 Creating new forum problem
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 May 2009 :  09:27:21  Show Profile
I have experienced an error message when trying to create an additional forum under the category heading. On submitting the new forum heading and details I get the following error:

Microsoft JET Database Engine error '80004005'
Field 'FORUM_FORUM.F_LAST_POST' cannot be a zero-length string.
/forum/post_info.asp, line 1584

Is it something to do with database settings or coding within post_info.asp (text file here)
I have version 06 and using access db
I notice the db settings for L_POST are set required to 'no'
Any help would be appreciated

Edited by - Andy Humm on 06 May 2009 09:34:07

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 May 2009 :  09:58:32  Show Profile  Send ruirib a Yahoo! Message
Have you tried searching for 'cannot be a zero-length string'?


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

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 May 2009 :  10:05:56  Show Profile
Yes but get the following:
Microsoft OLE DB Provider for SQL Server error '80040e31'
Timeout expired
/forum/search.asp, line 349
?????
I did search as much as poss...
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 May 2009 :  10:07:03  Show Profile  Send ruirib a Yahoo! Message
Try searching the Access help forum alone, should be enough. This post should be there too. I am moving it.


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

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 May 2009 :  13:52:16  Show Profile
ok, tried access alone : No Matches Found hence asking in Help: General / Current Version (v3.4.xx)
Any previous forum headings can be edited but it is only we try to add a new forum heading.
line 1584:
my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 May 2009 :  13:59:25  Show Profile  Send ruirib a Yahoo! Message
There are plenty in the archive. Here is one: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=62759&SearchTerms=cannot,be,a,zero-length,string


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

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 May 2009 :  14:48:31  Show Profile
Okay thank you -
Looking at my access database the T_LAST_POST properties, the allow zero length field is set to NO.
Rather than downloading the whole db file and changing the property, is there some quick code to use in the admin features of Alternative MOD Setup
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 May 2009 :  14:50:36  Show Profile  Send ruirib a Yahoo! Message
No way to do without downloading the database. There was an Access database management script that allowed Db changes online, but I can't remember the name.


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

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 06 May 2009 :  16:15:22  Show Profile
Is this what you was referring to?

2eNetWorX TableEditoR v0.81 Beta

quote:
Originally posted by ruirib

There was an Access database management script that allowed Db changes online, but I can't remember the name.



Not recommended by me to be put on to a production website, maybe an intranet.

Cheers,

David Greening
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 May 2009 :  16:34:55  Show Profile  Send ruirib a Yahoo! Message
That was it, thx.


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

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 May 2009 :  17:02:48  Show Profile
thank I think it might be easier if I take the forum down for a few minutes while I make the adjustments..
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 06 May 2009 :  19:13:38  Show Profile
All sorted there were so many db fields with the allow zero length field is set to NO Changed to yes and hey presto . Thank you ruirib
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 07 May 2009 :  06:27:28  Show Profile  Visit AnonJr's Homepage
Careful... some of them you don't want to allow zero length fields...
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 07 May 2009 :  08:10:19  Show Profile  Visit HuwR's Homepage
What modifications have you made to your code, there is no mention of F_LAST_POST anywher near line 1584, and you should not have to make any changes to the default access database, certainly not to the allow zero length property anyway.

Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 07 May 2009 :  16:16:05  Show Profile
Thats right Huwr, line 1584 has my_Conn.Execute (strSql),,adCmdText + adExecuteNoRecords but I think it might be associated with the split topic mod??? Not sure. I file compared this file and the spilt topic code is there along with <!--#INCLUDE FILE="cal_post_info1.asp" --> ConfusedDotCom!!!!
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 07 May 2009 :  17:10:01  Show Profile  Visit HuwR's Homepage
The main reason I ask about modifications etc is that the database that comes with snitz already has F_LAST_POST set to allow zero length strings, so am intrigued as to why your database would be different
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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07