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
 MOD File Attachment
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mb
Starting Member

9 Posts

Posted - 02 May 2001 :  07:14:59  Show Profile
After install File Attachment mod
there are some problems to register new members

What is wrong by the sql statement

INSERT INTO FORUM_MEMBERS (M_NAME, M_PASSWORD, M_EMAIL, M_DATE, M_COUNTRY, M_SIG, M_YAHOO, M_ICQ, M_AIM, M_POSTS, M_HOMEPAGE, M_LASTHEREDATE, M_STATUS, M_FIRSTNAME, M_LASTNAME, M_CITY, M_STATE, M_PHOTO_URL, M_LINK1, M_LINK2, M_AGE, M_MARSTATUS, M_SEX, M_OCCUPATION, M_BIO, M_HOBBIES, M_LNEWS, M_QUOTE) VALUES ('1', '1', '12112.ssdasd@wef.de', '20010502131542', ' ', ' ', ' ', ' ', ' ', 0, ' ', '20010502131542', 1, '1', ' ', '', '', '', '', '', '', '', '', '', '', '', '', '')
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access 97 Driver] Field 'FORUM_MEMBERS.M_OCCUPATION' can't be a zero-length string.

/d_ee/test/forumsr4/register.asp, line 284


HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 May 2001 :  07:59:39  Show Profile  Visit HuwR's Homepage
The error message is telling you what's wrong.

If you can edit yoour DB, you need to set the field to allowzerolength, alternatively you can edit the INSERT query so that it inserts a space instead of an empty string.

Go to Top of Page

mb
Starting Member

9 Posts

Posted - 02 May 2001 :  08:13:38  Show Profile
But why these error message occur, only after update file attachment mod.??
The strSql in register.asp ist the same
before update and in the db always zero-length string not allowed for all text-fields.


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