⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Just a heads up for uploading



xxaxxo
  • profile picture
  • Member

Posted 30 March 2012 - 08:38 AM

When you try to upload larger file then permitted by your php.ini - you sometimes get no error (just the file doesn't upload and you dont see the name after the input) , and sometimes you get alert saying "1". Wasted a couple of hours before I understood what was the problem. Maybe this thread will save someone else some time.

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 30 March 2012 - 21:15 PM

Thanks to share it. It was one guy (I don't remember who) that have a similar problem and he had the same issue but I really couldn't understand what the "1" means. It was like {result:error, message: 1} . This little things can make you insane and we didn't solve this problem. So thanks to share it. At least you helped me to understand where the problem is , so if someone have a similar problem to know the solution.

Thanks.

goFrendiAsgard
  • profile picture
  • Member

Posted 20 January 2013 - 15:41 PM

Sorry, I know this is a very old topic. But I have a similar problem before (with different library)
Can you make sure that "upload_max_filesize" setting is correctly set
Maybe this one can help:
http://stackoverflow.com/a/727759/755319

tlc033
  • profile picture
  • Member

Posted 15 February 2013 - 13:34 PM

I has the same error 1 after upload,  THIS http://stackoverflow.com/questions/727736/php-maximum-total-upload-size/727759#727759 was solution for me.