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
 Photo Album - Permission denied on image upload
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kerryww
Starting Member

30 Posts

Posted - 14 December 2008 :  04:15:35  Show Profile
Hi All,

After 10 years on a virtual server I've finally bitten the bullet and upgraded to a VPS.

I've uploaded my site from the virtual server to my new VPS. All is working well but I can't get the Photo album to upload photos. In Photo album Config, when I try to upload an image I get the error below.

exact path to file: /adultforum/fpdb
Permission deniedNo Errors detected, If you are still haveing problems please send me an email to Wesley Brown
File has been saved in file system.

View this file:

032.JPG

~

I've tried going into the FrontPage permissions and tried making some changes but no luck.

TIA and a Merry Chrissy

Kerryww




<

Edited by - kerryww on 14 December 2008 07:44:24

Etymon
Advanced Member

United States
2385 Posts

Posted - 14 December 2008 :  04:22:53  Show Profile  Visit Etymon's Homepage
I would help you, but I don't support erotica.<
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 14 December 2008 :  05:17:05  Show Profile  Visit SiSL's Homepage
I do :p Permission denied can be from a few things:

I'd check NTFS permissions on the folder to upload. You need to get Users OR better IIS_WPG OR IUSR_site write permission (beware: not permissions from IIS itself but the permissions from NTFS folder)


<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 14 December 2008 :  05:37:37  Show Profile  Visit Etymon's Homepage
If it were a closed forum restricted from open access, I would be more inclined to help, but I'm not willing to help on sites that have open discourse about it (I don't want to view it or commit it to memory). But! I am glad you were able to help SiSL! <
Go to Top of Page

kerryww
Starting Member

30 Posts

Posted - 14 December 2008 :  07:53:13  Show Profile
quote:
Originally posted by Etymon

If it were a closed forum restricted from open access, I would be more inclined to help, but I'm not willing to help on sites that have open discourse about it (I don't want to view it or commit it to memory). But! I am glad you were able to help SiSL!



Woops, sorry about that, I was so keen on adding as much info as possible to help solve the problem I forgot about the images.

Where does one go for help if they have a site that contains erotica? I once put a message underneith the URL - WARNING This site contains nudity. Just to warn people. But some readers treated me like I was a spammer! Dammed if you do and dammed if you dont.

Thanks siSL for the instructions. I will get back to you to let you know how I go.

Cheers

Kerryww<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 14 December 2008 :  08:00:26  Show Profile  Visit Etymon's Homepage
Kerry, what file are you referring to? Is it photo_album_test_upload.asp ?<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 14 December 2008 :  08:09:36  Show Profile  Visit Etymon's Homepage
Thanks for the alteration on the link even it is just for me. I can help you now. But just in case, I don't know of any restrictions other than what is in the policy "you agree that you will not post any information which is vulgar, harassing, hateful, threatening, invading of others privacy, sexually oriented, or violates any laws".

<

Edited by - Etymon on 14 December 2008 08:37:12
Go to Top of Page

kerryww
Starting Member

30 Posts

Posted - 15 December 2008 :  00:05:49  Show Profile
Hi All,

No luck with the permission changes. I logged into Remote Desktop on the VPS and made the changes through Window Explorer. Here are the Users listed.

Administrators [VPS-450\Administrators]
FPSE_7324 [VPS-450\FPSE_7324]
Plesk Domain User [VPS-450\username]
Pleak IIS User [VPS-450\IUSR_username]
Pleask IIS WP User [VPS-450\IWPD_1[username]]
SYSTEM

I started by changing Plesk IIS User and giving it write permission - no luck. Then I gave write permissions to Plesk IIS WP User - no luck. The in desperation I gave them all full permissions - still no luck.

The site was originally created with the help of MS Frontpage 2003 and uploaded using FrontPage. I have the feeling that the problem lies somewhere in the FPSE. I have not been able to use the Publish command on FP to upload the files to the new VPS - it just gives error after error... They've all been FTP'd. to the VPS.

The file photo_album_test_upload.asp is where the error appears warning that access is denied after attempting to upload a file from the Photo Album control panel troubleshooter.

Thanks for any suggestions

Kerryww
<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 15 December 2008 :  01:04:02  Show Profile  Visit Etymon's Homepage
Look in the Tools folder of a new install of Snitz Forums 2000 and upload whereami.asp to your forum folder. Run that. It will give you an example reference for what your connection string should be for the database. That's ok. Just copy the directory structure from the drive letter up to the final \ ... Then in photo_album_test_upload.asp where you have:

strMapPath = Server.MapPath(strPath) & "\" & strFileName

Comment that out so it looks like this (notice the apostrophe at the very beginning. That tells the server to ignore this line.):

'strMapPath = Server.MapPath(strPath) & "\" & strFileName

Add this line below that one you commented out:

strMapPath = "" & strFileName

In between the "" place the text you copied from the whereami.asp output.

Even if you did upload a file, there is a problem with viewing it, so at the bottom of photo_album_test_upload.asp look for:

<A href="<%=strPath&"/"&strFileName%>"><%=clr_spaces(strFileName)%></A>

and change it to:

<%
Response.Write "<A href=""" & trim(strPath) & "/" & trim(strFileName) & """>" & trim(clr_spaces(strFileName)) & "</A>"
%>

In your Admin Section, click on the link Photo Album Configuration, where it has:

Root file directory: Please enter a virtual directory i.e. /forums/uploads or /uploads

Make sure that you have the correct folder listed there.
<

Edited by - Etymon on 15 December 2008 01:09:59
Go to Top of Page

kerryww
Starting Member

30 Posts

Posted - 15 December 2008 :  05:04:14  Show Profile
Hi Etymon,

No luck, unfortunately. I did everything you suggested, tested, checked again, tested, checked code and admin section entries and checked it all again and again but still no luck.

Any other suggestions still greatfully accepted.

Here's the link again http://208.118.122.177/adultforum/adultforum.htm

Regards

Kerry<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 15 December 2008 :  09:57:47  Show Profile
quote:
Originally posted by kerryww

Administrators [VPS-450\Administrators]
FPSE_7324 [VPS-450\FPSE_7324]
Plesk Domain User [VPS-450\username]
Pleak IIS User [VPS-450\IUSR_username]
Pleask IIS WP User [VPS-450\IWPD_1[username]]
SYSTEM


Try adding the IWAM_(servername) account. That's the IIS process launcher. It shouldn't prevent writing to a folder ... but can't hurt.<
Go to Top of Page

kerryww
Starting Member

30 Posts

Posted - 15 December 2008 :  18:28:11  Show Profile
Thank for your help Carefree,

I added IWAN account but it made no difference, I'm still getting the same error/s

I now get an Internal Server Error when I try to open the Photo Upload page in Google Chrome. Also can't ftp to the site and getting cannot access the "frontpg.lck" file when I try to access the site in Frontpage 2003. Looks like I must have clicked on something I shouldn't have while in the permissions page in Plesk. Back to the drawing board.<
Go to Top of Page

kerryww
Starting Member

30 Posts

Posted - 16 December 2008 :  02:35:27  Show Profile
SUCCESS!!!!!!

I also deleted the .lck files in the FPSE folders and made some adjustments to the root permissions. After a couple of hours of trial and error BANG! - it worked!

Thanks again for your help.

Kerryww

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