⚠ In case you've missed it we are migrating 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 forum is read-only and soon will be archived. ⚠


When Uploading document error alert 1

file upload upload

  • Please log in to reply
5 replies to this topic

#1 imagekarthik

imagekarthik

    Newbie

  • Members
  • Pip
  • 4 posts

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



#2 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts

Posted 23 May 2013 - 03:33 PM

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

#3 imagekarthik

imagekarthik

    Newbie

  • Members
  • Pip
  • 4 posts

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



#4 Kobus

Kobus

    Advanced Member

  • Members
  • PipPipPip
  • 74 posts

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: http://www.grocerycr...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



#5 imagekarthik

imagekarthik

    Newbie

  • Members
  • Pip
  • 4 posts

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



#6 JpunkLy

JpunkLy

    Member

  • Members
  • PipPip
  • 15 posts

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]






Also tagged with one or more of these keywords: file upload, upload

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users