⚠ 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

When Uploading document error alert 1



imagekarthik
  • profile picture
  • Member

Posted 23 May 2013 - 10:59 AM

When am uploading 2MB files using File upload in this library i got alert message as "1" i cant upload the document

 

$config['grocery_crud_file_upload_max_file_size']             = '20MB';

 

How to fix this issues ?

 

Thanks


victor
  • profile picture
  • Member

Posted 23 May 2013 - 15:33 PM

there is a topic about your problem. try to find it.
you can use .htaccess to set the max size value.

victor
  • profile picture
  • Member

Posted 23 May 2013 - 15:34 PM

del

victor
  • profile picture
  • Member

Posted 23 May 2013 - 15:34 PM

del.

victor
  • profile picture
  • Member

Posted 23 May 2013 - 15:39 PM

del.

imagekarthik
  • profile picture
  • Member

Posted 24 May 2013 - 07:03 AM

Thanks for your reply..

 

I can't find your post and i have .htaccess in all the folder and inside "Deny All" code only having.

 

Please let me know How to set max value size using .htaccess

 

Thanks


Kobus
  • profile picture
  • Member

Posted 24 May 2013 - 08:22 AM

I got the same situation short while ago. I think I have found the post Victor is referring to: /topic/617-video-upload-problem/

 

Anyways - mine pops up with the message "7", which I found out meant that the directory is not writable. These error messages should get an overhaul in 1.4, me thinks ;-)

 

Regards,

 

Kobus


imagekarthik
  • profile picture
  • Member

Posted 24 May 2013 - 09:00 AM

Hi Kobus, Thanks

 

I checked that link which you given and i think add the php memory limt to .htaccess and i will check and let you know

 

Thanks


JpunkLy
  • profile picture
  • Member

Posted 26 September 2013 - 02:36 AM

there is a topic about your problem. try to find it.
you can use .htaccess to set the max size value.

Thank's a lot Sir....

 

I Use it....in My Httaccess...

php_value upload_max_filesize 10M

php_value post_max_size 10M

php_value max_execution_time 0

php_value max_input_time 0
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]