Author Topic: There was an error uploading this file to the server  (Read 12335 times)

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
There was an error uploading this file to the server
« on: October 28, 2009, 03:02:44 am »


The error message occurs because allowed file upload size is 2MB or less, to fix this in php.ini find 'upload_max_filesize' increase the assigned file size value to 32M or higher, you might need to contact your host and requested them to change this.

Quote
; Maximum allowed size for uploaded files.
upload_max_filesize = 32M

If you are on shared hosting and your host is unwilling to increase the file upload size or for any reason you have no access to php.ini you could try increasing the file upload size via .htaccess file of your website's root, add the following entry into .htaccess file.

Quote
# increase up upload limit for files
php_value upload_max_filesize 32M