PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old March 31st, 2006, 01:16 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Error on upload but not much detail-"Invalid File"

When I try to upload files I get a simple message that says "Invalid File".

The file is a simple /jpg and is under both the size limits and it seems to be with ever user.
I have tried to upgrade to 1.02 but I am seeing the same error.

Any help would be fantastic!
devinnull is offline   Reply With Quote
Old March 31st, 2006, 01:49 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
I didn't mean to cross post this but I found this post from Feb. where I asked the same question.
invalid file

Was there any resolution there that just didn't get posted?

Thank again!
devinnull is offline   Reply With Quote
Old March 31st, 2006, 10:32 AM   #3 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Does it happen only if you upload a file or does it also happen if you use the 'upload from FTP' option as well?

To rule out that your GD or ImageMagick is configured incorrectly, try uploading a really small image file (like a smiley or something else that is smaller then the dimensions of the thumbnail you have specified) to see if that file is accepted.
KW802 is offline   Reply With Quote
Old March 31st, 2006, 03:19 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Quote:
Originally Posted by KW802
Does it happen only if you upload a file or does it also happen if you use the 'upload from FTP' option as well?

To rule out that your GD or ImageMagick is configured incorrectly, try uploading a really small image file (like a smiley or something else that is smaller then the dimensions of the thumbnail you have specified) to see if that file is accepted.
Thanks for the reply! It happens with both ways. Sorry I didn't mention this before.
I also tried a very small image with the same result. (favicon.gif)
devinnull is offline   Reply With Quote
Old March 31st, 2006, 03:30 PM   #5 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
OK, that helps to rule out a GD/IM issue.

If you choose ACP => vBa Gallery => Edit Filetypes, what are the values you see listed for the "gif" extension?
KW802 is offline   Reply With Quote
Old March 31st, 2006, 03:52 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
EDIT:
I was mistaken. The favicon.gif file DID upload but I can still not upload a 41 KB .jpg.

The files we have tried most often and failed have been jpg/jpeg.

Here is what I have now:

jpg 2.00 MB 1024 768 Yes [Edit]
gif 2.00 MB 600 600 Yes [Edit]
png 2.00 MB 600 600 Yes [Edit]
jpeg 2.00 MB 1024 768 Yes [Edit]
bmp 2.00 MB 600 600 Yes [Edit]
mp3 2.00 MB 0 0 Yes [Edit]
wma 2.00 MB 0 0 Yes [Edit]
mpeg 2.00 MB 0 0 Yes [Edit]
wav 2.00 MB 0 0 Yes [Edit]
avi 2.00 MB 0 0 Yes [Edit]
midi 2.00 MB 0 0 Yes [Edit]
mpg 2.00 MB 0 0 Yes [Edit]
ram 2.00 MB 0 0 Yes [Edit]
wmv 2.00 MB 0 0 Yes [Edit]
zip 95.37 MB 0 0 Yes [Edit]

Last edited by devinnull; March 31st, 2006 at 04:00 PM.
devinnull is offline   Reply With Quote
Old March 31st, 2006, 04:07 PM   #7 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
OK, if the favicon.gif did work then we may still be looking at a GD or IM problem.

Do you have your site configured for GD or IM? If IM, what is the value you have in the path to IM?
KW802 is offline   Reply With Quote
Old March 31st, 2006, 04:15 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
GD is what I have set now. The version shows as:
Detected GD Version
bundled (2.0.12 compatible)

I have tried to use ImageMagick but I never got it working tho it is supposed to be installed @ /usr/bin/
devinnull is offline   Reply With Quote
Old March 31st, 2006, 04:19 PM   #9 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Is GD working with your normal vBulletin stuff (eg: user registration image, etc.)?
KW802 is offline   Reply With Quote
Old March 31st, 2006, 04:21 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Quote:
Originally Posted by KW802
Is GD working with your normal vBulletin stuff (eg: user registration image, etc.)?
Correct.
devinnull is offline   Reply With Quote
Old April 3rd, 2006, 02:41 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Quote:
Originally Posted by devinnull
Correct.
Is there something else I should try?
devinnull is offline   Reply With Quote
Old April 3rd, 2006, 03:10 PM   #12 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
If you want to PM me login info, I'll check it out tonight when I'm back home.
KW802 is offline   Reply With Quote
Old April 3rd, 2006, 05:48 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Quote:
Originally Posted by KW802
If you want to PM me login info, I'll check it out tonight when I'm back home.
Done-Thank you.
devinnull is offline   Reply With Quote
Old April 6th, 2006, 12:03 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Any luck?
devinnull is offline   Reply With Quote
Old April 8th, 2006, 09:17 PM   #15 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
devinnull,

While I was on your site I was able to see that you have IM installed on your server and was able to successfully upload a GIF image and have it create a thumbnail but I'm puzzled yet why it's rejecting JPG images but not GIF images. If anything I would've expected the reverse.

I also took a look through the code to see what would produce the "Invalid File" error message. Essentially that error comes if the file does not exist in the temp folder after the upload so it doesn't make sense that GIF files would work but not JPGs.

I'm going to ask the rest of the guys for their thoughts on this one.
KW802 is offline   Reply With Quote
Old April 9th, 2006, 10:51 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Thank you. I'd love to get this fix and thank you for the time thus far!
devinnull is offline   Reply With Quote
Old April 13th, 2006, 08:19 AM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: SLC UT
Posts: 25
Send a message via AIM to devinnull Send a message via MSN to devinnull Send a message via Yahoo to devinnull Send a message via Skype™ to devinnull
Found the problem in the PHP configuration (/etc/php.ini) had an error.
The setting "upload_max_filesize" was set to "64MB" which translated to '64 bytes'. (Makes sense right?) The proper configuration is 'upload_max_filesize = 64M'.

This is why the smallest files I used for testing worked but the larger ones failed even when they were under the set limits of a given gallery.

Anyhow, thanks for looking looking into this for me KW802 and big thanks to BJ at Rackspace.com Managed Hosting for finding the typo and getting it fixed. Sure, it's what they get paid for but these guys are awesome!
devinnull is offline   Reply With Quote
Old September 23rd, 2008, 09:44 AM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Posts: 5
I'm having a similar problem, except only some users are having trouble. And the users that are having trouble have been able to post pictures in the past. Now they are getting Invalid File when trying to upload an image. I've checked to make sure the image file types are correct and that the sizes are fine. In fact, I even took the image that one of the users tried to upload (and received that Invalid file message) and I was able to upload it without a problem.

I just went in and ran maintenance for the boards and the gallery. So we'll see if that helps.

Any ideas?
FamilyCorner is offline   Reply With Quote
Old September 23rd, 2008, 05:57 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Have you tried clearing the users folder under your gallery install of all numeric directories?
__________________
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 24th, 2008, 12:50 PM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Posts: 5
My tech guys resolved it. For some reason there was a permissions problem with the temp directories that php was trying to write to. Have no idea why, but they've fixed it. Thanks!
FamilyCorner 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No input file specified " Error message kroozah Photopost Pro Installation & Upgrades 2 February 15th, 2006 10:17 PM
error message "not a valid JPEG file" Walter Photopost Pro Installation & Upgrades 1 August 10th, 2005 07:51 AM
"Scan Database" tool reports "file not found" - ALL files PageUp Installs and Upgrade - vBulletin 3.0.X 4 June 15th, 2005 10:09 AM
How do I remove the detail info underneath the thumbnails of "Feature Photos" ? TL408 Photopost Pro Installation & Upgrades 2 May 2nd, 2005 12:04 AM
Sudden "Invalid Argument" & Denied Access greenhybrid Installs and Upgrade - vBulletin 3.0.X 0 April 8th, 2005 04:38 PM


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

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