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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old September 27th, 2005, 02:22 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
Angry Bulk Upload Problems

I just upgraded from 5.03 to 5.14, and now my users are having trouble doing bulk uploads.

Myself, as an admin, I have no problems, but if I log into my test account, I can replicate the error.

Upload one file, it works fine.. Upload more than one, it dies, with the following error.

Unable to read the format of file: /www/gallery.502streetscene.net/data//medium/Blue_hills.jpg

Note: the correct path to the 'medium' directory would be /www/gallery.502streetscene.net/data/500/medium/
nester is offline   Reply With Quote
Old September 27th, 2005, 04:13 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Well try upgrading to 5.2 as this is the current code and lets go from there.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 04:26 PM   #3 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
Ugh. That worked well..

Code:
Content visible to verified customers only.
nester is offline   Reply With Quote
Old September 27th, 2005, 04:29 PM   #4 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
Ok, uploaded it again.. Seemed to work this time. Testing uploads..
nester is offline   Reply With Quote
Old September 27th, 2005, 04:32 PM   #5 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
Same problem.

Unable to read the format of file: /www/gallery.502streetscene.net/data//medium/Sunset1.jpg
nester is offline   Reply With Quote
Old September 27th, 2005, 04:41 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Double check your file paths for one. Has your host changed anything on the server the processor or paths.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 04:53 PM   #7 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
No, it's my personal colocated server. I'm the only person that can change anything.

Here's everything I did when I upgraded from .03 to .14..

cd /www/gallery.502streetscene.net
cp config-inc.php /tmp
cp header.htm /tmp
chown -R nester *

At this point, I ftp'ed all the files in, and then ran the upgrade.php script

rm upgrade.php
mv /tmp/header.htm ./
mv /tmp/config-inc.php ./
chown -R www-data *

That's all.

Same thing from .14 to .20
nester is offline   Reply With Quote
Old September 27th, 2005, 04:54 PM   #8 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
All files are owned by www-data, in group www-data. Apache runs as www-data.
nester is offline   Reply With Quote
Old September 27th, 2005, 05:21 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well I will need alot more info before I can take a guess here

Bulkuploads can only usually be done by admin so please explain by they cant bulkupload.

I have registered a username on your site

Make sure all data and uploads folders are 777
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 05:24 PM   #10 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
Sorry, I was missing part of the error, black text on black background.


Warning: imagejpeg: unable to open '/www/gallery.502streetscene.net/data//thumbs/Winter.jpg' for writing in /www/gallery.502streetscene.net/image-inc.php on line 121

Warning: imagejpeg: unable to open '/www/gallery.502streetscene.net/data//medium/Winter.jpg' for writing in /www/gallery.502streetscene.net/image-inc.php on line 121

Warning: stat failed for /www/gallery.502streetscene.net/data//medium/Winter.jpg (errno=2 - No such file or directory) in /www/gallery.502streetscene.net/image-inc.php on line 591

Warning: Supplied argument is not a valid File-Handle resource in /www/gallery.502streetscene.net/image-inc.php on line 591


Unable to read the format of file: /www/gallery.502streetscene.net/data//medium/Winter.jpg
nester is offline   Reply With Quote
Old September 27th, 2005, 05:27 PM   #11 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
As for the 777 thing... No, all the folders are not 777.. But they are owned and in the same group as www-data.

If I 777 the directories, then anyone on the system can come in an muck with things. vs only people in the www-data group.

Admins can bulkupload. But in the past, other users were allowed to do this as well. AFAIK, the only thing I changed to allow this in 5.03 was changing the number of upload prompts from 1 to 10.
nester is offline   Reply With Quote
Old September 27th, 2005, 05:27 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Okay well your missing the category number so I guess I would need you to make the username I registered an admin so I can see how you have things set up

We state in the install instructions that to write to a folder by a www process it needs to be 777. I will state this again.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 06:45 PM   #13 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
Respectfully, I disagree with this. Furthermore, I've been running your software for over a year now without issue. The apache process is running as www-data, the files and folders are owned by www-data. For all intensive purposes, as things are configured right now, the folders could be 700 and it should still work, unless you've got the software configured to check permissions, and dump generic error messages despite it being able to read the file. (Holy run on sentance)

In any event, the error message tells me that Photopost is trying to open the file from the wrong directory. /data//medium (which works out to just /data/medium) instead of /data/500/medium.

I have given you admin privilages. As for the lack of a catagory, as stated in your original post, I don't know anything about that. I try my best to not touch this software unless I really have to.
nester is offline   Reply With Quote
Old September 27th, 2005, 07:54 PM   #14 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
We need to test uploads of more than one file at a time using the multiple file prompts, Chuck; if you look at the error its missing the data directory category number - no matter what the permissions are it won't work if the directory path isn't getting picked up properly.

I have tested this with the 5.2 release and all my files upload properly.

As for permissions, all that matters is that the server can write to the directory (technically); and you are right, the error message points to an incorrect path which is missing the cateogry number.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 27th, 2005, 08:14 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
What type of user is this that can not upload? What usergroup does he belong to in Vbulletin?

I was able to upload multiple files with no issue.

From looking at the permissions it seems only Administrators,Mods, Super Mods and two custom groups are the only ones who can upload to it.

So is the user in one of those groups?

So essentially registered users can not upload to your gallery so if this is correct you can turn off uploads for this usergroup

I think somehow you have registered users able to upload but you dont give them permission to upload the the only cat you have there might be some issue with that so if you can post a trash test user account here which is a regular user let me do some testing

make the username and password test and test
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; September 27th, 2005 at 08:19 PM.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 08:24 PM   #16 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
By bulk, I mean more than one file at a time. In my testing, I tried 1, 2, 3 and 4 files. 1 worked, anymore than 1 did not.

This is for the "registered" usergroup. Admins seem to be able to upload multiple files, without issue.

Try "testuser" with password "test" for a user that's in the registered group.
nester is offline   Reply With Quote
Old September 27th, 2005, 08:28 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
I uploaded 2 files with no problem

Yes but do you see what I mean by registered users are not given upload permissions to your members gallery. Are they suppose to have access and it was an oversight on your part?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 08:28 PM   #18 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
I'm not sure why "Registered" was disabled.. but I re-enabled their upload access. Still can't upload more than one file at a time.

Am I missing something really stupid?
nester is offline   Reply With Quote
Old September 27th, 2005, 08:34 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Check again I uploaded multiple files 4 infact

You need to set in category permissions permission for registered users to upload. This was your issue

You had permission set globally to upload but locally for the category it was disabled
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2005, 08:43 PM   #20 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 32
What did you change in catagory 500?
nester is offline   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
Bulk Upload Problems TraumTeam Installs and Upgrade - vBulletin 3.0.X 12 September 21st, 2005 07:44 AM
Major Problems Bulk uploading after upgrade to 5.03 idslamyou Photopost Pro Installation & Upgrades 3 May 23rd, 2005 02:57 PM
Problems with bulk MojoNixon Photopost Pro Installation & Upgrades 3 January 12th, 2005 08:40 AM


All times are GMT -5. The time now is 05:17 PM.

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