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
 Proeders file attachment
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

texanman
Junior Member

United States
410 Posts

Posted - 12 January 2008 :  14:34:32  Show Profile
I am trying to install this MOD. Just started with the database (using MS SQL). I got the following results:

quote:

File Attachements - New installation

Adding new records..
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRALLOWATTACHMENT','1')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRUPLOADURL','')

Value(s) updated successfully
--------------------------------------------------------------------------------

Dropping Table..

Table does not exist
--------------------------------------------------------------------------------

Creating table(s)...
CREATE TABLE FORUM_UPSIZE( ID int IDENTITY (1, 1) PRIMARY KEY NOT NULL , UPLOAD_VAR nvarchar NULL , UPLOAD_VALUE int NULL )
Table created successfully

--------------------------------------------------------------------------------

Creating table(s)...
CREATE TABLE FORUM_CONFIG_EXTENSION( ID int IDENTITY (1, 1) PRIMARY KEY NOT NULL , EXTENSION nvarchar (15) NULL )
Table created successfully

--------------------------------------------------------------------------------

Adding new records..
INSERT INTO FORUM_UPSIZE (UPLOAD_VAR,UPLOAD_VALUE) VALUES ('STRTIMEOUT','3600')
INSERT INTO FORUM_UPSIZE (UPLOAD_VAR,UPLOAD_VALUE) VALUES ('STRUPLOADFILESIZE','100000')
INSERT INTO FORUM_UPSIZE (UPLOAD_VAR,UPLOAD_VALUE) VALUES ('STRUPLOADFILESIZE','100000')
-2147217833 | String or binary data would be truncated.




My question is with the parts that say: Dropping Table doesnot exist and also the last row about String or Binary data truncation. Will these prevent me from finishing the install of this MOD?

Thanks

Edited by - texanman on 13 January 2008 17:23:36

texanman
Junior Member

United States
410 Posts

Posted - 12 January 2008 :  15:44:26  Show Profile
Getting this error when accessing Attachment Admin in the Admin section:



ADODB.Field error '800a0bcd'

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

/admin_attach.asp, line 65

line 56: strUploadFileSize = rsSize("UPLOAD_VALUE")
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 13 January 2008 :  17:25:02  Show Profile
ok I found the fixes for the above issues. I have one problem with the attachments links when a user's name has a space in it.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 13 January 2008 :  19:02:17  Show Profile  Visit JJenson's Homepage
yeah I remember this coming up before I can't remember if a fix was made or if someone just said to put a note in saying it can't contain any apaces.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 13 January 2008 :  19:08:00  Show Profile  Visit JJenson's Homepage
nevermind found the fix:

The file is outputfile.asp and pop_upload
If you change the line
if not bTemp then
bTemp = InStr(sValidate, " ") > 0
end if

to
if not bTemp then
bTemp = InStr(sValidate, "(two spaces)") > 0
end if

adding another space inside the " " you can upload a file with a space inside his name.
Check output file or reload the last version inserting the right upload dir in config

This was from modifici
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 13 January 2008 :  20:10:11  Show Profile
Thanks Jeff
It looks like this solves the problem. It puts something like '%20' in the space in the user's login name.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 13 January 2008 :  22:00:44  Show Profile  Visit JJenson's Homepage
Yep then its working as it should.

Glad you got it working
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 14 January 2008 :  10:54:46  Show Profile
Thanks!

I don't see that code in pop_upload_new though! Only outputfile.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 14 January 2008 :  11:41:36  Show Profile  Visit JJenson's Homepage
Yeah I am not sure just saw the fix in another thread. Maybe there have been some changes on it and that code isn't in pop_upload anymore
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 15 January 2008 :  22:32:57  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
quote:
Originally posted by texanman

ok I found the fixes for the above issues. I have one problem with the attachments links when a user's name has a space in it.



how did you fix the:
"String or binary data would be truncated."
I ran into that problem on setup and wish to know your solution. Thank you.

coaster crazy
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 15 January 2008 :  22:46:23  Show Profile
quote:
Originally posted by weeweeslap

quote:
Originally posted by texanman

ok I found the fixes for the above issues. I have one problem with the attachments links when a user's name has a space in it.



how did you fix the:
"String or binary data would be truncated."
I ran into that problem on setup and wish to know your solution. Thank you.



The fix is:

Here

Look in Page 2.

I don't think this mod is updated in snitzbitz.com
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 15 January 2008 :  23:26:06  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
lol, was about to come and post that I found it. There's many erorrs that need fixing and I managed to fix all the missing &'s and stuff on the other pages. Someone whould update a fixed version thans texanman

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