Author |
Topic |
|
kerryww
Starting Member
30 Posts |
Posted - 14 December 2008 : 04:15:35
|
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
|
I would help you, but I don't support erotica.< |
|
|
SiSL
Average Member
Turkey
671 Posts |
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 December 2008 : 05:37:37
|
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! < |
|
|
kerryww
Starting Member
30 Posts |
Posted - 14 December 2008 : 07:53:13
|
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< |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 December 2008 : 08:00:26
|
Kerry, what file are you referring to? Is it photo_album_test_upload.asp ?< |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 December 2008 : 08:09:36
|
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 |
|
|
kerryww
Starting Member
30 Posts |
Posted - 15 December 2008 : 00:05:49
|
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 < |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 15 December 2008 : 01:04:02
|
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 |
|
|
kerryww
Starting Member
30 Posts |
Posted - 15 December 2008 : 05:04:14
|
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< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 15 December 2008 : 09:57:47
|
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.< |
|
|
kerryww
Starting Member
30 Posts |
Posted - 15 December 2008 : 18:28:11
|
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.< |
|
|
kerryww
Starting Member
30 Posts |
Posted - 16 December 2008 : 02:35:27
|
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
< |
|
|
|
Topic |
|