Uploading > Error Empty file upload result

MARTINFIXED / 2013-02-25 23:50:57   

Hi , Indexhibers!
I Cannot upload images to my Indexhibit

I have tested all the solutions given on the Troubleshooting Threads, but the errostill there. Ive tested on FF, Chrome ^ Safari.

Error> Error Empty file upload result

-My Files folder is already with 777 permition.
- I put the max on option.php
// images max size kilobytes
// be careful with shared hosting
$default['maxsize'] = 2000;

Hope you please give me some help with this.
Thanks in advise!
L

Vaska A / 2013-02-26 00:06:57   

How big are your images?

mizhenka / 2013-02-26 22:29:59   

Hello,

I seem to be having the same problem, too! It's been a while since I last used indexhibit, and I've set up a new site for a friend with the updated files. I've changed the permissions to 777 as instructed.

When I log into my old website, on the same server, I can upload new images no problem, but not with the version I installed today.

The images are no larger than 100kb each.

Vaska A / 2013-02-26 23:40:39   

Possible places to look at...

- check file size
- make sure permissions are good
- what is the error message
-- does Firebug post anything via the console?
- try a different browser
- are any javascript files reported as missing (ftp didn't upload)
- is the tmp directory setup properly (question for the host)

That's a place to begin.

Vaska A / 2013-02-27 00:07:42   

You didn't see my notes above, I think.

"Who said you can't help? I've never said that."

mizhenka / 2013-02-27 00:16:13   

Sorry, I didn't see your notes until I posted a reply to the comment above that - which I assume has been deleted because it's not helpful to the thread. Thank you for your possible answers, we'll work through those in the morning.

Vaska A / 2013-02-27 00:19:40   

Yes, we (me) derailed that guys thread...

Try another browser. Check Firebug console. Reupload /ndxzstudio/assets/js/ and do the shift + browser refresh dance a few times and check again. See above list if still not working.

Unfortunately, this does happen and usually it's related to javascript files not fully uploaded (because ftp does cut out) or browser caching.

;)

DeltonDemarest / 2013-05-28 20:23:45   

Hello

I'm experiencing the same problem with the "error empty file upload result"

I have tried different browsers
I have changed the max file size
I have reuploaded the ndxzstudio/assets/js and refreshed the browser

I have not contacted the host about the tmp file

Not all of the files I upload give me this error, some of the files I get this error from upload later, others continue to kick back. Is there any other solution to this problem? Could it be the pixel size or has that 100% not the reason? Thanks

deltondemarestarts.com

DeltonDemarest / 2013-05-28 20:25:01   

ps

all my permissions are correct as far as I know

deltondemarestarts.com

Vaska A / 2013-05-28 23:55:58   

did you check permissions - check files randomly to get an idea how it's going. if you changed them all at once then that will be a problem.

ask the host about the tmp directory.

did you change the max size correctly?

Vaska A / 2013-05-29 02:34:07   

@delton: i'll be happy to take a look tomorrow. i'll need your ftp and indexhibit login to your site.

contact at indexhibit dot org

psisto / 2013-06-20 00:12:07   

Hello, I'm reviving the thread. I'm also having the same issue.
Error: Error Empty file upload result
Uploading photos is fine, but not working with video (mp4 h.264 at 10mbs)
I reuploaded all js files, refreshed my browser, changed the max size to 20000 (i upload a lot of video), permissions are all 777 and I tried with safari and firefox.
I also don't get any errors on firebug. Not sure what else to try.
I uploaded it to the Demo site and it works: two.indexhibit.org/me/video-test/

but not in my site, currently at pascualsisto.com/newsite/

Any ideas? Thanks, been a loyal user for over 5 years! My indexhibit credit is on the contact menu. The only thing I haven't done is check for the tmp folder but I never had issues uploading files before (I even upload GBs for archiving purposes)

arsondpi / 2013-06-20 06:40:58   

hmmm - your site is password protected. I can't even take a look...

psisto / 2013-06-20 09:18:30   

oops, all open now. Sorry about that.
You can't see the problem though. The videos currently posted are using the embed code from my previous website. It wont even let me finish the upload.
Here is a screenshot: gyazo.com/…

arsondpi / 2013-06-20 18:20:09   

Did you check things in Firebug while trying to upload? (trying to clarify this as you could be trying to check things in the actual site and not the backend)

psisto / 2013-06-20 23:05:42   

Yes, I have done all the points on the check list as mentioned above.
The only thing I haven't checked is the tmp folder but I never had issues uploading files to dreamhost before.

psisto / 2013-06-24 01:50:39   

If I download indexhibit again do I get the latest code? and if so, is the demo online the latest code? How can I get that one? I tried everything again (reinstalling all the files) and I still get the same error. While the demo works:
two.indexhibit.org/me/video-test/

no errors in firebug: gyazo.com/…

psisto / 2013-06-25 19:12:34   

I was I'll try again, since I haven't been able to fix the problem. I reinstalled everything again, check permissions, firebug and different browsers.. nothing.

"ask the host about the tmp directory"
What exactly do I ask the host about the tmp directory?

Thats the only thing I havent' checked. Thanks!

psisto / 2013-06-27 22:41:38   

Any help? am I doomed? I'm stuck with no website update. I guess I can always do youtube or vimeo... I was excited to still use the JW player.

Vaska A / 2013-06-28 15:39:56   

"Uploading photos is fine, but not working with video (mp4 h.264 at 10mbs)"

Probably a server time out - not something Indexhibit controls.

psisto / 2013-07-04 18:21:04   

Thank you for the reply Vaska, any suggestions as to what to do? I'm on dreamhost and I never had a problem uploading. I read that switching to non-fastCGI php fixes it but it hasn't. I also tried php 5.4.x CGI and fast CGI and nothing :(

I know this is outside of the indexhibit support, but if you have any other ideas, let me know. thanks.

psisto / 2013-07-10 20:03:10   

PROBLEM SOLVED

This is dreamhost's response:

You do have a max upload of 7MB. You can up this by putting up a custom PHP.INI file. We do have a wiki article that can help assist you:

wiki.dreamhost.com/…

You can create a file named phprc and up the directives to the following:

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 500
max_input_time = 500

This thread has been closed, thank you.