Author |
Topic |
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 23 February 2002 : 18:25:08
|
what did your admin tool allow you to set the permissions to.
|
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 23 February 2002 : 18:29:32
|
i can set it to anything that i want to
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=- |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 23 February 2002 : 18:43:27
|
what options does it have ?
|
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 23 February 2002 : 18:48:30
|
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 ]=- |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 24 February 2002 : 05:22:39
|
can you try adding full control, does that make any difference.
|
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 25 February 2002 : 14:54:34
|
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 ]=- |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
Posted - 25 February 2002 : 15:21:44
|
Please post a link to a .txt version of your uploadengine.asp.
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
Posted - 04 March 2002 : 18:12:05
|
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 |
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 08 March 2002 : 16:38:06
|
thanks very much it worked
thankx a lot
MaD2ko0l
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=- |
|
|
Trinity
Starting Member
26 Posts |
Posted - 10 March 2002 : 21:18:44
|
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
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 11 March 2002 : 04:04:24
|
what is line 75 of your uploadengine.asp
|
|
|
SalmanKhana
Average Member
USA
961 Posts |
Posted - 11 March 2002 : 06:00:19
|
onewaymule'z da man !!
|
|
|
Trinity
Starting Member
26 Posts |
Posted - 11 March 2002 : 07:58:35
|
boolAllowUploads = cint(objDict.Item("Attachment"))
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 11 March 2002 : 08:21:31
|
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
|
|
|
Topic |
|