Author |
Topic |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 27 November 2009 : 08:05:42
|
I have the proeder's file attachment mod installed and it will suddenly no longer work. I made no changes to it recently.
When uploading I get this error:
Microsoft VBScript runtime error '800a0046'
Permission denied
/forum/outputFile.asp, line 201
The line this refers to is:
Set MyFile = ScriptObject.CreateTextFile(Left(Server.mappath(Request.ServerVariables("PATH_INFO")),pathEnd) & strUploadUrl & "\" & membername & "\" & filename)
My host recently migrated my site to a new server. This may have caused the problem but I do not know how to fix it. |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - AnonJr on 27 November 2009 08:39:42 |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 27 November 2009 : 08:39:18
|
Off the cuff it looks like a permissions issue. Double-check. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 27 November 2009 : 10:40:17
|
and me file i have this
'Create and Write to a File Set MyFile = ScriptObject.CreateTextFile(memberPath & "\" & filename) |
======================= http://www.Giumer.it/forum
======================= |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 27 November 2009 : 14:16:22
|
You sure the folder in the admin options is set right for the mod. To me the line is trying to grab the location listed in the admin options with strUploadUrl and it is not going to the correct location and in turn it gives the permissions error. |
Cheers, David Greening |
|
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 27 November 2009 : 21:03:56
|
I tried Giumer's line but it gives the same error.
Classicmotorcycling, I looked and the folder name is correct.
I also am noticing that forum emails are not going out. Instead they are sent back to me with an error like below:
Reporting-MTA: dns;WH182.hosting.corp.gd
Received-From-MTA: dns;WH182.hosting.corp.gd
Arrival-Date: Wed, 25 Nov 2009 14:31:44 -0700
Final-Recipient: rfc822;Email Address Here
Action: failed
Status: 4.4.7 Perhaps these two issues are related as they began at the same time. This is also the same time my host made some changes. I may have to contact them but I don't know if they know anything about Snitz. |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 27 November 2009 : 23:23:14
|
gives you that 'error because he can not create the folder you send the complete file in my forum so the sample and look how it's done! so as you know English well then if you find the places you fix it! |
======================= http://www.Giumer.it/forum
======================= |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 November 2009 : 09:35:08
|
Leatherlips,
Your host should provide support, as they caused this issue. Seems clear that you have a permissions issue, regarding the upload. Probably a write permission is needed there.
About the email server, they should know the requirements to send mail through. These are not Snitz issues, but web server and mail server issues. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 28 November 2009 : 19:14:08
|
I have the email issue fixed. I had to change from CDONTS to CDOSYS and also change the email server address in the email server configuration.
I almost have the upload fixed but still have a problem.
The way the upload mod works is I define a folder where the uploads go. This folder has write privileges to it. Once a member uploads a file it creates a subfolder named with their username and then places the upload in that folder.
I had to change each of the existing member folders to have write permissions.
Now the problem is no new member can upload a file because it will not create the subfolder for them. I'm confused as to why it won't since the main upload folder has write permissions. Any ideas? |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 November 2009 : 19:35:43
|
That is usually enough, from your point of view, but as it isn't, they should fix it for you. NTFS includes special permissions to create folders and such, so you may indeed have to get the host to check it. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Giumer
Junior Member
Italy
163 Posts |
Posted - 28 November 2009 : 22:55:36
|
hello then I'm on a server leatherlips Italian called Aruba ok they offer a Public folder named with its write permission to this folder and letur need to create a sub folder named Data. now I adnin file admin_attach.asp sets the path where the files should be loaded in my case is like this: www.MYSITE.it/public/Data/ and so with the file that we use here in Italy and been modified to send attachments and create sub folders of users will attach the file:
|
======================= http://www.Giumer.it/forum
======================= |
Edited by - AnonJr on 29 November 2009 01:45:28 |
|
|
|
Topic |
|