⚠ 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

video upload problem in grocery crud 1.3.3



ganbca2003

ganbca2003
  • profile picture
  • Member

Posted 15 February 2013 - 09:41 AM

I facing the problem in grocery crud while uploading a video file. During upload process it's shows process image after finished that it's shows blank and video file doesn't upload. I already set 777 permission to my upload folder and I try to upload mp4, flv, 3gp file formats.

Here is my PHP code

function test_video(){
  $crud=new grocery_CRUD();
  $crud->set_table('test');
  $crud->set_subject('Test Video');
  $crud->set_field_upload('url', 'assets/uploads');

  $output=$crud->render();
  $this->_crud_output($output);
}

My DB structure is

 

TITLE varchar(50), URL  text

 

And I already gave 777 permission to uploads folder.

 

Thanx


ganbca2003

ganbca2003
  • profile picture
  • Member

Posted 16 February 2013 - 05:38 AM

Please some one reply soon....


victor

victor
  • profile picture
  • Member

Posted 16 February 2013 - 20:34 PM

What error do you get? Have look at the firebug, You can see your mistakes

0zz1s

0zz1s
  • profile picture
  • Member

Posted 18 February 2013 - 01:32 AM

I have the same problem too. it didn't show an error, after choose the file, it shows upload progress bar and then disappear. Is this a bug or is there any library that must be load or function that i missed?

Thanks.


ganbca2003

ganbca2003
  • profile picture
  • Member

Posted 18 February 2013 - 09:07 AM

After upload process finished there is no response. I checked fire bugs also but it didn't shows any errors

 

Thanx...


0zz1s

0zz1s
  • profile picture
  • Member

Posted 18 February 2013 - 16:19 PM

Found the solution! This is worked for me :)
Try to make a .htaccess file in your root, then paste this code below :


 
php_value upload_max_filesize 200M
php_value post_max_size 200M

Hope this helps :) Thanks.

victor

victor
  • profile picture
  • Member

Posted 18 February 2013 - 16:39 PM

php_value upload_max_filesize 500M
php_value post_max_size 500M
php_value max_execution_time 100000
php_value max_input_time 100000


ganbca2003

ganbca2003
  • profile picture
  • Member

Posted 19 February 2013 - 09:06 AM

Yeah it's working for me.

 

Thanx victor and 0zzi Suria... :)  :)  :)