⚠ 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

upload file problem



eljotarojas
  • profile picture
  • Member

Posted 24 October 2012 - 21:56 PM

I got some troubles with an upload field, locally works just fine, problem is when I upload this into the server doesn’t work anymore. Curious thing, when I upload the file into the folder on the server when it reaches 90% occurs an error and get crashed, then I get to the folder and see the complete file, the file is there! as I uploaded it from my pc. I know there’s no problem with the permission nor the max file upload size of php.ini.

Am using grocery 1.3 and codeigniter 2.1.2

Firebug show this

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message: ob_end_clean() [<a href='ref.outcontrol'>ref.outcontrol</a>]:
failed to delete buffer zlib output compression</p>
<p>Filename: libraries/grocery_crud.php</p>
<p>Line Number: 1755</p>

</div>{"success":true,"files":[{"name":"18752-HPIM6044.JPG","size":340479,"type":"image\/jpeg",
"url":"http:\/\/www.agroaguaviva.com\/assets\/uploads\/files\/productos\/18752-HPIM6044.JPG"}]}

Thanks for your help.

chaohuiliang@gmail.com
  • profile picture
  • Member

Posted 11 November 2012 - 01:56 AM

any solution, is it fixed?