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
 HuwR pls help with mod for upload
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Gandalf il Bianco
Starting Member

Italy
18 Posts

Posted - 20 May 2001 :  21:38:46  Show Profile  Visit Gandalf il Bianco's Homepage  Send Gandalf il Bianco an ICQ Message
I install the mod and it gives me this error
quote:

Server object error 'ASP 0177 : 800a0046'

Server.CreateObject Failed

/forum/Mods/UploadEngine.asp, line 148

The operation completed successfully.


I have already read the other post about this problem and i think there is a problem of writing permission, so I must move the upload folder to another directory but where can I specify the path for the new folder?

Thnx

P.S. Now is in root/forum/uploaded and i must move it to root/pubblic/uploaded

Edited by - Gandalf il Bianco on 20 May 2001 21:48:33

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 May 2001 :  04:47:59  Show Profile  Visit HuwR's Homepage
look in the function savedoc

Go to Top of Page

Gandalf il Bianco
Starting Member

Italy
18 Posts

Posted - 21 May 2001 :  10:35:29  Show Profile  Visit Gandalf il Bianco's Homepage  Send Gandalf il Bianco an ICQ Message
quote:

private function saveDoc()
Dim strRoot
Dim strFile
Dim fso
strRoot = replace(strCookieURL,"/mods/","/",1,-1,1) & "uploaded"
strRoot = Server.MapPath(strRoot) & "\" & strFolder

strFile = strRoot & "\" & objUpload.Files.Item(0).FileName
Set fso = Server.CreateObject("Scripting.FileSystemObject")
If not fso.FolderExists(strRoot) then

fso.createFolder(strRoot)
end if
objUpload.Files.Item(0).Save strRoot
saveDoc = (fso.FileExists(strFile))
End Function


You mean this?
if I change to
strRoot = replace("/pubblic/") & "uploaded"
strRoot = Server.MapPath(strRoot) & "\" & strFolder
It's ok?

I don't know much about asp


Go to Top of Page

Gandalf il Bianco
Starting Member

Italy
18 Posts

Posted - 22 May 2001 :  12:31:25  Show Profile  Visit Gandalf il Bianco's Homepage  Send Gandalf il Bianco an ICQ Message
pls somebody can send me the right code?
I really need it

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