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
 File Library???
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 February 2002 :  18:25:08  Show Profile  Visit HuwR's Homepage
what did your admin tool allow you to set the permissions to.

Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 23 February 2002 :  18:29:32  Show Profile  Visit MaD2ko0l's Homepage
i can set it to anything that i want to

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 February 2002 :  18:43:27  Show Profile  Visit HuwR's Homepage
what options does it have ?

Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 23 February 2002 :  18:48:30  Show Profile  Visit MaD2ko0l's Homepage
Full control
Change
Read
Write
Execute
Delete
ReadWrite
ReadExecute
ReadDelete
WriteExecute
WriteDelete
ExecuteDelete
ReadWriteExecute
ReadWriteDelete
ReadExecuteDelete
WriteExecuteDelete

is that what u mean?

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 February 2002 :  05:22:39  Show Profile  Visit HuwR's Homepage
can you try adding full control, does that make any difference.

Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 25 February 2002 :  14:54:34  Show Profile  Visit MaD2ko0l's Homepage
hey uummm if u dont mind can u plz make me a dbs setup file and include all of the required table things that are neede cos i added a few from ur modifyed forum and then i got a different error.

Uploading.... Please wait. . . . . . northbirminghamtrollslayers.co.uk\m2k2\library\AcuraIntegra(fastandthefurious)^Integgood.jpg,filelibrary
Microsoft JET Database Engine error '80004005'

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

/m2k2/uploadengine.asp, line 214


any ideas??


MaD2ko0l

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 February 2002 :  15:21:44  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Please post a link to a .txt version of your uploadengine.asp.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 04 March 2002 :  16:41:41  Show Profile  Visit MaD2ko0l's Homepage
http://www.northbirminghamtrollslayers.co.uk/UploadEngine.txt

that should be it

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 04 March 2002 :  18:12:05  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Replace the code (starting line 193) with this one:

   Private Function intoLibraryDB()
Dim strSQL
fValid = 0
set my_Conn= Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString

sSQL = " INSERT INTO " & strTablePrefix & "FILEMANAGER ("
sSQL = sSQL & "F_TITLE,F_AUTHOR,F_AUTHORID,F_CAT,F_DATE,F_FILELINK,F_FORUMLINK,F_SNIPPET,F_VERSION,F_COMPAT,F_VALID,F_INSTALLATION,F_NOTES,F_DESCRIPTION ) VALUES("
sSQL = sSQL & "'" & fTitle & "', '"
sSQL = sSQL & fAuthor & "', "
sSQL = sSQL & fSubmitted & ", "
sSQL = sSQL & fCategory & ", '"
sSQL = sSQL & fDate & "', '"
sSQL = sSQL & faname & "', '"
sSQL = sSQL & fForumLink & "', '"
sSQL = sSQL & fSummary & "', '"
sSQL = sSQL & fVersion & "', '"
sSQL = sSQL & fCompat & "', '"
sSQL = sSQL & fValid & "', '"
sSQL = sSQL & chkString(fInstallation,"SQLstring") & "', '"
sSQL = sSQL & chkString(fNotes,"SQLstring") & "', '"
sSQL = sSQL & chkString(fDescription,"SQLstring") & "') "

my_conn.execute(sSQL)
my_conn.close
Response.write "<meta http-equiv='Refresh' content='2; URL=filecenter.asp'>"
response.end
End Function


Hope that helps.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 08 March 2002 :  16:38:06  Show Profile  Visit MaD2ko0l's Homepage
thanks very much it worked

thankx a lot

MaD2ko0l

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-
Go to Top of Page

Trinity
Starting Member

26 Posts

Posted - 10 March 2002 :  21:18:44  Show Profile
hey guys when i try uploading a file i get this error


Microsoft VBScript runtime error '800a000d'

Type mismatch: 'cint'

/discussion/uploadengine.asp, line 75

uploadengine.asp is stock no mods to it... any help would be appreciated

snitz 3.3.03
win nt4 webserver sp6a
win2k server sql 2000 database...

thanks

jen

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 11 March 2002 :  04:04:24  Show Profile  Visit HuwR's Homepage
what is line 75 of your uploadengine.asp

Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 11 March 2002 :  06:00:19  Show Profile
onewaymule'z da man !!

Go to Top of Page

Trinity
Starting Member

26 Posts

Posted - 11 March 2002 :  07:58:35  Show Profile
boolAllowUploads = cint(objDict.Item("Attachment"))

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 11 March 2002 :  08:21:31  Show Profile  Visit HuwR's Homepage
quote:

boolAllowUploads = cint(objDict.Item("Attachment"))





This would indicate that the value it is trying to read from the forum_mods table is null, it should be aither 1 or 0, try resetting the values in admin_fileattachment.asp

Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | 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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07