Support Forums

Old 04-22-2006, 09:40 PM   #1
Junior Member
 
Join Date: Mar 2006
Posts: 19
Rep Power: 14
7standing7 is on a distinguished road
Default photo upload

Hello,

Thanks for taking the time to help:

v3.0.15: I am in a battle with my host. Recently we were having problems with the speed of the server so they upgraded the software on the server and now the site runs properly. However, When a user goes to upload a photo the fileCopyProgress pops but the underlying page gives me a 403 forbidden access. I have check the permission setting and all is well. I contacted the host and they threw it back in my lap stating it was a script error. Any help would be greatly appreciated.

Site: www.pastfamily.com

I have created a user: help
with a password of: help

If you attemp to post an ad and upload a photo you will see the error.

Thank you
Jeff
7standing7 is offline  
Old 04-22-2006, 09:42 PM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,560
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Go back and double check the permissions on the directories that need to be set to 777.

Also, I checked and it looks like the upgraded your PHP version to 5.12 which is going to cause a problem with some of the old style superglobal variables used in the photo upload process.

Do you have developer edition?
__________________
Larry.
Lhotch is offline  
Old 04-22-2006, 09:49 PM   #3
Junior Member
 
Join Date: Mar 2006
Posts: 19
Rep Power: 14
7standing7 is on a distinguished road
Default

Permissions are all appropriately set to 777 and yes I have the developer version. Larry, thanks for always being around you are the best.
7standing7 is offline  
Old 04-22-2006, 09:51 PM   #4
Coder
 
Join Date: Mar 2006
Posts: 4,560
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

PM me your e-mail address and I will see if I can track down the superglobals and e-mail you the updated files.
__________________
Larry.
Lhotch is offline  
Old 04-22-2006, 09:59 PM   #5
Junior Member
 
Join Date: Mar 2006
Posts: 19
Rep Power: 14
7standing7 is on a distinguished road
Default

PM sent thanks
7standing7 is offline  
Old 04-22-2006, 10:18 PM   #6
Junior Member
 
Join Date: Mar 2006
Posts: 19
Rep Power: 14
7standing7 is on a distinguished road
Default

No luck still getting the same error. Any other ideas
7standing7 is offline  
Old 04-22-2006, 10:34 PM   #7
Coder
 
Join Date: Mar 2006
Posts: 4,560
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Contact your host and see if they will check permissions on the directory

/home/vdeck/tmp

it appears your PHP has upload_tmp_dir set to /home/vdeck/tmp, which is where the file is originally uploaded to and then the script moves the file but apparently doesnt have permissions in the directory specified.

Contact your host and tell them your script uses php file uploads and the file is getting uploaded but once uploaded the script cant move the file due to the permission settings.
__________________
Larry.
Lhotch is offline  
Old 04-23-2006, 10:59 AM   #8
Junior Member
 
Join Date: Mar 2006
Posts: 19
Rep Power: 14
7standing7 is on a distinguished road
Default

Still no luck at the beginning of day two: The host states that it is the script because I have access to the tmp folder. Any other ideas would be great.
7standing7 is offline  
Old 04-23-2006, 02:13 PM   #9
Coder
 
Join Date: Mar 2006
Posts: 4,560
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by 7standing7
Still no luck at the beginning of day two: The host states that it is the script because I have access to the tmp folder. Any other ideas would be great.
That doesnt make any sense, why would you get a "403 forbidden error" if you have access??
__________________
Larry.
Lhotch is offline  
Old 04-23-2006, 03:12 PM   #10
Junior Member
 
Join Date: Mar 2006
Posts: 19
Rep Power: 14
7standing7 is on a distinguished road
Default

Finally have access to the error log files: The error is:
mod_security: Access denied with code 403. Error verifying files: verify_uploaded_file: Execution of the approver script "/usr/local/bin/clamscan.pl" failed [hostname "www.pastfamily.com"] [uri "/useraddimages.php?upload=true&lid=XX"]
7standing7 is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accounts... doc1975 Pre Sales Questions 2 09-08-2006 01:48 PM
Maximum File Size for File Upload sporthorsebreeder v3.1 Questions & Support 2 09-02-2006 04:18 PM
Upload File Feature does not work sporthorsebreeder v3.1 Questions & Support 10 08-16-2006 10:39 AM
File Upload Feature Problem sporthorsebreeder v3.1 Questions & Support 9 07-27-2006 09:34 AM
Phpnewads munky20 v3.0 Questions & Support 10 03-30-2006 06:59 PM


All times are GMT -4. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0