 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
June 2nd, 2005, 10:40 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
| 5.1 Members Can't Upload
I replaced the 5.1 files after converting with the latest build. Now my members can't upload photos. They get the following error message:
Warning: unlink(/usr/local/apache/htdocs/dphoto.us/forumphotos/uploads/784): Is a directory in photos/uploadphoto.php on line 422
|
| |
June 2nd, 2005, 10:43 AM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
I believe you need to change $filepath to $filedir in uploadphoto.php (lines 411, 415, 422) and that the problem is they are trying to upload more photos in a day than they are allowed (they should be getting a message as such).
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
June 2nd, 2005, 11:15 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
I made the suggested change. Error message received by member is as follows:
Warning: unlink(/usr/local/apache/htdocs/dphoto.us/forumphotos/uploads/784/784mpb-411b.jpg): No such file or directory in photos/uploadphoto.php on line 422
|
| |
June 2nd, 2005, 11:18 AM
|
#4 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Are they getting the message they are over their daily limit? Are they over their limit?
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
June 2nd, 2005, 11:20 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
They are not over their daily limit. Ironically 2 people haver been able to upload, but the majority get errors.
|
| |
June 2nd, 2005, 12:25 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
I think it's working now. Thanks for your help.
|
| |
June 3rd, 2005, 12:57 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
I spoke too soon. I am baffled as I have 1 user who still can't upload. Permissions are all correct. here is what I was sent:
Tried again this evening, and noted that when the upload failed, I got "Warning: unlink(/usr/local/apache/htdocs/dphoto.us/forumphotos/uploads/1024/1024Seal_Harbor_1_Tracy_Arm_crop_C_051105.jpg): No such file or directory in photos/uploadphoto.php on line 422" at the top of the screen, in case that helps. The same error below shows in the center of the page.
Thanks,
var PopUpHelpX = (screen.width/2)-150; var PopUpHelpY = (screen.height/2)-200; var pos = "left="+PopUpHelpX+",top="+PopUpHelpY; function PopUpHelp(url){ PopUpHelpWindow = window.open("http://www.dphoto.us/forumphotos/"+url,"Smilies","scrollbars=yes,width=300,height=400,"+pos); }
|
| |
June 3rd, 2005, 05:27 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
What are the permissions on his uploads directory?
|
| |
June 3rd, 2005, 10:42 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
Permissions in his upload directory are correct...the same as other members. Quote: |
Originally Posted by omegatron What are the permissions on his uploads directory? | |
| |
June 3rd, 2005, 10:43 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
I just looked in his upload folder, and the image is there.
|
| |
June 4th, 2005, 09:42 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
It seems no member can upload into albums which they have created. Numerous errors being reported by multiple members. I hope this can be sorted out soon. Here is another error message reported by another member:
"Warning: unlink(/usr/local/apache/htdocs/dphoto.us/forumphotos/uploads/75/75JH5Q8989_OrmbunkeFramed.jpg): No such file or directory in photos/uploadphoto.php on line 422"
and further down:
JH5Q8989_OrmbunkeFramed.jpg ( exceeds your limit of daily uploads)
__________________
|
| |
June 5th, 2005, 09:24 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
Any comments yet? My members are now trying to trouble shoot the problem in the board.
|
| |
June 5th, 2005, 06:14 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
Well Is your server allowing you to delete the images from the uploads after they are moved to the data directory. I beleive this is your issue. If set to 777 basically that error is telling you that we have processed the file and deleting the upload one. Its not letting the script delete the file.
In line 87 of image-inc.php you can find the unlink statements and change the instance to @unlink and that will surpress an error.
You can then investigate with your host why your not being allowed to delete a file when the directory is 777 as it should be
On the daily upload issue just set in usergroup settings the max daily uploads you want. seems to me the user is uploading more files that you allow |
| |
June 5th, 2005, 07:53 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
The script is not posting the photo except under certain circumstances. It's my server and nothing has been changed since earlier versions, so there have not been any host changes. I would say something must have changed in the script, as nothing else has changed. Herehttp://www.dphoto.us/forum/showthread.php?threadid=4146 is the discussion on my members issues. Quote: |
Originally Posted by omegatron Well Is your server allowing you to delete the images from the uploads after they are moved to the data directory. I beleive this is your issue. If set to 777 basically that error is telling you that we have processed the file and deleting the upload one. Its not letting the script delete the file.
In line 87 of image-inc.php you can find the unlink statements and change the instance to @unlink and that will surpress an error.
You can then investigate with your host why your not being allowed to delete a file when the directory is 777 as it should be
On the daily upload issue just set in usergroup settings the max daily uploads you want. seems to me the user is uploading more files that you allow  | |
| |
June 6th, 2005, 11:00 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Feb 2004
Posts: 120
|
I am baffled with the problem as it seems to be random. Very frustrating because I don't have the problem either, yet various long time users do. I also know how hard it is to fix a problem that you can't see. The people complaining are all long time users and know how to operate the gallery.
|
| |
June 6th, 2005, 11:08 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
Thats why a common denominator needs to be found.
You might also want to check you have all the latest files uploaded. Example here line 422 of my uploadphoto is this and yours is obviously different
$catq = ppmysql_query($querya,$link);
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:11 AM. | |