PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 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
mitchjaz2 is offline   Reply With Quote
Old 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.
Michael P is offline   Reply With Quote
Old 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
mitchjaz2 is offline   Reply With Quote
Old 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.
Michael P is offline   Reply With Quote
Old 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.
mitchjaz2 is offline   Reply With Quote
Old 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.
mitchjaz2 is offline   Reply With Quote
Old 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); }
mitchjaz2 is offline   Reply With Quote
Old June 3rd, 2005, 05:27 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
What are the permissions on his uploads directory?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old 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?
mitchjaz2 is offline   Reply With Quote
Old 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.
mitchjaz2 is offline   Reply With Quote
Old 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)
__________________
mitchjaz2 is offline   Reply With Quote
Old 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.
mitchjaz2 is offline   Reply With Quote
Old June 5th, 2005, 06:14 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old 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
mitchjaz2 is offline   Reply With Quote
Old June 5th, 2005, 08:06 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
I registered a username and uploaded an image to the members gallery and also to a personal album I created and it works fine for me

http://www.dphoto.us/forumphotos/sho...00&ppuser=3186

http://www.dphoto.us/forumphotos/sho...4/limit/recent

so what is the common denominator for these users.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old 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.
mitchjaz2 is offline   Reply With Quote
Old June 6th, 2005, 11:08 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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);
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Members upload as Unregistered aem Photopost Pro How Do I...? 11 October 27th, 2005 10:22 AM
Skip upload etc - showing at Members photo upload(NOT A BUG) mjm Photopost Pro Bug Reports 5 July 31st, 2005 08:36 PM
Members Category & Quick Upload Tom M Installs and Upgrade - vBulletin 3.0.X 0 February 10th, 2005 12:01 PM
Settings to allow members to upload to ONE category only imported_DougM How Do I? - vBulletin 3.0.X 1 February 7th, 2005 04:55 PM


All times are GMT -5. The time now is 09:11 AM.

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