UnixServerAdmin

Server Administration & Management

Joomla “Not a valid image” issue

While uploading images we are receiving “Not a valid image” error message. To resolve error message refer following steps.

1. First login into Joomla admin section and check box following option. Global Config –> System

– restrict uploads = No
– check mime types = No

2. Second edit configuration.php file and change.

# vi configuration.php

From
var $ftp_enable = ’1′;

To
var $ftp_enable = ’0′;

3. Comment following line in php.ini file if you are using customize php.ini file (mostly used on SuExec server).

# vi /etc/php.ini

;upload_tmp_dir = tmp

4. And now try to upload the image.

November 22, 2011 - Posted by | Joomla |

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: