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
 Member Upload Error with Proeders File Attachment
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 18 January 2013 :  21:49:50  Show Profile  Reply with Quote
Just got the new forum open. YEA!

At least one member is unable to upload an image to her post. (I did the 6 in 1 mod with Proeders File Attachment Mod.)

I signed onto the member's account to verify what she posted. This is the error message being displayed when she attempts to upload an image.


Microsoft VBScript runtime error '800a0046'

Permission denied

/tfp/outputFile.asp, line 192




Here are lines 184 - 209 from my outputfile.asp. Your help will be greatly appreciated!



If not ScriptObject.FolderExists(memberPath) then

ScriptObject.createFolder(memberPath)

end if

'Create and Write to a File

Set MyFile = ScriptObject.CreateTextFile(Left(Server.mappath(Request.ServerVariables("PATH_INFO")),pathEnd) & strUploadUrl & "\" & membername & "\" & filename)

For i = 1 to LenB(value)
MyFile.Write chr(AscB(MidB(value,i,1)))
Next

MyFile.Close

If byteCount < 1024 Then

strFileSize = Round(byteCount,2) & " Bytes"

ElseIf strFileSize < 1048576 Then

strFileSize = Round(byteCount/1024,2) & " KB"
Else
strFileSize = Round(byteCount/1048576,2) & " MB"
End If



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 19 January 2013 :  00:59:27  Show Profile
Most likely it's due to folder permissions on the upload folder, make sure that the IIS user/guest has write permissions there.
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 19 January 2013 :  02:35:39  Show Profile  Visit Webbo's Homepage
Have you checked the upload folder to see if there is a folder created in there with the user's name?
If so check the permissions to the parent upload folder to make sure they allow inheritable permissions from the parent to propagate to all child objects.

Edited by - Webbo on 19 January 2013 02:36:36
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 19 January 2013 :  02:57:54  Show Profile

quote:
Originally posted by Carefree

Most likely it's due to folder permissions on the upload folder, make sure that the IIS user/guest has write permissions there.


YES! You are correct, Carefree! I just can't imagine how that could happen since I thought I had set the permissions of the parent folder and to allow it to propagate.

Oh well! I thank you once again for your wonderful help, Carefree!!



"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 19 January 2013 :  03:55:22  Show Profile
Any time
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 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