Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,i am new to joomla.i am adding virtue mart componet to joomla.I am getting an error.There was an error uploading the file to server
Posted
Comments
m0rTu 21-Mar-12 10:59am    
you can search before asking...

2.2.7.1.2.
The Joomla! 1.5 installer fails to install VirtueMart with the error message "There was an error uploading this file to the server.". What's the problem?

The most common reason for this problem is that the File you have uploaded is too big. The File Size Upload Limit on your Server is set too low to allow larger files to be uploaded. By default PHP allows files up to 2 MB, but this limit needs to be set to 4 MB in order to upload the VirtueMart Component Install File.

If you have access to the php.ini, then change the directive upload_max_filesize to "4M" and reload the server configuration.

If you are running PHP in CGI mode on Apache, you can place an .htaccess file in your Joomla! root directory and place the following code inside:

php_value upload_max_filesize 4M
wizardzz 21-Mar-12 17:43pm    
I would put this as an answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900