 | |  | |
March 31st, 2006, 01:16 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
| 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!
|
| |
March 31st, 2006, 01:49 AM
|
#2 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
|
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!
|
| |
March 31st, 2006, 10:32 AM
|
#3 (permalink)
| | Registered User Verified Customer
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.
|
| |
March 31st, 2006, 03:19 PM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
| 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)
|
| |
March 31st, 2006, 03:30 PM
|
#5 (permalink)
| | Registered User Verified Customer
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?
|
| |
March 31st, 2006, 03:52 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
|
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.
|
| |
March 31st, 2006, 04:07 PM
|
#7 (permalink)
| | Registered User Verified Customer
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?
|
| |
March 31st, 2006, 04:15 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
|
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/
|
| |
March 31st, 2006, 04:19 PM
|
#9 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,400
|
Is GD working with your normal vBulletin stuff (eg: user registration image, etc.)?
|
| |
March 31st, 2006, 04:21 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
| Quote: |
Originally Posted by KW802 Is GD working with your normal vBulletin stuff (eg: user registration image, etc.)? | Correct.
|
| |
April 3rd, 2006, 02:41 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
| Quote: |
Originally Posted by devinnull Correct. | Is there something else I should try?
|
| |
April 3rd, 2006, 03:10 PM
|
#12 (permalink)
| | Registered User Verified Customer
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.
|
| |
April 3rd, 2006, 05:48 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
| 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.
|
| |
April 6th, 2006, 12:03 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
|
Any luck?
|
| |
April 8th, 2006, 09:17 PM
|
#15 (permalink)
| | Registered User Verified Customer
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.
|
| |
April 9th, 2006, 10:51 PM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
|
Thank you. I'd love to get this fix and thank you for the time thus far!
|
| |
April 13th, 2006, 08:19 AM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: SLC UT
Posts: 25
|
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!
|
| |
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?
|
| |
September 23rd, 2008, 05:57 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Have you tried clearing the users folder under your gallery install of all numeric directories?
|
| |
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!
|
| | |
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 01:08 AM. | |